public interface DomainModelReferenceConverter
VDomainModelReference
to a IValueProperty
.Modifier and Type | Field and Description |
---|---|
static double |
NOT_APPLICABLE
The constant defining the priority that a
DomainModelReferenceConverter is not for a
VDomainModelReference . |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.databinding.property.list.IListProperty |
convertToListProperty(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Converts a
VDomainModelReference to an IListProperty . |
org.eclipse.core.databinding.property.value.IValueProperty |
convertToValueProperty(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject object)
Converts a
VDomainModelReference to a IValueProperty . |
double |
isApplicable(VDomainModelReference domainModelReference)
Checks whether the given
VDomainModelReference can be converted by this
DomainModelReferenceConverter to a IValueProperty . |
static final double NOT_APPLICABLE
DomainModelReferenceConverter
is not for a
VDomainModelReference
.double isApplicable(VDomainModelReference domainModelReference)
VDomainModelReference
can be converted by this
DomainModelReferenceConverter
to a IValueProperty
. The return value is the priority of this
converter. The higher the priority, the better suits the converter the given VDomainModelReference
.domainModelReference
- The VDomainModelReference
whose priority is wanted.VDomainModelReference
; negative infinity if this converter is not
applicable.org.eclipse.core.databinding.property.value.IValueProperty convertToValueProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
VDomainModelReference
to a IValueProperty
.domainModelReference
- The VDomainModelReference
that will be converted to a IValueProperty
object
- The root object of the rendered formIValueProperty
, does not return null
.DatabindingFailedException
- if no value property could be created due to an invalid
VDomainModelReference
.org.eclipse.core.databinding.property.list.IListProperty convertToListProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject object) throws DatabindingFailedException
VDomainModelReference
to an IListProperty
.domainModelReference
- The VDomainModelReference
that will be converted to an IListProperty
object
- The root object of the rendered formIListProperty
, does not return null
.DatabindingFailedException
- if no value property could be created due to an invalid
VDomainModelReference
.Copyright © 2016. All rights reserved.