Class EMFTextEditingSupport<T,V>
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport<T,V>
com.amalgamasimulation.desktop.binding.editingsupports.TextEditingSupport<T,V>
com.amalgamasimulation.desktop.binding.editingsupports.EMFTextEditingSupport<T,V>
- Type Parameters:
T- type of row valueV- type of column value (cell value)
Class is used to edit a table cell value. When a cell is clicked, a text editor appears where an updated cell value can be entered
Used only with EMF (EObject).
- Author:
- Ionov Ivan
-
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.binding.editingsupports.TextEditingSupport
selectionListener, strategy, valueExtractorFields inherited from class com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport
canEditCell, parent, viewer -
Constructor Summary
ConstructorsConstructorDescriptionEMFTextEditingSupport(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.TextEditingSupport
getCellEditorInternal, getValueInternal, setSelectionListener, setStrategy, 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
-
EMFTextEditingSupport
public EMFTextEditingSupport(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
-