Class NewMethodDialog

java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.NewMethodDialog
All Implemented Interfaces:
EventListener, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.internal.SWTEventListener

public class NewMethodDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.swt.events.ModifyListener
New method name dialog box, checking name validity and that method name is not already taken.
Author:
Christopher Mindus
  • Constructor Details

    • NewMethodDialog

      public NewMethodDialog(org.eclipse.swt.widgets.Shell parent, JavaClass javaClass, String method, AnnotationType annotation)
      Create the dialog.
  • Method Details

    • open

      public String open()
      Open the dialog.
      Returns:
      The method name, or null for cancel.
    • modifyText

      public void modifyText(org.eclipse.swt.events.ModifyEvent e)
      Changes in new name.
      Specified by:
      modifyText in interface org.eclipse.swt.events.ModifyListener
      Parameters:
      e -