Package com.iizigo.editor
Class RenameDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.editor.RenameDialog
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.internal.SWTEventListener
public class RenameDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.swt.events.ModifyListener
Rename dialog box.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionRenameDialog
(org.eclipse.swt.widgets.Shell parent, DesignerProp dp, org.eclipse.core.commands.operations.IUndoContext undoContext) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
modifyText
(org.eclipse.swt.events.ModifyEvent e) Changes in new name.void
open()
Open the dialog.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
Constructor Details
RenameDialog
public RenameDialog(org.eclipse.swt.widgets.Shell parent, DesignerProp dp, org.eclipse.core.commands.operations.IUndoContext undoContext) Create the dialog.- Parameters:
parent
-
Method Details
open
public void open()Open the dialog.modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e) Changes in new name.- Specified by:
modifyText
in interfaceorg.eclipse.swt.events.ModifyListener
- Parameters:
e
-