Class AbstractStyleEditorDialog

java.lang.Object
org.eclipse.swt.widgets.Dialog
org.eclipse.nebula.widgets.nattable.style.editor.AbstractStyleEditorDialog
Direct Known Subclasses:
ColumnRenameDialog, ColumnStyleEditorDialog, HeaderRenameDialog

public abstract class AbstractStyleEditorDialog extends org.eclipse.swt.widgets.Dialog
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractStyleEditorDialog(org.eclipse.swt.widgets.Shell parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    createButtons(org.eclipse.swt.widgets.Shell shell)
    Create OK, Reset and Cancel buttons
    protected void
    doFormCancel(org.eclipse.swt.widgets.Shell shell)
     
    protected void
    doFormClear(org.eclipse.swt.widgets.Shell shell)
     
    protected abstract void
    doFormOK(org.eclipse.swt.widgets.Shell shell)
    Respond to the OK button press.
    protected abstract void
    initComponents(org.eclipse.swt.widgets.Shell shell)
    Create all widgets to be displayed in the editor.
    boolean
     
    void
    Initialize and display the SWT shell.
    void
    setLocation(org.eclipse.swt.graphics.Point location)
     

    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 Details

    • AbstractStyleEditorDialog

      public AbstractStyleEditorDialog(org.eclipse.swt.widgets.Shell parent)
  • Method Details

    • setLocation

      public void setLocation(org.eclipse.swt.graphics.Point location)
    • initComponents

      protected abstract void initComponents(org.eclipse.swt.widgets.Shell shell)
      Create all widgets to be displayed in the editor.
      Parameters:
      shell - the parent shell
    • open

      public void open()
      Initialize and display the SWT shell. This is a blocking call.
    • createButtons

      protected void createButtons(org.eclipse.swt.widgets.Shell shell)
      Create OK, Reset and Cancel buttons
      Parameters:
      shell - the parent shell
    • doFormOK

      protected abstract void doFormOK(org.eclipse.swt.widgets.Shell shell)
      Respond to the OK button press. Read new state from the form.
      Parameters:
      shell - the parent shell
    • doFormCancel

      protected void doFormCancel(org.eclipse.swt.widgets.Shell shell)
    • doFormClear

      protected void doFormClear(org.eclipse.swt.widgets.Shell shell)
    • isCancelPressed

      public boolean isCancelPressed()