Class HierarchialTranslationTable.AbstractImportTask
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.AbstractImportTask
-
- All Implemented Interfaces:
AsyncClientTask
- Direct Known Subclasses:
HierarchialTranslationTable.PropBasedImportTask
- Enclosing class:
- HierarchialTranslationTable
protected abstract static class HierarchialTranslationTable.AbstractImportTask extends java.lang.Object implements AsyncClientTask
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHierarchialTranslationTable.AbstractImportTask.OnCompleteCallback
-
Field Summary
Fields Modifier and Type Field Description protected HierarchialTranslationTable.AbstractImportTask.OnCompleteCallbackcallbackprotected java.io.Filefile
-
Constructor Summary
Constructors Constructor Description AbstractImportTask(java.io.File file, HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanCancel()Whether or not the user is allowed to cancel the operation.java.lang.StringgetTaskTitle()A helpful title describing the operation for the user.protected voidonComplete(TranslationPackage pkg)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.client.util.gui.progress.AsyncClientTask
run
-
-
-
-
Field Detail
-
file
protected java.io.File file
-
callback
protected HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback
-
-
Constructor Detail
-
AbstractImportTask
public AbstractImportTask(java.io.File file, HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback)
-
-
Method Detail
-
getTaskTitle
public java.lang.String getTaskTitle()
Description copied from interface:AsyncClientTaskA helpful title describing the operation for the user.- Specified by:
getTaskTitlein interfaceAsyncClientTask
-
canCancel
public boolean canCancel()
Description copied from interface:AsyncClientTaskWhether or not the user is allowed to cancel the operation.- Specified by:
canCancelin interfaceAsyncClientTask
-
onComplete
protected void onComplete(TranslationPackage pkg)
-
-