|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainModelReferenceConverter
Converts a VDomainModelReference
to a IValueProperty
.
Field Summary | |
---|---|
static double |
NOT_APPLICABLE
The constant defining the priority that a DomainModelReferenceConverter is not for a
VDomainModelReference . |
Method Summary | |
---|---|
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 . |
Field Detail |
---|
static final double NOT_APPLICABLE
DomainModelReferenceConverter
is not for a
VDomainModelReference
.
Method Detail |
---|
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 form
IValueProperty
, 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 form
IListProperty
, does not return null
.
DatabindingFailedException
- if no value property could be created due to an invalid
VDomainModelReference
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |