Package com.iizigo.prop.editor.dialog
Class InsertTextIDDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.InsertTextIDDialog
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.internal.SWTEventListener
public class InsertTextIDDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.swt.events.ModifyListener
Dialog box to insert or edit a text ID tag of a KString.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionInsertTextIDDialog
(org.eclipse.swt.widgets.Shell parent, ModuleModel model, String[] dialogData) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
modifyText
(org.eclipse.swt.events.ModifyEvent e) Changes in reference.int
open()
Open the dialog.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
Constructor Details
InsertTextIDDialog
public InsertTextIDDialog(org.eclipse.swt.widgets.Shell parent, ModuleModel model, String[] dialogData) Create the dialog.- Parameters:
parent
- The parent shell.dialogData
- Dialog data [1], where [0]='textIDReference'.
Method Details
open
public int open()Open the dialog.- Returns:
- the gradient.
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e) Changes in reference.- Specified by:
modifyText
in interfaceorg.eclipse.swt.events.ModifyListener