Class StringTableCellEditor
java.lang.Object
org.eclipse.jface.viewers.CellEditor
org.csstudio.opibuilder.visualparts.AbstractDialogCellEditor
org.csstudio.opibuilder.visualparts.StringTableCellEditor
The cellEditor for macros property descriptor.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor
CellEditor.LayoutData -
Field Summary
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO -
Constructor Summary
ConstructorsConstructorDescriptionStringTableCellEditor(Composite parent, String title, StringTableProperty.TitlesProvider columnTitles, StringTableEditor.CellEditorType[] cellEditorTypes, Object[] cellEditorDatas) -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected voiddoSetValue(Object value) protected voidopenDialog(Shell parentShell, String dialogTitle) Creates and opens the Dialog.protected booleanReturns, if CellEditor.fireApplyEditorValue() should be called.Methods inherited from class org.csstudio.opibuilder.visualparts.AbstractDialogCellEditor
activate, createControl, doSetFocusMethods inherited from class org.eclipse.jface.viewers.CellEditor
activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
-
Constructor Details
-
StringTableCellEditor
public StringTableCellEditor(Composite parent, String title, StringTableProperty.TitlesProvider columnTitles, StringTableEditor.CellEditorType[] cellEditorTypes, Object[] cellEditorDatas)
-
-
Method Details
-
openDialog
Description copied from class:AbstractDialogCellEditorCreates and opens the Dialog.- Specified by:
openDialogin classAbstractDialogCellEditor- Parameters:
parentShell- The parent shell for the dialogdialogTitle- The title for the dialog
-
shouldFireChanges
protected boolean shouldFireChanges()Description copied from class:AbstractDialogCellEditorReturns, if CellEditor.fireApplyEditorValue() should be called.- Specified by:
shouldFireChangesin classAbstractDialogCellEditor- Returns:
- true if CellEditor.fireApplyEditorValue() should be called, false otherwise
-
doGetValue
- Specified by:
doGetValuein classCellEditor
-
doSetValue
- Specified by:
doSetValuein classCellEditor
-