org.eclipse.emf.facet.widgets.celleditors
Interface INaryEReferenceCellEditor<T extends EObject>
public interface INaryEReferenceCellEditor<T extends EObject>
|
Method Summary |
Control |
activateCell(Composite parent,
java.util.List<T> values,
java.util.List<T> availableValues,
IModelCellEditHandler editHandler,
EObject eObject,
EStructuralFeature feature)
Initialize a cell for edition of a n-ary feature. |
java.util.List<T> |
getValue()
|
activateCell
Control activateCell(Composite parent,
java.util.List<T> values,
java.util.List<T> availableValues,
IModelCellEditHandler editHandler,
EObject eObject,
EStructuralFeature feature)
- Initialize a cell for edition of a n-ary feature. This method must create
a control inside the given parent to let the user edit the value.
- Parameters:
parent - the SWT control that must contain the cell editorvalues - the actual values of the referenceavailableValues - the available value for the referencefeature - the featureeObject - the EObject being currently edited.editHandler -
- Returns:
- the SWT
Control to be used for capturing the new cell
value
getValue
java.util.List<T> getValue()
- Returns:
- the value currently in the control. This is the value that will
be set on the model element when
IModelCellEditHandler.commit() is called.