|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.databinding.property.set.SetProperty org.eclipse.emf.databinding.edit.internal.EMFEditSetPropertyDecorator
public class EMFEditSetPropertyDecorator
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Constructor Summary | |
---|---|
EMFEditSetPropertyDecorator(EditingDomain editingDomain,
ISetProperty delegate,
EStructuralFeature eStructuralFeature)
|
Method Summary | |
---|---|
EditingDomain |
getEditingDomain()
|
java.lang.Object |
getElementType()
|
EStructuralFeature |
getStructuralFeature()
Returns the descriptor of the EStructuralFeature being observed. |
IObservableSet |
observe(java.lang.Object source)
|
IObservableSet |
observe(Realm realm,
java.lang.Object source)
|
IObservableSet |
observeDetail(IObservableValue master)
|
IObservableFactory |
setFactory()
|
IObservableFactory |
setFactory(Realm realm)
|
java.lang.String |
toString()
|
IEMFEditMapProperty |
values(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified value property. |
IEMFEditMapProperty |
values(FeaturePath featurePath)
Returns a master-detail combination of this property and the specified value property. |
IEMFEditMapProperty |
values(IEMFEditValueProperty property)
Returns a master-detail combination of this property and the specified value property. |
IEMFMapProperty |
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.set.SetProperty |
---|
doGetSet, doSetSet, doUpdateSet, getSet, setSet, updateSet, 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.set.ISetProperty |
---|
getSet, setSet, updateSet, values |
Constructor Detail |
---|
public EMFEditSetPropertyDecorator(EditingDomain editingDomain, ISetProperty delegate, EStructuralFeature eStructuralFeature)
editingDomain
- delegate
- eStructuralFeature
- Method Detail |
---|
public java.lang.Object getElementType()
getElementType
in interface ISetProperty
public IEMFEditMapProperty values(EStructuralFeature feature)
IEMFEditSetProperty
values
in interface IEMFEditSetProperty
values
in interface IEMFSetProperty
feature
- the value property to observe.
IEMFEditSetProperty.values(IEMFEditValueProperty)
public IEMFEditMapProperty values(FeaturePath featurePath)
IEMFEditSetProperty
values
in interface IEMFEditSetProperty
values
in interface IEMFSetProperty
featurePath
- the value property to observe. May be nested e.g.
"parent.name"
IEMFEditSetProperty.values(IEMFEditValueProperty)
public IEMFEditMapProperty values(IEMFEditValueProperty property)
IEMFEditSetProperty
Example:
// Observes the set-typed "children" property of a Person object, // where the elements are Person objects IEMFEditSetProperty children = EMFEditProperties.set(domain, MyPackage.Literals.PERSON_CHILDREN); // Observes the string-typed "name" property of a Person object IEMFEditValueProperty name = EMFEditProperties.value(domain, MyPackage.Literals.PERSON_NAME); // Observes a map of children objects to their respective names. IEMFEditMapProperty childrenNames = children.values(name);
values
in interface IEMFEditSetProperty
property
- the detail property to observe
public IEMFMapProperty values(IEMFValueProperty property)
IEMFSetProperty
Example:
// Observes the set-typed "children" property of a Person object, // where the elements are Person objects IEMFSetProperty children = EMFProperties.set(MyPackage.Literals.PERSON_CHILDREN); // Observes the string-typed "name" property of a Person object IEMFValueProperty name = EMFProperties.value(MyPackage.Literals.PERSON_NAME); // Observes a map of children objects to their respective names. IEMFMapProperty childrenNames = children.values(name);
values
in interface IEMFSetProperty
property
- the detail property to observe
public EStructuralFeature getStructuralFeature()
IEMFProperty
EStructuralFeature
being observed.
getStructuralFeature
in interface IEMFProperty
EStructuralFeature
being observedpublic IObservableSet observe(java.lang.Object source)
observe
in interface ISetProperty
observe
in class SetProperty
public IObservableSet observe(Realm realm, java.lang.Object source)
observe
in interface ISetProperty
public IObservableFactory setFactory()
setFactory
in interface ISetProperty
setFactory
in class SetProperty
public IObservableFactory setFactory(Realm realm)
setFactory
in interface ISetProperty
setFactory
in class SetProperty
public IObservableSet observeDetail(IObservableValue master)
observeDetail
in interface ISetProperty
observeDetail
in class SetProperty
public java.lang.String toString()
toString
in class java.lang.Object
public EditingDomain getEditingDomain()
getEditingDomain
in interface IEMFEditProperty
|
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 |