public class EMFFormsIndexDMRExpander extends Object implements EMFFormsDMRExpander
NOT_APPLICABLE| Constructor and Description | 
|---|
| EMFFormsIndexDMRExpander() | 
| 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. | 
| double | isApplicable(VDomainModelReference domainModelReference)Returns how suitable this  EMFFormsDMRExpanderis for the givenVDomainModelReference. | 
| void | prepareDomainObject(VDomainModelReference domainModelReference,
                   org.eclipse.emf.ecore.EObject domainObject)Prepares a  domain objectfor the givenVDomainModelReference. | 
| protected void | setEMFFormsDatabinding(EMFFormsDatabinding emfFormsDatabinding)Called by the framework to set the  EMFFormsDatabinding. | 
| protected void | setReportService(ReportService reportService)Called by the framework to set the  ReportService. | 
protected void setReportService(ReportService reportService)
ReportService.reportService - The ReportServiceprotected void activate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextprotected void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextprotected void setEMFFormsDatabinding(EMFFormsDatabinding emfFormsDatabinding)
EMFFormsDatabinding.emfFormsDatabinding - The EMFFormsDatabindingpublic void prepareDomainObject(VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainObject) throws EMFFormsExpandingFailedException
domain object for the given VDomainModelReference. Thereby, the path defined
 by the VDomainModelReference is analyzed and missing objects in the domain model are created. Thereby,
 the VDomainModelReference is not changed.
 
 Example:
 DMR: A -> B -> x
 domain model is instance of A but does not reference an instance of B
 => An instance of B is created and referenced by the domain model.
prepareDomainObject in interface EMFFormsDMRExpanderdomainModelReference - The VDomainModelReference for which the domain object should
            be prepared.domainObject - The domain object to prepare.EMFFormsExpandingFailedException - if the domain expansion fails.EMFFormsDMRExpander.prepareDomainObject(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
      org.eclipse.emf.ecore.EObject)public double isApplicable(VDomainModelReference domainModelReference)
EMFFormsDMRExpander is for the given VDomainModelReference.isApplicable in interface EMFFormsDMRExpanderdomainModelReference - The VDomainModelReference for which a domain object should
            be prepared.EMFFormsDMRExpander is to expand a domain
         object for the given VDomainModelReference. Returns NOT_APPLICABLE if it's not applicable.EMFFormsDMRExpander.isApplicable(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)Copyright © 2017. All rights reserved.