|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEMFListProperty
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
AnIListProperty
extension interface with convenience methods for
creating nested EStructuralFeature
s
Nested Class Summary | |
---|---|
static class |
IEMFListProperty.ListElementAccess<O>
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal. |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.emf.databinding.IEMFProperty |
---|
getStructuralFeature |
Methods inherited from interface org.eclipse.core.databinding.property.list.IListProperty |
---|
getElementType, getList, listFactory, listFactory, observe, observe, observeDetail, setList, updateList, values |
Method Detail |
---|
IEMFListProperty values(FeaturePath featurePath)
featurePath
- the nested feature to observe
values(IEMFValueProperty)
IEMFListProperty values(EStructuralFeature feature)
feature
- the feature
IEMFListProperty values(IEMFValueProperty property)
Example:
// 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);
property
- the detail property to observe
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
elementAccess
- the element access to use
|
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 |