|
||||||||||
| 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.emf.databinding.edit.internal.EMFEditListPropertyDecorator
public class EMFEditListPropertyDecorator
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
| Constructor Summary | |
|---|---|
EMFEditListPropertyDecorator(EditingDomain editingDomain,
org.eclipse.core.databinding.property.list.IListProperty delegate,
EStructuralFeature eStructuralFeature)
|
|
| Method Summary | |
|---|---|
EditingDomain |
getEditingDomain()
|
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()
|
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.ListProperty |
|---|
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 |
|---|
values |
| Constructor Detail |
|---|
public EMFEditListPropertyDecorator(EditingDomain editingDomain,
org.eclipse.core.databinding.property.list.IListProperty delegate,
EStructuralFeature eStructuralFeature)
editingDomain - delegate - eStructuralFeature - | Method Detail |
|---|
public java.lang.Object getElementType()
getElementType in interface org.eclipse.core.databinding.property.list.IListPropertypublic IEMFEditListProperty values(EStructuralFeature feature)
IEMFEditListProperty
values in interface IEMFEditListPropertyvalues in interface IEMFListPropertyfeature - the feature
public IEMFEditListProperty values(FeaturePath featurePath)
IEMFEditListProperty
values in interface IEMFEditListPropertyvalues in interface IEMFListPropertyfeaturePath - the nested feature to observe
IEMFEditListProperty.values(IEMFEditValueProperty)public IEMFEditListProperty values(IEMFEditValueProperty property)
IEMFEditListPropertyExample:
// 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 IEMFEditListPropertyproperty - the detail property to observe
public EStructuralFeature getStructuralFeature()
IEMFPropertyEStructuralFeature being observed.
getStructuralFeature in interface IEMFPropertyEStructuralFeature being observedpublic IObservableList observe(java.lang.Object source)
observe in interface org.eclipse.core.databinding.property.list.IListPropertyobserve in class org.eclipse.core.databinding.property.list.ListProperty
public IObservableList observe(Realm realm,
java.lang.Object source)
observe in interface org.eclipse.core.databinding.property.list.IListPropertypublic IObservableFactory listFactory()
listFactory in interface org.eclipse.core.databinding.property.list.IListPropertylistFactory in class org.eclipse.core.databinding.property.list.ListPropertypublic IObservableFactory listFactory(Realm realm)
listFactory in interface org.eclipse.core.databinding.property.list.IListPropertylistFactory in class org.eclipse.core.databinding.property.list.ListPropertypublic IObservableList observeDetail(IObservableValue master)
observeDetail in interface org.eclipse.core.databinding.property.list.IListPropertyobserveDetail in class org.eclipse.core.databinding.property.list.ListPropertypublic java.lang.String toString()
toString in class java.lang.Objectpublic EditingDomain getEditingDomain()
getEditingDomain in interface IEMFEditPropertypublic 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 IEMFEditListPropertyvalues 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 | |||||||||