Interface DomainModelReferenceConverterEMF
-
- All Superinterfaces:
DomainModelReferenceConverter
- All Known Implementing Classes:
CustomDMRConverter
,FeaturePathDomainModelReferenceConverter
,IndexDomainModelReferenceConverter
,KeyAttributeDomainModelReferenceConverter
,MappingDomainModelReferenceConverter
,TableDMRConverter
public interface DomainModelReferenceConverterEMF extends DomainModelReferenceConverter
EMF specific DomainModelReferenceConverter interface.- Since:
- 1.7
- Author:
- Eugen Neufeld
- See Also:
DomainModelReferenceConverter
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emfforms.spi.core.services.databinding.DomainModelReferenceConverter
NOT_APPLICABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.databinding.IEMFListProperty
convertToListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Converts aVDomainModelReference
to anIListProperty
.org.eclipse.emf.databinding.IEMFValueProperty
convertToValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EClass rootEClass, org.eclipse.emf.edit.domain.EditingDomain editingDomain)
org.eclipse.emf.databinding.IEMFValueProperty
convertToValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Converts aVDomainModelReference
to aIValueProperty
.org.eclipse.emf.ecore.EStructuralFeature.Setting
getSetting(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object)
Retrieve the Setting which is described by the providedVDomainModelReference
and the providedEObject
.-
Methods inherited from interface org.eclipse.emfforms.spi.core.services.databinding.DomainModelReferenceConverter
isApplicable
-
-
-
-
Method Detail
-
convertToValueProperty
org.eclipse.emf.databinding.IEMFValueProperty convertToValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Description copied from interface:DomainModelReferenceConverter
Converts aVDomainModelReference
to aIValueProperty
.- Specified by:
convertToValueProperty
in interfaceDomainModelReferenceConverter
- Parameters:
domainModelReference
- TheVDomainModelReference
that will be converted to aIValueProperty
object
- The root object of the rendered form- Returns:
- The created
IValueProperty
, does not returnnull
. - Throws:
DatabindingFailedException
- if no value property could be created due to an invalidVDomainModelReference
.
-
convertToValueProperty
org.eclipse.emf.databinding.IEMFValueProperty convertToValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EClass rootEClass, org.eclipse.emf.edit.domain.EditingDomain editingDomain) throws DatabindingFailedException
- Parameters:
domainModelReference
- TheVDomainModelReference
that will be converted to aIValueProperty
rootEClass
- The rootEClass
of the givenVDomainModelReference
editingDomain
- TheEditingDomain
used by the createdvalue property
. The EditingDomain might benull
but in this case the value property will not support set functionality- Returns:
- The created
IValueProperty
, does not returnnull
. - Throws:
DatabindingFailedException
- if no value property could be created due to an invalidVDomainModelReference
.- Since:
- 1.19
-
convertToListProperty
org.eclipse.emf.databinding.IEMFListProperty convertToListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Description copied from interface:DomainModelReferenceConverter
Converts aVDomainModelReference
to anIListProperty
.- Specified by:
convertToListProperty
in interfaceDomainModelReferenceConverter
- Parameters:
domainModelReference
- TheVDomainModelReference
that will be converted to anIListProperty
object
- The root object of the rendered form- Returns:
- The created
IListProperty
, does not returnnull
. - Throws:
DatabindingFailedException
- if no value property could be created due to an invalidVDomainModelReference
.
-
getSetting
org.eclipse.emf.ecore.EStructuralFeature.Setting getSetting(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
Retrieve the Setting which is described by the providedVDomainModelReference
and the providedEObject
.- Parameters:
domainModelReference
- TheVDomainModelReference
to use to retrieve the settingobject
- TheEObject
to use to retrieve the setting- Returns:
- The Setting being described by the
VDomainModelReference
- Throws:
DatabindingFailedException
- if the databinding could not be executed successfully.- Since:
- 1.8
-
-