public class SWTCategorizationRendererService extends Object implements EMFFormsDIRendererService<VCategorization>
NOT_APPLICABLE
Constructor and Description |
---|
SWTCategorizationRendererService() |
Modifier and Type | Method and Description |
---|---|
Class<? extends AbstractSWTRenderer<VCategorization>> |
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() . |
public double isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement
can be rendered by the renderer defined by
EMFFormsDIRendererService.getRendererClass()
.isApplicable
in interface EMFFormsDIRendererService<VCategorization>
vElement
- The VElement
to checkviewModelContext
- The ViewModelContext
to use for the rendererEMFFormsDIRendererService.NOT_APPLICABLE
if the renderer doesn't fit, a positive value otherwiseEMFFormsRendererService.isApplicable(VElement,ViewModelContext)
public Class<? extends AbstractSWTRenderer<VCategorization>> getRendererClass()
Class
for the renderer of this service.getRendererClass
in interface EMFFormsDIRendererService<VCategorization>
Class
EMFFormsDIRendererService.getRendererClass()
Copyright © 2016. All rights reserved.