public class EMFFormsCategorizationRendererService extends Object implements EMFFormsSpreadsheetRendererService<VCategorization>
NOT_APPLICABLE| Constructor and Description |
|---|
EMFFormsCategorizationRendererService() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.framework.BundleContext bundleContext)
The activate method.
|
void |
deactivate(org.osgi.framework.BundleContext bundleContext)
The deactivate method.
|
EMFFormsAbstractSpreadsheetRenderer<VCategorization> |
getRendererInstance(VCategorization vElement,
ViewModelContext viewModelContext)
Returns a renderer.
|
protected EMFFormsSpreadsheetRendererFactory |
getSpreadsheetRendererFactory()
Gets and returns the
EMFFormsSpreadsheetRendererFactory. |
double |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement can be rendered by the EMFFormsAbstractSpreadsheetRenderer provided
by EMFFormsSpreadsheetRendererService.getRendererInstance(VElement, ViewModelContext). |
protected void |
setReportService(ReportService reportService)
The ReportService to use.
|
public EMFFormsCategorizationRendererService()
protected void setReportService(ReportService reportService)
reportService - the reportService to setpublic void activate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextpublic void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextprotected EMFFormsSpreadsheetRendererFactory getSpreadsheetRendererFactory()
EMFFormsSpreadsheetRendererFactory.EMFFormsSpreadsheetRendererFactorypublic double isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement can be rendered by the EMFFormsAbstractSpreadsheetRenderer provided
by EMFFormsSpreadsheetRendererService.getRendererInstance(VElement, ViewModelContext).isApplicable in interface EMFFormsSpreadsheetRendererService<VCategorization>vElement - The VElement to checkviewModelContext - The ViewModelContext to use for the renderer instanceEMFFormsSpreadsheetRendererService.NOT_APPLICABLE if the renderer doesn't fit, a positive value otherwiseEMFFormsSpreadsheetRendererService.isApplicable(VElement,ViewModelContext)public EMFFormsAbstractSpreadsheetRenderer<VCategorization> getRendererInstance(VCategorization vElement, ViewModelContext viewModelContext)
getRendererInstance in interface EMFFormsSpreadsheetRendererService<VCategorization>vElement - The VElement to create the renderer instance forviewModelContext - The ViewModelContext to use for the renderer instanceEMFFormsSpreadsheetRendererService.getRendererInstance(VElement,ViewModelContext)Copyright © 2018. All rights reserved.