|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEMFEditSetProperty
An ISetProperty
extension interface with convenience methods for
creating nested EStructuralFeature
properties.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.emf.databinding.edit.IEMFEditProperty |
---|
getEditingDomain |
Methods inherited from interface org.eclipse.emf.databinding.IEMFSetProperty |
---|
values |
Methods inherited from interface org.eclipse.emf.databinding.IEMFProperty |
---|
getStructuralFeature |
Methods inherited from interface org.eclipse.core.databinding.property.set.ISetProperty |
---|
getElementType, getSet, observe, observe, observeDetail, setFactory, setFactory, setSet, updateSet, values |
Method Detail |
---|
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
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |