org.eclipse.emf.ecp.view.internal.categorization.swt
Class CategorizationElementTabbedRendererService
java.lang.Object
org.eclipse.emf.ecp.view.internal.categorization.swt.CategorizationElementTabbedRendererService
- All Implemented Interfaces:
- EMFFormsDIRendererService<VCategorizationElement>
public class CategorizationElementTabbedRendererService
- extends Object
- implements EMFFormsDIRendererService<VCategorizationElement>
CategorizationElementTabbedRendererService which provides the CategorizationElementTabbedSWTRenderer.
- Author:
- Eugen Neufeld
CategorizationElementTabbedRendererService
public CategorizationElementTabbedRendererService()
isApplicable
public double isApplicable(VElement vElement,
ViewModelContext viewModelContext)
- Check whether the provided
VElement
can be rendered by the renderer defined by
EMFFormsDIRendererService.getRendererClass()
.
- Specified by:
isApplicable
in interface EMFFormsDIRendererService<VCategorizationElement>
- Parameters:
vElement
- The VElement
to checkviewModelContext
- The ViewModelContext
to use for the renderer
- Returns:
EMFFormsDIRendererService.NOT_APPLICABLE
if the renderer doesn't fit, a positive value otherwise- See Also:
EMFFormsRendererService.isApplicable(VElement,ViewModelContext)
getRendererClass
public Class<? extends AbstractSWTRenderer<VCategorizationElement>> getRendererClass()
- Returns the
Class
for the renderer of this service.
- Specified by:
getRendererClass
in interface EMFFormsDIRendererService<VCategorizationElement>
- Returns:
- the
Class
- See Also:
EMFFormsDIRendererService.getRendererClass()
Copyright © 2015. All Rights Reserved.