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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
void
open()
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
-
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()
-