Class AbstractDialogKeyVerifyJavaNames

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
All Implemented Interfaces:
EventListener, StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.custom.VerifyKeyListener, org.eclipse.swt.events.VerifyListener, org.eclipse.swt.internal.SWTEventListener, org.eclipse.swt.widgets.Listener
Direct Known Subclasses:
AddExternalResourceDependencyDialog, AddIndexDialog, AddParameterDialog, AddTypeDialog

public abstract class AbstractDialogKeyVerifyJavaNames extends AbstractDialogKeyVerify implements org.eclipse.swt.custom.VerifyKeyListener, org.eclipse.swt.events.VerifyListener
The Class AbstractDialogKeyVerifyJavaNames.
  • Constructor Details

    • AbstractDialogKeyVerifyJavaNames

      protected AbstractDialogKeyVerifyJavaNames(AbstractSection aSection, String title, String description)
      Instantiates a new abstract dialog key verify java names.
      Parameters:
      aSection - the a section
      title - the title
      description - the description
  • Method Details

    • newSingleLineStyledText

      protected org.eclipse.swt.custom.StyledText newSingleLineStyledText(org.eclipse.swt.widgets.Composite parent, String tip)
      Description copied from class: AbstractDialogKeyVerify
      New single line styled text.
      Overrides:
      newSingleLineStyledText in class AbstractDialogKeyVerify
      Parameters:
      parent - the parent
      tip - the tip
      Returns:
      the styled text
    • verifyKeyChecks

      public boolean verifyKeyChecks(org.eclipse.swt.events.VerifyEvent event)
      Java name space names verify key checks for java identifier and periods.
      Overrides:
      verifyKeyChecks in class AbstractDialogKeyVerify
      Parameters:
      event - the event
      Returns:
      true, if successful
    • verifyText

      public void verifyText(org.eclipse.swt.events.VerifyEvent event)
      Verify text.
      • event.start - the replace start offset
      • event.end - the replace end offset
      • event.text - the new text
      Specified by:
      verifyText in interface org.eclipse.swt.events.VerifyListener
      Parameters:
      event - the text change event.