public interface IEMFEditSetProperty extends IEMFEditProperty, IEMFSetProperty
ISetProperty
extension interface with convenience methods for
creating nested EStructuralFeature
properties.Modifier and Type | Method and Description |
---|---|
IEMFEditMapProperty |
values(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified
value property.
|
IEMFEditMapProperty |
values(FeaturePath featurePath)
Returns a master-detail combination of this property and the specified
value property.
|
IEMFEditMapProperty |
values(IEMFEditValueProperty property)
Returns a master-detail combination of this property and the specified
value property.
|
getEditingDomain
values
getStructuralFeature
IEMFEditMapProperty values(EStructuralFeature feature)
values
in interface IEMFSetProperty
feature
- the value property to observe.values(IEMFEditValueProperty)
IEMFEditMapProperty values(FeaturePath featurePath)
values
in interface IEMFSetProperty
featurePath
- the value property to observe. May be nested e.g.
"parent.name"values(IEMFEditValueProperty)
IEMFEditMapProperty values(IEMFEditValueProperty property)
Example:
// Observes the set-typed "children" property of a Person object, // where the elements are Person objects IEMFEditSetProperty children = EMFEditProperties.set(domain, MyPackage.Literals.PERSON_CHILDREN); // Observes the string-typed "name" property of a Person object IEMFEditValueProperty name = EMFEditProperties.value(domain, MyPackage.Literals.PERSON_NAME); // Observes a map of children objects to their respective names. IEMFEditMapProperty childrenNames = children.values(name);
property
- the detail property to observe