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 SummaryNested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditorCellEditor.LayoutData
- 
Field SummaryFields inherited from class org.eclipse.jface.viewers.DialogCellEditorCELL_EDITOR_IMG_DOTS_BUTTONFields inherited from class org.eclipse.jface.viewers.CellEditorCOPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
- 
Constructor SummaryConstructorsConstructorDescriptionFXPaintCellEditor(Composite parent) Constructs a newFXPaintCellEditor.FXPaintCellEditor(Composite parent, int style) Constructs a newFXPaintCellEditor.
- 
Method SummaryModifier 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.DialogCellEditorcreateButton, createContents, createControl, deactivate, doGetValue, doSetFocus, getDefaultLabelMethods inherited from class org.eclipse.jface.viewers.CellEditoractivate, 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- 
FXPaintCellEditorConstructs a newFXPaintCellEditor.- Parameters:
- parent- The parent- Composite.
 
- 
FXPaintCellEditorConstructs a newFXPaintCellEditor.- Parameters:
- parent- The parent- Composite.
- style- The SWT style for this control.
 
 
- 
- 
Method Details- 
createPaintImage
- 
disposepublic void dispose()- Overrides:
- disposein class- CellEditor
 
- 
doSetValue- Overrides:
- doSetValuein class- DialogCellEditor
 
- 
openDialogBox- Specified by:
- openDialogBoxin class- DialogCellEditor
 
- 
updateContents- Overrides:
- updateContentsin class- DialogCellEditor
 
 
-