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
-
public class HeaderRenameDialog extends AbstractStyleEditorDialog
Dialog to support renaming of header cells, e.g. the column header or grouping headers.- Since:
- 1.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderRenameDialog.RenameDialogLabels
-
Constructor Summary
Constructors Constructor Description HeaderRenameDialog(org.eclipse.swt.widgets.Shell parent, String originalLabel, String renamedLabel, HeaderRenameDialog.RenameDialogLabels dialogLabels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doFormClear(org.eclipse.swt.widgets.Shell shell)
protected void
doFormOK(org.eclipse.swt.widgets.Shell shell)
Respond to the OK button press.String
getNewLabel()
protected void
initComponents(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, setLocation
-
-
-
-
Constructor Detail
-
HeaderRenameDialog
public HeaderRenameDialog(org.eclipse.swt.widgets.Shell parent, String originalLabel, String renamedLabel, HeaderRenameDialog.RenameDialogLabels dialogLabels)
-
-
Method Detail
-
initComponents
protected void initComponents(org.eclipse.swt.widgets.Shell shell)
Description copied from class:AbstractStyleEditorDialog
Create all widgets to be displayed in the editor.- Specified by:
initComponents
in classAbstractStyleEditorDialog
- Parameters:
shell
- the parent shell
-
doFormOK
protected void doFormOK(org.eclipse.swt.widgets.Shell shell)
Description copied from class:AbstractStyleEditorDialog
Respond to the OK button press. Read new state from the form.- Specified by:
doFormOK
in classAbstractStyleEditorDialog
- Parameters:
shell
- the parent shell
-
doFormClear
protected void doFormClear(org.eclipse.swt.widgets.Shell shell)
- Overrides:
doFormClear
in classAbstractStyleEditorDialog
-
getNewLabel
public String getNewLabel()
-
-