Class FilePathCellEditor
java.lang.Object
org.eclipse.jface.viewers.CellEditor
org.csstudio.opibuilder.visualparts.AbstractDialogCellEditor
org.csstudio.opibuilder.visualparts.FilePathCellEditor
-
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
ConstructorsConstructorDescriptionFilePathCellEditor(Composite parent, AbstractWidgetModel widgetModel, String[] fileExtensions) Creates a new string cell editor parented under the given control. -
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
-
FilePathCellEditor
public FilePathCellEditor(Composite parent, AbstractWidgetModel widgetModel, String[] fileExtensions) Creates a new string cell editor parented under the given control. The cell editor value is a PointList.- Parameters:
parent- The parent table.widgetModel- the reference path which doesn't include the file name.fileExtensions- The accepted file extensions
-
-
Method Details
-
doGetValue
- Specified by:
doGetValuein classCellEditor
-
doSetValue
- Specified by:
doSetValuein classCellEditor
-
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
-