Package com.iizigo.text
Class ExternalizeTextsDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.text.ExternalizeTextsDialog
- All Implemented Interfaces:
ICheckStateListener,IDoubleClickListener
public class ExternalizeTextsDialog extends Dialog implements IDoubleClickListener, ICheckStateListener
Dialog used for text table externalize strings for KStringProp's and TooltipProp's.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionExternalizeTextsDialog(Shell parent, EditorTextTable textTable, List<DesignerProp> list, IPropUndoRedo undoRedo) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionstatic booleancanExternalizeTexts(List<DesignerProp> list) Verifies if the externalize text operation produces something.voidCheck state changed.voiddoubleClick(DoubleClickEvent event) Double-clicked: toggle entire subtree state.voidopen()Open the dialog.
Constructor Details
ExternalizeTextsDialog
public ExternalizeTextsDialog(Shell parent, EditorTextTable textTable, List<DesignerProp> list, IPropUndoRedo undoRedo) Create the dialog.- Parameters:
parent- The parent shell.textTable- Text table for externalized texts.
Method Details
open
public void open()Open the dialog.doubleClick
Double-clicked: toggle entire subtree state.- Specified by:
doubleClickin interfaceIDoubleClickListener
checkStateChanged
Check state changed.- Specified by:
checkStateChangedin interfaceICheckStateListener
canExternalizeTexts
Verifies if the externalize text operation produces something.- Returns:
- true if valid, false otherwise.