Class HeaderRenameDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.eclipse.nebula.widgets.nattable.style.editor.AbstractStyleEditorDialog
org.eclipse.nebula.widgets.nattable.ui.rename.HeaderRenameDialog
Dialog to support renaming of header cells, e.g. the column header or
grouping headers.
- Since:
- 1.6
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHeaderRenameDialog(org.eclipse.swt.widgets.Shell parent, String originalLabel, String renamedLabel, HeaderRenameDialog.RenameDialogLabels dialogLabels) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoFormClear(org.eclipse.swt.widgets.Shell shell) protected voiddoFormOK(org.eclipse.swt.widgets.Shell shell) Respond to the OK button press.protected voidinitComponents(org.eclipse.swt.widgets.Shell shell) Create all widgets to be displayed in the editor.Methods inherited from class org.eclipse.nebula.widgets.nattable.style.editor.AbstractStyleEditorDialog
createButtons, doFormCancel, isCancelPressed, open, setLocationMethods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
HeaderRenameDialog
public HeaderRenameDialog(org.eclipse.swt.widgets.Shell parent, String originalLabel, String renamedLabel, HeaderRenameDialog.RenameDialogLabels dialogLabels)
-
-
Method Details
-
initComponents
protected void initComponents(org.eclipse.swt.widgets.Shell shell) Description copied from class:AbstractStyleEditorDialogCreate all widgets to be displayed in the editor.- Specified by:
initComponentsin classAbstractStyleEditorDialog- Parameters:
shell- the parent shell
-
doFormOK
protected void doFormOK(org.eclipse.swt.widgets.Shell shell) Description copied from class:AbstractStyleEditorDialogRespond to the OK button press. Read new state from the form.- Specified by:
doFormOKin classAbstractStyleEditorDialog- Parameters:
shell- the parent shell
-
doFormClear
protected void doFormClear(org.eclipse.swt.widgets.Shell shell) - Overrides:
doFormClearin classAbstractStyleEditorDialog
-
getNewLabel
-