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 SummaryConstructorsConstructorDescription- ExternalizeTextsDialog- (Shell parent, EditorTextTable textTable, List<DesignerProp> list, IPropUndoRedo undoRedo) Create the dialog.
- Method SummaryModifier and TypeMethodDescription- static boolean- canExternalizeTexts- (List<DesignerProp> list) Verifies if the externalize text operation produces something.- voidCheck state changed.- void- doubleClick- (DoubleClickEvent event) Double-clicked: toggle entire subtree state.- void- open()Open the dialog.
- Constructor Details- ExternalizeTextsDialogpublic 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- openpublic void open()Open the dialog.
- doubleClickDouble-clicked: toggle entire subtree state.- Specified by:
- doubleClickin interface- IDoubleClickListener
 
- checkStateChangedCheck state changed.- Specified by:
- checkStateChangedin interface- ICheckStateListener
 
- canExternalizeTextsVerifies if the externalize text operation produces something.- Returns:
- true if valid, false otherwise.