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
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
createButtons(org.eclipse.swt.widgets.Shell shell)
Create OK, Reset and Cancel buttonsprotected 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
isCancelPressed()
void
open()
Initialize and display the SWT shell.void
setLocation(org.eclipse.swt.graphics.Point location)
-
-
-
Method Detail
-
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()
-
-