public interface EMFFormsDatabinding
EMFFormsDatabinding
provides a databinding service. It provides four methods for getting an
IValueProperty
or an IListProperty
from a VDomainModelReference
and getting an
IObservableValue
or an IObservableList
from a VDomainModelReference
and an EObject
.Modifier and Type | Method and Description |
---|---|
org.eclipse.core.databinding.property.list.IListProperty |
getListProperty(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Returns an
IListProperty described by the given VDomainModelReference . |
org.eclipse.core.databinding.observable.list.IObservableList |
getObservableList(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Returns an
IObservableList by observing the list described by the given VDomainModelReference of
the given EObject . |
org.eclipse.core.databinding.observable.value.IObservableValue |
getObservableValue(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Returns an
IObservableValue by observing the value described by the given VDomainModelReference
of the given EObject . |
org.eclipse.core.databinding.property.value.IValueProperty |
getValueProperty(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Returns an
IValueProperty described by the given VDomainModelReference . |
org.eclipse.core.databinding.observable.value.IObservableValue getObservableValue(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
IObservableValue
by observing the value described by the given VDomainModelReference
of the given EObject
.domainModelReference
- The domain model reference pointing to the desired valueobject
- The root object of the rendered form. If the VDomainModelReference
contains a path, the
object is the first node of the path. Therefore, the IObservableValue
can be bound to a
feature of a sub element in case of a path.IObservableValue
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.org.eclipse.core.databinding.observable.list.IObservableList getObservableList(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
IObservableList
by observing the list described by the given VDomainModelReference
of
the given EObject
.domainModelReference
- The domain model reference pointing to the desired listobject
- The root object of the rendered form. If the VDomainModelReference
contains a path, the
object is the first node of the path. Therefore, the IObservableValue
can be bound to a
feature of a sub element in case of a path.IObservableList
, does not return null
DatabindingFailedException
- if the databinding could not be executed successfully.org.eclipse.core.databinding.property.value.IValueProperty getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
IValueProperty
described by the given VDomainModelReference
.domainModelReference
- The domain model reference pointing to the desired valueobject
- The root object of the rendered form. If the VDomainModelReference
contains a path, the
object is the first node of the path. Therefore, the IValueProperty
can be bound to a feature
of a sub element in case of a path.IValueProperty
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.org.eclipse.core.databinding.property.list.IListProperty getListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
IListProperty
described by the given VDomainModelReference
.domainModelReference
- The domain model reference pointing to the desired listobject
- The root object of the rendered form. If the VDomainModelReference
contains a path, the
object is the first node of the path. Therefore, the IValueProperty
can be bound to a feature
of a sub element in case of a path.IListProperty
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.Copyright © 2019. All rights reserved.