public class BooleanControlSWTRendererService extends Object implements EMFFormsDIRendererService<VControl>
NOT_APPLICABLE
Constructor and Description |
---|
BooleanControlSWTRendererService() |
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 initializer to set the EMFFormsDatabinding.
|
protected void |
setReportService(ReportService reportService)
Called by the initializer to set the ReportService.
|
protected void setEMFFormsDatabinding(EMFFormsDatabinding databindingService)
databindingService
- The EMFFormsDatabindingprotected void setReportService(ReportService reportService)
reportService
- The ReportServicepublic 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(VElement,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.