|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.databinding.property.list.ListProperty org.eclipse.emf.databinding.internal.EMFListPropertyDecorator
public class EMFListPropertyDecorator
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.databinding.IEMFListProperty |
---|
IEMFListProperty.ListElementAccess<O> |
Constructor Summary | |
---|---|
EMFListPropertyDecorator(IListProperty delegate,
EStructuralFeature eStructuralFeature)
|
Method Summary | |
---|---|
java.lang.Object |
getElementType()
|
EStructuralFeature |
getStructuralFeature()
Returns the descriptor of the EStructuralFeature being observed. |
IObservableFactory |
listFactory()
|
IObservableFactory |
listFactory(Realm realm)
|
IObservableList |
observe(java.lang.Object source)
|
IObservableList |
observe(Realm realm,
java.lang.Object source)
|
IObservableList |
observeDetail(IObservableValue master)
|
java.lang.String |
toString()
|
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 class org.eclipse.core.databinding.property.list.ListProperty |
---|
doGetList, doSetList, doUpdateList, getList, setList, updateList, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.databinding.property.list.IListProperty |
---|
getList, setList, updateList, values |
Constructor Detail |
---|
public EMFListPropertyDecorator(IListProperty delegate, EStructuralFeature eStructuralFeature)
delegate
- eStructuralFeature
- Method Detail |
---|
public java.lang.Object getElementType()
getElementType
in interface IListProperty
public IEMFListProperty values(EStructuralFeature feature)
IEMFListProperty
values
in interface IEMFListProperty
feature
- the feature
public IEMFListProperty values(FeaturePath featurePath)
IEMFListProperty
values
in interface IEMFListProperty
featurePath
- the nested feature to observe
IEMFListProperty.values(IEMFValueProperty)
public IEMFListProperty 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 IEMFListProperty
property
- the detail property to observe
public IEMFValueProperty value(IEMFListProperty.ListElementAccess<?> elementAccess)
IEMFListProperty
This API is highly experimental and if possible will get moved upwards to Core-Databinding
Observe one of the elements in the list
value
in interface IEMFListProperty
elementAccess
- the element access to use
public EStructuralFeature getStructuralFeature()
IEMFProperty
EStructuralFeature
being observed.
getStructuralFeature
in interface IEMFProperty
EStructuralFeature
being observedpublic IObservableList observe(java.lang.Object source)
observe
in interface IListProperty
observe
in class ListProperty
public IObservableList observe(Realm realm, java.lang.Object source)
observe
in interface IListProperty
public IObservableFactory listFactory()
listFactory
in interface IListProperty
listFactory
in class ListProperty
public IObservableFactory listFactory(Realm realm)
listFactory
in interface IListProperty
listFactory
in class ListProperty
public IObservableList observeDetail(IObservableValue master)
observeDetail
in interface IListProperty
observeDetail
in class ListProperty
public java.lang.String toString()
toString
in class java.lang.Object
|
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 |