Interface EMFFormsEditSupport
-
- All Known Implementing Classes:
EMFFormsEditSupportImpl
public interface EMFFormsEditSupport
TheEMFFormsEditSupport
provides methods to get information about a property described by aVDomainModelReference
and the corresponding rootEObject
.- Author:
- Lucas Koehler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canSetProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject)
Returns whether the property can be set.java.lang.Object
getImage(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject, java.lang.Object element)
Returns the label image for the given element.java.lang.String
getText(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject, java.lang.Object element)
Returns the label text for the given element.boolean
isMultiLine(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject)
Returns whether the property is multi line.
-
-
-
Method Detail
-
isMultiLine
boolean isMultiLine(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject)
Returns whether the property is multi line.- Parameters:
domainModelReference
- TheVDomainModelReference
rootObject
- The rootEObject
of theVDomainModelReference
- Returns:
- true if the property is multi line, false otherwise
-
canSetProperty
boolean canSetProperty(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject)
Returns whether the property can be set.- Parameters:
domainModelReference
- TheVDomainModelReference
rootObject
- The rootEObject
of theVDomainModelReference
- Returns:
- true if the property can be set, false otherwise
-
getText
java.lang.String getText(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject, java.lang.Object element)
Returns the label text for the given element.- Parameters:
domainModelReference
- TheVDomainModelReference
rootObject
- The rootEObject
of theVDomainModelReference
element
- The element for which the label text should be retrieved- Returns:
- The label text
-
getImage
java.lang.Object getImage(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject rootObject, java.lang.Object element)
Returns the label image for the given element.- Parameters:
domainModelReference
- TheVDomainModelReference
rootObject
- The rootEObject
of theVDomainModelReference
element
- The element for which the label image should be retrieved- Returns:
- The label image
-
-