public class DMREditingSupport
extends org.eclipse.jface.viewers.EditingSupport
EditingSupport
for a value described by a VDomainModelReference
.Constructor and Description |
---|
DMREditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer,
org.eclipse.jface.viewers.CellEditor cellEditor,
org.eclipse.core.databinding.property.value.IValueProperty valueProperty)
Constructs a new
DMREditingSupport . |
DMREditingSupport(org.eclipse.jface.viewers.ColumnViewer columnViewer,
org.eclipse.jface.viewers.CellEditor cellEditor,
VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject parent)
Constructs a new
DMREditingSupport . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEdit(Object element) |
protected org.eclipse.jface.viewers.CellEditor |
getCellEditor(Object element) |
protected Object |
getValue(Object element) |
protected void |
initializeCellEditorValue(org.eclipse.jface.viewers.CellEditor cellEditor,
org.eclipse.jface.viewers.ViewerCell cell) |
protected void |
saveCellEditorValue(org.eclipse.jface.viewers.CellEditor cellEditor,
org.eclipse.jface.viewers.ViewerCell cell) |
protected void |
setValue(Object element,
Object value) |
public DMREditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer, org.eclipse.jface.viewers.CellEditor cellEditor, org.eclipse.core.databinding.property.value.IValueProperty valueProperty)
DMREditingSupport
.viewer
- the ColumnViewer
cellEditor
- the CellEditor
valueProperty
- the IValueProperty
for the value of the cellpublic DMREditingSupport(org.eclipse.jface.viewers.ColumnViewer columnViewer, org.eclipse.jface.viewers.CellEditor cellEditor, VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject parent)
DMREditingSupport
.columnViewer
- the ColumnViewer
cellEditor
- the CellEditor
domainModelReference
- the domain model reference of the column valueparent
- the domain object of the column valueprotected Object getValue(Object element)
getValue
in class org.eclipse.jface.viewers.EditingSupport
protected void setValue(Object element, Object value)
setValue
in class org.eclipse.jface.viewers.EditingSupport
protected void initializeCellEditorValue(org.eclipse.jface.viewers.CellEditor cellEditor, org.eclipse.jface.viewers.ViewerCell cell)
initializeCellEditorValue
in class org.eclipse.jface.viewers.EditingSupport
protected org.eclipse.jface.viewers.CellEditor getCellEditor(Object element)
getCellEditor
in class org.eclipse.jface.viewers.EditingSupport
protected final void saveCellEditorValue(org.eclipse.jface.viewers.CellEditor cellEditor, org.eclipse.jface.viewers.ViewerCell cell)
saveCellEditorValue
in class org.eclipse.jface.viewers.EditingSupport
protected boolean canEdit(Object element)
canEdit
in class org.eclipse.jface.viewers.EditingSupport
Copyright © 2019. All rights reserved.