Class HierarchialTranslationTable.AbstractExportTask
java.lang.Object
com.inductiveautomation.ignition.designer.i18n.workspace.HierarchialTranslationTable.AbstractExportTask
- All Implemented Interfaces:
AsyncClientTask
- Direct Known Subclasses:
HierarchialTranslationTable.PropBasedExportTask
- Enclosing class:
- HierarchialTranslationTable
protected abstract static class HierarchialTranslationTable.AbstractExportTask
extends Object
implements AsyncClientTask
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractExportTask
(List<Locale> locales, Collection<String> keys, TranslationPackage pkg) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether or not the user is allowed to cancel the operation.A helpful title describing the operation for the user.protected void
boolean
This gives the task a chance to check things and ask questions, like "overwrite?".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 Details
-
keys
-
pkg
-
locales
-
-
Constructor Details
-
AbstractExportTask
-
-
Method Details
-
validateExport
public boolean validateExport()This gives the task a chance to check things and ask questions, like "overwrite?". If false is returned, export will be canceled. -
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
-
onComplete
protected void onComplete()
-