public class FXPaintCellEditor
extends org.eclipse.jface.viewers.DialogCellEditor
FXPaintCellEditor is a DialogCellEditor that is capable
of displaying a currently selected Color and of changing that color
via a dialog.| Constructor and Description |
|---|
FXPaintCellEditor(org.eclipse.swt.widgets.Composite parent)
Constructs a new
FXPaintCellEditor. |
FXPaintCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
Constructs a new
FXPaintCellEditor. |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.graphics.ImageData |
createPaintImage(org.eclipse.swt.widgets.Control w,
javafx.scene.paint.Paint paint)
Creates an
ImageData filled with the given Paint. |
void |
dispose() |
protected void |
doSetValue(java.lang.Object value) |
protected java.lang.Object |
openDialogBox(org.eclipse.swt.widgets.Control cellEditorWindow) |
protected void |
updateContents(java.lang.Object value) |
createButton, createContents, createControl, deactivate, doGetValue, doSetFocus, getDefaultLabelactivate, 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, valueChangedpublic FXPaintCellEditor(org.eclipse.swt.widgets.Composite parent)
FXPaintCellEditor.parent - The parent Composite.public FXPaintCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
FXPaintCellEditor.parent - The parent Composite.style - The SWT style for this control.protected org.eclipse.swt.graphics.ImageData createPaintImage(org.eclipse.swt.widgets.Control w,
javafx.scene.paint.Paint paint)
ImageData filled with the given Paint. The
size of the ImageData is computed so that the cell (in the
property sheet table) is fully filled.w - The property sheet control.paint - The Paint to use for filling the ImageData.ImageData.public void dispose()
dispose in class org.eclipse.jface.viewers.CellEditorprotected void doSetValue(java.lang.Object value)
doSetValue in class org.eclipse.jface.viewers.DialogCellEditorprotected java.lang.Object openDialogBox(org.eclipse.swt.widgets.Control cellEditorWindow)
openDialogBox in class org.eclipse.jface.viewers.DialogCellEditorprotected void updateContents(java.lang.Object value)
updateContents in class org.eclipse.jface.viewers.DialogCellEditorCopyright (c) 2014, 2016 itemis AG and others. All rights reserved.