|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEMFEditListProperty
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
AnIListProperty extension interface with convenience methods for
creating nested EStructuralFeatures
| Method Summary | |
|---|---|
IEMFEditListProperty |
values(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified value property. |
IEMFEditListProperty |
values(FeaturePath featurePath)
Returns a master-detail combination of this property and the specified value nested feature. |
IEMFEditListProperty |
values(IEMFEditValueProperty property)
Returns a master-detail combination of this property and the specified value property. |
IEMFEditListProperty |
values(IEMFValueProperty 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.IEMFProperty |
|---|
getStructuralFeature |
| Methods inherited from interface org.eclipse.emf.databinding.IEMFProperty |
|---|
getStructuralFeature |
| Methods inherited from interface org.eclipse.core.databinding.property.list.IListProperty |
|---|
getElementType, listFactory, listFactory, observe, observe, observeDetail, values |
| Method Detail |
|---|
IEMFEditListProperty values(FeaturePath featurePath)
values in interface IEMFListPropertyfeaturePath - the nested feature to observe
values(IEMFEditValueProperty)IEMFEditListProperty values(EStructuralFeature feature)
values in interface IEMFListPropertyfeature - the feature
IEMFEditListProperty values(IEMFEditValueProperty 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
IEMFEditListProperty values(IEMFValueProperty property)
IEMFListPropertyExample:
// 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);
values in interface IEMFListPropertyproperty - 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 | |||||||||