protected abstract static class TreeDnDHandler.AbstractOPCImportTask extends java.lang.Object implements AsyncClientTask
Modifier and Type | Field and Description |
---|---|
protected TaskProgressListener |
progListener |
Constructor and Description |
---|
AbstractOPCImportTask(DesignerContext context,
TagPath folderPath,
java.util.List<OPCTreeNode> nodes) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTagsToManager(TagPath parentFolder,
java.util.List<TagNode> tags) |
boolean |
canCancel()
Whether or not the user is allowed to cancel the operation.
|
protected boolean |
canManagerAccept() |
java.lang.String |
getTaskTitle()
A helpful title describing the operation for the user.
|
protected abstract void |
processNewTags(java.util.List<TagNode> tags) |
void |
run(TaskProgressListener listener)
The "work" function.
|
protected TaskProgressListener progListener
public AbstractOPCImportTask(DesignerContext context, TagPath folderPath, java.util.List<OPCTreeNode> nodes)
public java.lang.String getTaskTitle()
AsyncClientTask
getTaskTitle
in interface AsyncClientTask
public boolean canCancel()
AsyncClientTask
canCancel
in interface AsyncClientTask
public void run(TaskProgressListener listener) throws java.lang.Exception
AsyncClientTask
run
in interface AsyncClientTask
java.lang.Exception
protected abstract void processNewTags(java.util.List<TagNode> tags) throws java.lang.Exception
java.lang.Exception
protected boolean canManagerAccept()