public interface EMFFormsDatabindingEMF extends EMFFormsDatabinding
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EStructuralFeature |
extractFeature(org.eclipse.core.databinding.observable.list.IObservableList observableList)
Extracts the
EStructuralFeature from the provided IObservableList . |
org.eclipse.emf.ecore.EStructuralFeature |
extractFeature(org.eclipse.core.databinding.observable.value.IObservableValue observableValue)
Extracts the
EStructuralFeature from the provided IObservableValue . |
org.eclipse.emf.ecore.EObject |
extractObserved(org.eclipse.core.databinding.observable.list.IObservableList observableList)
Extracts the observed
EObject from the provided IObservableList . |
org.eclipse.emf.ecore.EObject |
extractObserved(org.eclipse.core.databinding.observable.value.IObservableValue observableValue)
Extracts the observed
EObject from the provided IObservableValue . |
org.eclipse.emf.databinding.IEMFListProperty |
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.emf.ecore.EStructuralFeature.Setting |
getSetting(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Retrieve the Setting which is described by the provided
VDomainModelReference and the provided
EObject . |
org.eclipse.emf.databinding.IEMFValueProperty |
getValueProperty(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EClass rootEClass)
Returns an
IValueProperty described by the given VDomainModelReference . |
org.eclipse.emf.databinding.IEMFValueProperty |
getValueProperty(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EClass rootEClass,
org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Returns an
IValueProperty described by the given VDomainModelReference and using the given
EditingDomain . |
org.eclipse.emf.databinding.IEMFValueProperty |
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
EMFFormsDatabinding
IObservableValue
by observing the value described by the given VDomainModelReference
of the given EObject
.getObservableValue
in interface EMFFormsDatabinding
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
EMFFormsDatabinding
IObservableList
by observing the list described by the given VDomainModelReference
of
the given EObject
.getObservableList
in interface EMFFormsDatabinding
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.emf.databinding.IEMFValueProperty getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
EMFFormsDatabinding
IValueProperty
described by the given VDomainModelReference
.getValueProperty
in interface EMFFormsDatabinding
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.emf.databinding.IEMFValueProperty getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EClass rootEClass) throws DatabindingFailedException
IValueProperty
described by the given VDomainModelReference
. Using this method, value
properties are created without an EditingDomain
.domainModelReference
- The domain model reference pointing to the desired valuerootEClass
- The root EClass
of the rendered formIValueProperty
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.org.eclipse.emf.databinding.IEMFValueProperty getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EClass rootEClass, org.eclipse.emf.edit.domain.EditingDomain editingDomain) throws DatabindingFailedException
IValueProperty
described by the given VDomainModelReference
and using the given
EditingDomain
.domainModelReference
- The domain model reference pointing to the desired valuerootEClass
- The root EClass
of the rendered formeditingDomain
- The EditingDomain
for which the value property is created. May be
null
IValueProperty
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.org.eclipse.emf.databinding.IEMFListProperty getListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
EMFFormsDatabinding
IListProperty
described by the given VDomainModelReference
.getListProperty
in interface EMFFormsDatabinding
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.org.eclipse.emf.ecore.EStructuralFeature extractFeature(org.eclipse.core.databinding.observable.value.IObservableValue observableValue) throws DatabindingFailedException
EStructuralFeature
from the provided IObservableValue
.observableValue
- The IObservableValue
to extract the EStructuralFeature
fromEStructuralFeature
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
org.eclipse.emf.ecore.EStructuralFeature extractFeature(org.eclipse.core.databinding.observable.list.IObservableList observableList) throws DatabindingFailedException
EStructuralFeature
from the provided IObservableList
.observableList
- The IObservableList
to extract the EStructuralFeature
fromEStructuralFeature
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
org.eclipse.emf.ecore.EObject extractObserved(org.eclipse.core.databinding.observable.value.IObservableValue observableValue) throws DatabindingFailedException
EObject
from the provided IObservableValue
.observableValue
- The IObservableValue
to extract the observed EObject
fromEObject
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
org.eclipse.emf.ecore.EObject extractObserved(org.eclipse.core.databinding.observable.list.IObservableList observableList) throws DatabindingFailedException
EObject
from the provided IObservableList
.observableList
- The IObservableList
to extract the observed EObject
fromEObject
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
org.eclipse.emf.ecore.EStructuralFeature.Setting getSetting(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
VDomainModelReference
and the provided
EObject
.domainModelReference
- The VDomainModelReference
to use to retrieve the settingobject
- The EObject
to use to retrieve the settingVDomainModelReference
DatabindingFailedException
- if the databinding could not be executed successfully.Copyright © 2019. All rights reserved.