public class TableDetailViewControlSWTRendererService extends Object implements EMFFormsDIRendererService<VControl>
TableDetailViewControlSWTRenderer
.NOT_APPLICABLE
Constructor and Description |
---|
TableDetailViewControlSWTRendererService() |
Modifier and Type | Method and Description |
---|---|
Class<? extends AbstractSWTRenderer<VControl>> |
getRendererClass()
Returns the
Class for the renderer of this service. |
double |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement can be rendered by the renderer defined by
EMFFormsDIRendererService.getRendererClass() . |
protected void |
setEMFFormsDatabinding(EMFFormsDatabinding databindingService)
Called by the framework to set the
EMFFormsDatabinding . |
protected void |
setReportService(ReportService reportService)
Called by the framework to set the
ReportService . |
public TableDetailViewControlSWTRendererService()
protected void setEMFFormsDatabinding(EMFFormsDatabinding databindingService)
EMFFormsDatabinding
.databindingService
- The EMFFormsDatabinding
protected void setReportService(ReportService reportService)
ReportService
.reportService
- The ReportService
public double isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement
can be rendered by the renderer defined by
EMFFormsDIRendererService.getRendererClass()
.isApplicable
in interface EMFFormsDIRendererService<VControl>
vElement
- The VElement
to checkviewModelContext
- The ViewModelContext
to use for the rendererEMFFormsDIRendererService.NOT_APPLICABLE
if the renderer doesn't fit, a positive value otherwiseEMFFormsDIRendererService.isApplicable(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public Class<? extends AbstractSWTRenderer<VControl>> getRendererClass()
Class
for the renderer of this service.getRendererClass
in interface EMFFormsDIRendererService<VControl>
Class
EMFFormsDIRendererService.getRendererClass()
Copyright © 2016. All rights reserved.