public abstract class AbstractReferenceHelper extends Object implements ReferenceHelper
ReferenceHelper
using EMFFormsDatabinding
.Constructor and Description |
---|
AbstractReferenceHelper()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Set<String> |
getEcorePaths()
Returns the ecore paths of the current view model.
|
protected org.eclipse.emf.ecore.EStructuralFeature |
getEStructuralFeature(VDomainModelReference reference)
Returns the
EStructuralFeature for the given VDomainModelReference . |
String |
getLabel(VDomainModelReference reference)
Determines a label for the given
reference . |
protected void |
handleDatabindingFailedException(DatabindingFailedException exception)
Handle
DatabindingFailedException s by reporting them to the ECP ReportService. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStringRepresentation
protected org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature(VDomainModelReference reference)
EStructuralFeature
for the given VDomainModelReference
.reference
- The VDomainModelReference
for which the EStructuralFeature
is to be determined.EStructuralFeature
.protected void handleDatabindingFailedException(DatabindingFailedException exception)
DatabindingFailedException
s by reporting them to the ECP ReportService.exception
- The handled DatabindingFailedException
.public String getLabel(VDomainModelReference reference)
ReferenceHelper
reference
.getLabel
in interface ReferenceHelper
reference
- The VDomainModelReference
for which a label is to be determined.reference
.Copyright © 2019. All rights reserved.