Package org.eclipse.gef.fx.jface
Class FXPaintCellEditor
java.lang.Object
org.eclipse.jface.viewers.CellEditor
org.eclipse.jface.viewers.DialogCellEditor
org.eclipse.gef.fx.jface.FXPaintCellEditor
The
FXPaintCellEditor is a DialogCellEditor that is capable
of displaying a currently selected Color and of changing that color
via a dialog.-
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.DialogCellEditor
CELL_EDITOR_IMG_DOTS_BUTTONFields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO -
Constructor Summary
ConstructorsConstructorDescriptionFXPaintCellEditor(Composite parent) Constructs a newFXPaintCellEditor.FXPaintCellEditor(Composite parent, int style) Constructs a newFXPaintCellEditor. -
Method Summary
Modifier and TypeMethodDescriptionprotected ImageDatacreatePaintImage(Control w, javafx.scene.paint.Paint paint) Creates anImageDatafilled with the givenPaint.voiddispose()protected voiddoSetValue(Object value) protected ObjectopenDialogBox(Control cellEditorWindow) protected voidupdateContents(Object value) Methods inherited from class org.eclipse.jface.viewers.DialogCellEditor
createButton, createContents, createControl, deactivate, doGetValue, doSetFocus, getDefaultLabelMethods inherited from class org.eclipse.jface.viewers.CellEditor
activate, activate, addListener, addPropertyChangeListener, create, deactivate, dependsOnExternalFocusListener, 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
-
FXPaintCellEditor
Constructs a newFXPaintCellEditor.- Parameters:
parent- The parentComposite.
-
FXPaintCellEditor
Constructs a newFXPaintCellEditor.- Parameters:
parent- The parentComposite.style- The SWT style for this control.
-
-
Method Details
-
createPaintImage
-
dispose
public void dispose()- Overrides:
disposein classCellEditor
-
doSetValue
- Overrides:
doSetValuein classDialogCellEditor
-
openDialogBox
- Specified by:
openDialogBoxin classDialogCellEditor
-
updateContents
- Overrides:
updateContentsin classDialogCellEditor
-