public class EcorePathsRendererService extends Object implements EMFFormsDIRendererService<VControl>
EcorePathsRenderer.NOT_APPLICABLE| Constructor and Description |
|---|
EcorePathsRendererService() |
| 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. |
protected void setEMFFormsDatabinding(EMFFormsDatabinding databindingService)
EMFFormsDatabinding.databindingService - The EMFFormsDatabindingprotected void setReportService(ReportService reportService)
ReportService.reportService - The ReportServicepublic double isApplicable(VElement vElement, ViewModelContext viewModelContext)
EMFFormsDIRendererServiceVElement 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 otherwisepublic Class<? extends AbstractSWTRenderer<VControl>> getRendererClass()
Class for the renderer of this service.getRendererClass in interface EMFFormsDIRendererService<VControl>ClassEMFFormsDIRendererService.getRendererClass()Copyright © 2020. All rights reserved.