public class GroupSWTRendererService extends Object implements EMFFormsDIRendererService<VGroup>
NOT_APPLICABLE
Constructor and Description |
---|
GroupSWTRendererService() |
Modifier and Type | Method and Description |
---|---|
Class<? extends AbstractSWTRenderer<VGroup>> |
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<VGroup>
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<VGroup>> getRendererClass()
Class
for the renderer of this service.getRendererClass
in interface EMFFormsDIRendererService<VGroup>
Class
EMFFormsDIRendererService.getRendererClass()
Copyright © 2019. All rights reserved.