Class TagTransferHandler.TagPasteTask
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.tags.tree.TagTransferHandler.TagPasteTask
-
- All Implemented Interfaces:
AsyncClientTask
- Enclosing class:
- TagTransferHandler
public static class TagTransferHandler.TagPasteTask extends java.lang.Object implements AsyncClientTask
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canCancel()
Whether or not the user is allowed to cancel the operation.java.lang.String
getTaskTitle()
A helpful title describing the operation for the user.void
run(TaskProgressListener progressListener)
The "work" function.
-
-
-
Method Detail
-
getTaskTitle
public java.lang.String getTaskTitle()
Description copied from interface:AsyncClientTask
A helpful title describing the operation for the user.- Specified by:
getTaskTitle
in interfaceAsyncClientTask
-
canCancel
public boolean canCancel()
Description copied from interface:AsyncClientTask
Whether or not the user is allowed to cancel the operation.- Specified by:
canCancel
in interfaceAsyncClientTask
-
run
public void run(TaskProgressListener progressListener) throws java.lang.Exception
Description copied from interface:AsyncClientTask
The "work" function. Should update the progressListener of status, and check whether the operation has been canceled, if applicable. Should throw an exception on failure.- Specified by:
run
in interfaceAsyncClientTask
- Throws:
java.lang.Exception
-
-