org.eclipse.nebula.widgets.nattable.style.editor
Class AbstractStyleEditorDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.eclipse.nebula.widgets.nattable.style.editor.AbstractStyleEditorDialog
- Direct Known Subclasses:
- ColumnRenameDialog, ColumnStyleEditorDialog
public abstract class AbstractStyleEditorDialog
- extends org.eclipse.swt.widgets.Dialog
|
Method Summary |
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 |
isCancelPressed()
|
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStyleEditorDialog
public AbstractStyleEditorDialog(org.eclipse.swt.widgets.Shell parent)
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
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
doFormOK
protected abstract void doFormOK(org.eclipse.swt.widgets.Shell shell)
- Respond to the OK button press. Read new state from the form.
doFormCancel
protected void doFormCancel(org.eclipse.swt.widgets.Shell shell)
doFormClear
protected void doFormClear(org.eclipse.swt.widgets.Shell shell)
isCancelPressed
public boolean isCancelPressed()
Copyright © 2015. All rights reserved.