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 EMFFormsMappingProviderdomainModelReference - The VDomainModelReferencedomainObject - The domain objectUniqueSettings to their sets of VDomainModelReferenceEMFFormsMappingProvider.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 EMFFormsMappingProviderdomainModelReference - The given VDomainModelReferencedomainObject - The domain objectEMFFormsMappingProvider.isApplicable(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject)protected void activate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextprotected void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextprotected void setReportService(ReportService reportService)
ReportService.reportService - The ReportServiceCopyright © 2018. All rights reserved.