Class InsertTextIDDialog

  • All Implemented Interfaces:
    java.util.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

      Constructors 
      ConstructorDescription
      InsertTextIDDialog​(org.eclipse.swt.widgets.Shell parent, ModuleModel model, java.lang.String[] dialogData)
      Create the dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidmodifyText​(org.eclipse.swt.events.ModifyEvent e)
      Changes in reference.
      intopen()
      Open the dialog.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InsertTextIDDialog

        public InsertTextIDDialog​(org.eclipse.swt.widgets.Shell parent,
                                  ModuleModel model,
                                  java.lang.String[] dialogData)
        Create the dialog.
        Parameters:
        parent - The parent shell.
        dialogData - Dialog data [1], where [0]='textIDReference'.
    • Method Detail

      • 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 interface org.eclipse.swt.events.ModifyListener