|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.databinding.property.list.ListProperty
org.eclipse.core.databinding.property.list.MultiListProperty
org.eclipse.emf.databinding.edit.internal.EMFEditMultiListProperty
public class EMFEditMultiListProperty
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Constructor Summary | |
---|---|
EMFEditMultiListProperty(EditingDomain editingDomain,
IEMFEditListProperty[] properties)
Create new property |
Method Summary | |
---|---|
EditingDomain |
getEditingDomain()
|
EStructuralFeature |
getStructuralFeature()
Returns the descriptor of the EStructuralFeature being observed. |
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 class org.eclipse.core.databinding.property.list.MultiListProperty |
---|
doGetList, doUpdateList, getElementType, observe |
Methods inherited from class org.eclipse.core.databinding.property.list.ListProperty |
---|
doSetList, getList, listFactory, listFactory, observe, observeDetail, setList, updateList, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.core.databinding.property.list.IListProperty |
---|
getElementType, getList, listFactory, listFactory, observe, observe, observeDetail, setList, updateList, values |
Constructor Detail |
---|
public EMFEditMultiListProperty(EditingDomain editingDomain, IEMFEditListProperty[] properties)
editingDomain
- properties
- Method Detail |
---|
public IEMFEditListProperty values(EStructuralFeature feature)
IEMFEditListProperty
values
in interface IEMFEditListProperty
values
in interface IEMFListProperty
feature
- the feature
public IEMFEditListProperty values(FeaturePath featurePath)
IEMFEditListProperty
values
in interface IEMFEditListProperty
values
in interface IEMFListProperty
featurePath
- the nested feature to observe
IEMFEditListProperty.values(IEMFEditValueProperty)
public IEMFEditListProperty values(IEMFValueProperty property)
IEMFListProperty
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);
values
in interface IEMFEditListProperty
values
in interface IEMFListProperty
property
- the detail property to observe
public IEMFEditListProperty values(IEMFEditValueProperty property)
IEMFEditListProperty
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);
values
in interface IEMFEditListProperty
property
- the detail property to observe
public EStructuralFeature getStructuralFeature()
IEMFProperty
EStructuralFeature
being observed.
getStructuralFeature
in interface IEMFProperty
EStructuralFeature
being observedpublic EditingDomain getEditingDomain()
getEditingDomain
in interface IEMFEditProperty
|
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 |