Class EMFColorEditingSupport<T>
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport<T,org.eclipse.swt.graphics.RGB>
com.amalgamasimulation.desktop.binding.editingsupports.ColorEditingSupport<T>
com.amalgamasimulation.desktop.binding.editingsupports.EMFColorEditingSupport<T>
- Type Parameters:
T- type of row value
Class is used to edit the color in a cell.
Creates a button on the right side of the cell, which, when clicked, opens a dialog with the ability to edit the color.
Used only with EMF (EObject).
- Author:
- Ionov Ivan
-
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport
canEditCell, parent, viewer -
Constructor Summary
ConstructorsConstructorDescriptionEMFColorEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent) -
Method Summary
Modifier and TypeMethodDescriptioneditedFeature(org.eclipse.emf.ecore.EStructuralFeature feature) Set up the featureMethods inherited from class com.amalgamasimulation.desktop.binding.editingsupports.ColorEditingSupport
getCellEditorInternal, getValueInternal, setSelectionListener, setValueExtractor, setValueInternalMethods inherited from class com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport
canEdit, canEditInternal, getCellEditor, getValue, initializeCellEditorValue, initializeCellEditorValueInternal, setCanEditCell, setValueMethods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, saveCellEditorValue
-
Constructor Details
-
EMFColorEditingSupport
public EMFColorEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent)
-
-
Method Details
-
editedFeature
Set up the feature- Parameters:
feature- container reference to value- Returns:
- this object
-