|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEMFSetProperty
An ISetProperty extension interface with convenience methods for
creating nested EStructuralFeature properties.
| Method Summary | |
|---|---|
IEMFMapProperty |
values(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified value property. |
IEMFMapProperty |
values(FeaturePath featurePath)
Returns a master-detail combination of this property and the specified value property. |
IEMFMapProperty |
values(IEMFValueProperty property)
Returns a master-detail combination of this property and the specified value property. |
| Methods inherited from interface org.eclipse.emf.databinding.IEMFProperty |
|---|
getStructuralFeature |
| Methods inherited from interface org.eclipse.core.databinding.property.set.ISetProperty |
|---|
getElementType, observe, observe, observeDetail, setFactory, setFactory, values |
| Method Detail |
|---|
IEMFMapProperty values(EStructuralFeature feature)
feature - the value property to observe.
values(IEMFValueProperty)IEMFMapProperty values(FeaturePath featurePath)
featurePath - the value property to observe. May be nested e.g.
"parent.name"
values(IEMFValueProperty)IEMFMapProperty values(IEMFValueProperty property)
Example:
// Observes the set-typed "children" property of a Person object, // where the elements are Person objects IEMFSetProperty children = EMFProperties.set(MyPackage.Literals.PERSON_CHILDREN); // Observes the string-typed "name" property of a Person object IEMFValueProperty name = EMFProperties.value(MyPackage.Literals.PERSON_NAME); // Observes a map of children objects to their respective names. IEMFMapProperty childrenNames = children.values(name);
property - the detail property to observe
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||