public class EMFMultiListProperty extends MultiListProperty implements IEMFListProperty
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
IEMFListProperty.ListElementAccess<O>| Constructor and Description |
|---|
EMFMultiListProperty(IEMFListProperty[] properties)
Create new property
|
| Modifier and Type | Method and Description |
|---|---|
EStructuralFeature |
getStructuralFeature()
Returns the descriptor of the
EStructuralFeature being observed. |
IEMFValueProperty |
value(IEMFListProperty.ListElementAccess<?> elementAccess)
This API is highly experimental and if possible will get moved upwards to Core-Databinding
Observe one of the elements in the list
|
IEMFListProperty |
values(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified
value property.
|
IEMFListProperty |
values(FeaturePath featurePath)
Returns a master-detail combination of this property and the specified
value nested feature.
|
IEMFListProperty |
values(IEMFValueProperty property)
Returns a master-detail combination of this property and the specified
value property.
|
public EMFMultiListProperty(IEMFListProperty[] properties)
properties - public IEMFListProperty values(EStructuralFeature feature)
IEMFListPropertyvalues in interface IEMFListPropertyfeature - the featurepublic IEMFListProperty values(FeaturePath featurePath)
IEMFListPropertyvalues in interface IEMFListPropertyfeaturePath - the nested feature to observeIEMFListProperty.values(IEMFValueProperty)public IEMFListProperty values(IEMFValueProperty property)
IEMFListPropertyExample:
// Observes the list-typed "children" property of a Person object,
// where the elements are Person objects
IEMFListProperty children = EMFProperties
.list(MyPackage.Literals.PERSON_CHILDREN);
// Observes the string-typed "name" property of a Person object
IEMFValueProperty name = EMFProperties.value(MyPackage.Literals.PERSON_NAME);
// Observes the names of children of a Person object.
IEMFListProperty childrenNames = children.values(name);
values in interface IEMFListPropertyproperty - the detail property to observepublic EStructuralFeature getStructuralFeature()
IEMFPropertyEStructuralFeature being observed.getStructuralFeature in interface IEMFPropertyEStructuralFeature being observedpublic IEMFValueProperty value(IEMFListProperty.ListElementAccess<?> elementAccess)
IEMFListPropertyThis API is highly experimental and if possible will get moved upwards to Core-Databinding
Observe one of the elements in the listvalue in interface IEMFListPropertyelementAccess - the element access to use