|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.databinding.property.value.ValueProperty
org.eclipse.emf.databinding.edit.internal.EMFEditValuePropertyDecorator
public class EMFEditValuePropertyDecorator
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
Constructor Summary | |
---|---|
EMFEditValuePropertyDecorator(EditingDomain editingDomain,
org.eclipse.core.databinding.property.value.IValueProperty delegate,
EStructuralFeature eStructuralFeature)
|
Method Summary | |
---|---|
EditingDomain |
getEditingDomain()
|
EStructuralFeature |
getStructuralFeature()
Returns the descriptor of the EStructuralFeature being observed. |
java.lang.Object |
getValueType()
|
IEMFEditListProperty |
list(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified list feature. |
IEMFEditListProperty |
list(IEMFEditListProperty property)
Returns a master-detail combination of this property and the specified list property. |
IEMFEditListProperty |
list(IEMFListProperty property)
Returns a master-detail combination of this property and the specified list property. |
IEMFEditMapProperty |
map(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified map feature. |
IEMFEditMapProperty |
map(IEMFEditMapProperty property)
Returns a master-detail combination of this property and the specified map property. |
IEMFEditMapProperty |
map(IEMFMapProperty property)
Returns a master-detail combination of this property and the specified map property. |
IObservableValue |
observe(java.lang.Object source)
|
IObservableValue |
observe(Realm realm,
java.lang.Object source)
|
IObservableList |
observeDetail(IObservableList master)
|
IObservableMap |
observeDetail(IObservableMap master)
|
IObservableMap |
observeDetail(IObservableSet master)
|
IObservableValue |
observeDetail(IObservableValue master)
|
java.lang.String |
toString()
|
IEMFEditValueProperty |
value(EStructuralFeature feature)
Returns a master-detail combination of this property and the specified value feature. |
IEMFEditValueProperty |
value(FeaturePath featurePath)
Returns a master-detail combination of this property and the specified nested value feature. |
IEMFEditValueProperty |
value(IEMFEditValueProperty property)
Returns a master-detail combination of this property and the specified value property. |
IEMFEditValueProperty |
value(IEMFValueProperty property)
Returns a master-detail combination of this property and the specified value property. |
IObservableFactory |
valueFactory()
|
IObservableFactory |
valueFactory(Realm realm)
|
Methods inherited from class org.eclipse.core.databinding.property.value.ValueProperty |
---|
list, map, set, value |
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.value.IValueProperty |
---|
list, map, set, value |
Constructor Detail |
---|
public EMFEditValuePropertyDecorator(EditingDomain editingDomain, org.eclipse.core.databinding.property.value.IValueProperty delegate, EStructuralFeature eStructuralFeature)
editingDomain
- delegate
- eStructuralFeature
- Method Detail |
---|
public EStructuralFeature getStructuralFeature()
IEMFProperty
EStructuralFeature
being observed.
getStructuralFeature
in interface IEMFProperty
EStructuralFeature
being observedpublic java.lang.Object getValueType()
getValueType
in interface org.eclipse.core.databinding.property.value.IValueProperty
public IEMFEditValueProperty value(EStructuralFeature feature)
IEMFEditValueProperty
value
in interface IEMFEditValueProperty
value
in interface IEMFValueProperty
feature
- the nested value property to observe.
IEMFEditValueProperty.value(IEMFEditValueProperty)
public IEMFEditValueProperty value(FeaturePath featurePath)
IEMFEditValueProperty
value
in interface IEMFEditValueProperty
value
in interface IEMFValueProperty
featurePath
- the nested value property to observe.
IEMFEditValueProperty.value(IEMFEditValueProperty)
public IEMFEditValueProperty value(IEMFEditValueProperty property)
IEMFEditValueProperty
Example:
// Observes the Node-typed "parent" property of a Node object IEMFValueProperty parent = EMFProperties.value(MyPackage.Literals.NODE_PARENT); // Observes the string-typed "name" property of a Node object IEMFValueProperty name = EMFProperties.value(MyPackage.Literals.NODE_NAME); // Observes the name of the parent of a Node object. IEMFValueProperty parentName = parent.value(name);
value
in interface IEMFEditValueProperty
property
- the detail property to observe
public IEMFEditListProperty list(EStructuralFeature feature)
IEMFEditValueProperty
list
in interface IEMFEditValueProperty
list
in interface IEMFValueProperty
feature
- the list feature to observe
IEMFEditValueProperty.list(IEMFEditListProperty)
public IEMFEditListProperty list(IEMFEditListProperty property)
IEMFEditValueProperty
Example:
// Observes the Node-typed "parent" property of a Node object. IEMFValueProperty parent = EMFProperties.value(MyPackage.Literals.NODE_PARENT); // Observes the List-typed "children" property of a Node object // where the elements are Node objects IEMFListProperty children = EMFProperties.list(MyPackage.Literals.NODE_CHILDREN); // Observes the children of the parent (siblings) of a Node object. IEMFListProperty siblings = parent.list(children);
list
in interface IEMFEditValueProperty
property
- the detail property to observe
public IEMFEditMapProperty map(EStructuralFeature feature)
IEMFEditValueProperty
map
in interface IEMFEditValueProperty
map
in interface IEMFValueProperty
feature
- the map property to observe
IEMFEditValueProperty.map(IEMFEditMapProperty)
public IEMFEditMapProperty map(IEMFEditMapProperty property)
IEMFEditValueProperty
Example:
// Observes the Contact-typed "supervisor" property of a // Contact class IEMFValueProperty supervisor = EMFProperties.value(MyPackage.Literals.CONTACT_SUPERVISOR); // Observes the property "phoneNumbers" of a Contact object--a property mapping // from PhoneNumberType to PhoneNumber "set-typed "children", IEMFMapProperty phoneNumbers = EMFProperties.map(MyPackage.Literals.CONTACT_PHONENUMBERS); // Observes the phone numbers of a contact's supervisor: IEMFMapProperty supervisorPhoneNumbers = supervisor.map(phoneNumbers);
map
in interface IEMFEditValueProperty
property
- the detail property to observe
public IObservableValue observe(java.lang.Object source)
observe
in interface org.eclipse.core.databinding.property.value.IValueProperty
observe
in class org.eclipse.core.databinding.property.value.ValueProperty
public IObservableValue observe(Realm realm, java.lang.Object source)
observe
in interface org.eclipse.core.databinding.property.value.IValueProperty
public IObservableFactory valueFactory()
valueFactory
in interface org.eclipse.core.databinding.property.value.IValueProperty
valueFactory
in class org.eclipse.core.databinding.property.value.ValueProperty
public IObservableFactory valueFactory(Realm realm)
valueFactory
in interface org.eclipse.core.databinding.property.value.IValueProperty
valueFactory
in class org.eclipse.core.databinding.property.value.ValueProperty
public IObservableValue observeDetail(IObservableValue master)
observeDetail
in interface org.eclipse.core.databinding.property.value.IValueProperty
observeDetail
in class org.eclipse.core.databinding.property.value.ValueProperty
public IObservableList observeDetail(IObservableList master)
observeDetail
in interface org.eclipse.core.databinding.property.value.IValueProperty
public IObservableMap observeDetail(IObservableSet master)
observeDetail
in interface org.eclipse.core.databinding.property.value.IValueProperty
public IObservableMap observeDetail(IObservableMap master)
observeDetail
in interface org.eclipse.core.databinding.property.value.IValueProperty
public java.lang.String toString()
toString
in class java.lang.Object
public EditingDomain getEditingDomain()
getEditingDomain
in interface IEMFEditProperty
public IEMFEditListProperty list(IEMFListProperty property)
IEMFValueProperty
Example:
// Observes the Node-typed "parent" property of a Node object. IEMFValueProperty parent = EMFProperties.value(MyPackage.Literals.NODE_PARENT); // Observes the List-typed "children" property of a Node object // where the elements are Node objects IEMFListProperty children = EMFProperties.list(MyPackage.Literals.NODE_CHILDREN); // Observes the children of the parent (siblings) of a Node object. IEMFListProperty siblings = parent.list(children);
list
in interface IEMFEditValueProperty
list
in interface IEMFValueProperty
property
- the detail property to observe
public IEMFEditMapProperty map(IEMFMapProperty property)
IEMFValueProperty
Example:
// Observes the Contact-typed "supervisor" property of a // Contact class IEMFValueProperty supervisor = EMFProperties.value(MyPackage.Literals.CONTACT_SUPERVISOR); // Observes the property "phoneNumbers" of a Contact object--a property mapping // from PhoneNumberType to PhoneNumber "set-typed "children", IEMFMapProperty phoneNumbers = EMFProperties.map(MyPackage.Literals.CONTACT_PHONENUMBERS); // Observes the phone numbers of a contact's supervisor: IEMFMapProperty supervisorPhoneNumbers = supervisor.map(phoneNumbers);
map
in interface IEMFEditValueProperty
map
in interface IEMFValueProperty
property
- the detail property to observe
public IEMFEditValueProperty value(IEMFValueProperty property)
IEMFValueProperty
Example:
// Observes the Node-typed "parent" property of a Node object IEMFValueProperty parent = EMFProperties.value(MyPackage.Literals.NODE_PARENT); // Observes the string-typed "name" property of a Node object IEMFValueProperty name = EMFProperties.value(MyPackage.Literals.NODE_NAME); // Observes the name of the parent of a Node object. IEMFValueProperty parentName = parent.value(name);
value
in interface IEMFEditValueProperty
value
in interface IEMFValueProperty
property
- 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 |