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.
|
getEditingDomainvaluesgetStructuralFeatureIEMFEditMapProperty values(EStructuralFeature feature)
values in interface IEMFSetPropertyfeature - the value property to observe.values(IEMFEditValueProperty)IEMFEditMapProperty values(FeaturePath featurePath)
values in interface IEMFSetPropertyfeaturePath - 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