public class CustomDMRMappingProvider extends Object implements EMFFormsMappingProvider
VCustomDomainModelReference
.NOT_APPLICABLE
Constructor and Description |
---|
CustomDMRMappingProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext)
Called by the framework when the component gets activated.
|
protected void |
deactivate(org.osgi.framework.BundleContext bundleContext)
Called by the framework when the component gets deactivated.
|
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 |
setReportService(ReportService reportService)
Sets 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)
protected void activate(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The BundleContext
protected void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The BundleContext
protected void setReportService(ReportService reportService)
ReportService
.reportService
- The ReportService
Copyright © 2018. All rights reserved.