Interface EMFFormsDatabinding
-
- All Known Subinterfaces:
EMFFormsDatabindingEMF
- All Known Implementing Classes:
EMFFormsDatabindingImpl
public interface EMFFormsDatabinding
EMFFormsDatabinding
provides a databinding service. It provides four methods for getting anIValueProperty
or anIListProperty
from aVDomainModelReference
and getting anIObservableValue
or anIObservableList
from aVDomainModelReference
and anEObject
.- Author:
- Lucas Koehler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.core.databinding.property.list.IListProperty
getListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Returns anIListProperty
described by the givenVDomainModelReference
.org.eclipse.core.databinding.observable.list.IObservableList
getObservableList(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Returns anIObservableList
by observing the list described by the givenVDomainModelReference
of the givenEObject
.org.eclipse.core.databinding.observable.value.IObservableValue
getObservableValue(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Returns anIObservableValue
by observing the value described by the givenVDomainModelReference
of the givenEObject
.org.eclipse.core.databinding.property.value.IValueProperty
getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Returns anIValueProperty
described by the givenVDomainModelReference
.
-
-
-
Method Detail
-
getObservableValue
org.eclipse.core.databinding.observable.value.IObservableValue getObservableValue(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Returns anIObservableValue
by observing the value described by the givenVDomainModelReference
of the givenEObject
.- Parameters:
domainModelReference
- The domain model reference pointing to the desired valueobject
- The root object of the rendered form. If theVDomainModelReference
contains a path, the object is the first node of the path. Therefore, theIObservableValue
can be bound to a feature of a sub element in case of a path.- Returns:
- The resulting
IObservableValue
, does not returnnull
. - Throws:
DatabindingFailedException
- if the databinding could not be executed successfully.
-
getObservableList
org.eclipse.core.databinding.observable.list.IObservableList getObservableList(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Returns anIObservableList
by observing the list described by the givenVDomainModelReference
of the givenEObject
.- Parameters:
domainModelReference
- The domain model reference pointing to the desired listobject
- The root object of the rendered form. If theVDomainModelReference
contains a path, the object is the first node of the path. Therefore, theIObservableValue
can be bound to a feature of a sub element in case of a path.- Returns:
- The resulting
IObservableList
, does not returnnull
- Throws:
DatabindingFailedException
- if the databinding could not be executed successfully.
-
getValueProperty
org.eclipse.core.databinding.property.value.IValueProperty getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Returns anIValueProperty
described by the givenVDomainModelReference
.- Parameters:
domainModelReference
- The domain model reference pointing to the desired valueobject
- The root object of the rendered form. If theVDomainModelReference
contains a path, the object is the first node of the path. Therefore, theIValueProperty
can be bound to a feature of a sub element in case of a path.- Returns:
- The resulting
IValueProperty
, does not returnnull
. - Throws:
DatabindingFailedException
- if the databinding could not be executed successfully.
-
getListProperty
org.eclipse.core.databinding.property.list.IListProperty getListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Returns anIListProperty
described by the givenVDomainModelReference
.- Parameters:
domainModelReference
- The domain model reference pointing to the desired listobject
- The root object of the rendered form. If theVDomainModelReference
contains a path, the object is the first node of the path. Therefore, theIValueProperty
can be bound to a feature of a sub element in case of a path.- Returns:
- The resulting
IListProperty
, does not returnnull
. - Throws:
DatabindingFailedException
- if the databinding could not be executed successfully.
-
-