public class EMFFormsMappingProviderDefaultHeuristic extends Object implements EMFFormsMappingProvider
EMFFormsMappingProvider
.NOT_APPLICABLE
Constructor and Description |
---|
EMFFormsMappingProviderDefaultHeuristic() |
Modifier and Type | Method and Description |
---|---|
Set<UniqueSetting> |
getMappingFor(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject domainObject)
Returns the mapping of
UniqueSettings to their sets of VDomainModelReference for a
given VDomainModelReference and domain object . |
double |
isApplicable(VDomainModelReference domainModelReference,
org.eclipse.emf.ecore.EObject domainObject)
Returns a double indicating if and how well this
EMFFormsMappingProvider is applicable for the given
VDomainModelReference and domain object . |
protected void |
setEMFFormsDatabinding(EMFFormsDatabindingEMF emfFormsDatabinding)
Sets the
EMFFormsDatabindingEMF service. |
protected void |
setReportService(ReportService reportService)
Sets the
ReportService . |
public EMFFormsMappingProviderDefaultHeuristic()
protected void setEMFFormsDatabinding(EMFFormsDatabindingEMF emfFormsDatabinding)
EMFFormsDatabindingEMF
service.emfFormsDatabinding
- The databinding serviceprotected void setReportService(ReportService reportService)
ReportService
.reportService
- The ReportService
public Set<UniqueSetting> getMappingFor(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainObject)
UniqueSettings
to their sets of VDomainModelReference
for a
given VDomainModelReference
and domain object
.getMappingFor
in interface EMFFormsMappingProvider
domainModelReference
- The VDomainModelReference
domainObject
- The domain object
UniqueSettings
to their sets of VDomainModelReference
EMFFormsMappingProvider.getMappingFor(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)
public double isApplicable(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainObject)
EMFFormsMappingProvider
is applicable for the given
VDomainModelReference
and domain object
.isApplicable
in interface EMFFormsMappingProvider
domainModelReference
- The given VDomainModelReference
domainObject
- The domain object
EMFFormsMappingProvider.isApplicable(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)
Copyright © 2016. All rights reserved.