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 java.lang.Object implements AsyncClientTask 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Collection<java.lang.String>keysprotected java.util.List<java.util.Locale>localesprotected TranslationPackagepkg
 - 
Constructor SummaryConstructors Constructor Description AbstractExportTask(java.util.List<java.util.Locale> locales, java.util.Collection<java.lang.String> keys, TranslationPackage pkg)
 - 
Method SummaryAll 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()booleanvalidateExport()This gives the task a chance to check things and ask questions, like "overwrite?".- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.client.util.gui.progress.AsyncClientTaskrun
 
- 
 
- 
- 
- 
Field Detail- 
keysprotected java.util.Collection<java.lang.String> keys 
 - 
pkgprotected TranslationPackage pkg 
 - 
localesprotected java.util.List<java.util.Locale> locales 
 
- 
 - 
Constructor Detail- 
AbstractExportTaskpublic AbstractExportTask(java.util.List<java.util.Locale> locales, java.util.Collection<java.lang.String> keys, TranslationPackage pkg)
 
- 
 - 
Method Detail- 
validateExportpublic boolean validateExport() This gives the task a chance to check things and ask questions, like "overwrite?". If false is returned, export will be canceled.
 - 
getTaskTitlepublic java.lang.String getTaskTitle() Description copied from interface:AsyncClientTaskA helpful title describing the operation for the user.- Specified by:
- getTaskTitlein interface- AsyncClientTask
 
 - 
canCancelpublic boolean canCancel() Description copied from interface:AsyncClientTaskWhether or not the user is allowed to cancel the operation.- Specified by:
- canCancelin interface- AsyncClientTask
 
 - 
onCompleteprotected void onComplete() 
 
- 
 
-