public class EMFFormsDatabindingImpl extends Object implements EMFFormsDatabindingEMF
EMFFormsDatabindingEMF
.Constructor and Description |
---|
EMFFormsDatabindingImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addDomainModelReferenceConverter(DomainModelReferenceConverterEMF converter)
Adds the given
DomainModelReferenceConverterEMF to the Set of reference converters. |
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.EObject object)
Returns an
IValueProperty described by the given VDomainModelReference . |
protected void |
removeDomainModelReferenceConverter(DomainModelReferenceConverterEMF converter)
Removes the given
DomainModelReferenceConverterEMF to the Set of reference converters. |
public 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
.getObservableValue
in interface EMFFormsDatabindingEMF
getObservableValue
in interface EMFFormsDatabinding
domainModelReference
- The domain model reference pointing to the desired valueobject
- The object containing the value of the referenceIObservableValue
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.EMFFormsDatabinding.getObservableValue(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)
public org.eclipse.emf.databinding.IEMFValueProperty getValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
IValueProperty
described by the given VDomainModelReference
.getValueProperty
in interface EMFFormsDatabindingEMF
getValueProperty
in interface EMFFormsDatabinding
domainModelReference
- The domain model reference pointing to the desired valueobject
- The root object of the rendered formIValueProperty
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.EMFFormsDatabinding.getValueProperty(VDomainModelReference,EObject)
protected void addDomainModelReferenceConverter(DomainModelReferenceConverterEMF converter)
DomainModelReferenceConverterEMF
to the Set of reference converters.converter
- The DomainModelReferenceConverterEMF
to addprotected void removeDomainModelReferenceConverter(DomainModelReferenceConverterEMF converter)
DomainModelReferenceConverterEMF
to the Set of reference converters.converter
- The DomainModelReferenceConverterEMF
to removepublic 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
.getObservableList
in interface EMFFormsDatabindingEMF
getObservableList
in interface EMFFormsDatabinding
domainModelReference
- The domain model reference pointing to the desired listobject
- The object containing the values of the referenceIObservableList
, does not return null
DatabindingFailedException
- if the databinding could not be executed successfully.EMFFormsDatabinding.getObservableList(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)
public org.eclipse.emf.databinding.IEMFListProperty getListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
IListProperty
described by the given VDomainModelReference
.getListProperty
in interface EMFFormsDatabindingEMF
getListProperty
in interface EMFFormsDatabinding
domainModelReference
- The domain model reference pointing to the desired listobject
- The root object of the rendered formIListProperty
, does not return null
.DatabindingFailedException
- if the databinding could not be executed successfully.EMFFormsDatabinding.getListProperty(VDomainModelReference,EObject)
public org.eclipse.emf.ecore.EStructuralFeature extractFeature(org.eclipse.core.databinding.observable.value.IObservableValue observableValue) throws DatabindingFailedException
EStructuralFeature
from the provided IObservableValue
.extractFeature
in interface EMFFormsDatabindingEMF
observableValue
- The IObservableValue
to extract the EStructuralFeature
fromEStructuralFeature
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
EMFFormsDatabindingEMF.extractFeature(org.eclipse.core.databinding.observable.value.IObservableValue)
public org.eclipse.emf.ecore.EStructuralFeature extractFeature(org.eclipse.core.databinding.observable.list.IObservableList observableList) throws DatabindingFailedException
EStructuralFeature
from the provided IObservableList
.extractFeature
in interface EMFFormsDatabindingEMF
observableList
- The IObservableList
to extract the EStructuralFeature
fromEStructuralFeature
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
EMFFormsDatabindingEMF.extractFeature(org.eclipse.core.databinding.observable.list.IObservableList)
public org.eclipse.emf.ecore.EObject extractObserved(org.eclipse.core.databinding.observable.value.IObservableValue observableValue) throws DatabindingFailedException
EObject
from the provided IObservableValue
.extractObserved
in interface EMFFormsDatabindingEMF
observableValue
- The IObservableValue
to extract the observed EObject
fromEObject
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
EMFFormsDatabindingEMF.extractObserved(org.eclipse.core.databinding.observable.value.IObservableValue)
public org.eclipse.emf.ecore.EObject extractObserved(org.eclipse.core.databinding.observable.list.IObservableList observableList) throws DatabindingFailedException
EObject
from the provided IObservableList
.extractObserved
in interface EMFFormsDatabindingEMF
observableList
- The IObservableList
to extract the observed EObject
fromEObject
DatabindingFailedException
- when the IObservableValue
doesn't implement
IEMFObservable
EMFFormsDatabindingEMF.extractObserved(org.eclipse.core.databinding.observable.list.IObservableList)
public org.eclipse.emf.ecore.EStructuralFeature.Setting getSetting(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
EMFFormsDatabindingEMF
VDomainModelReference
and the provided
EObject
.getSetting
in interface EMFFormsDatabindingEMF
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 © 2016. All rights reserved.