Class CompositeCategorySWTTabRendererService
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.categorization.swt.CompositeCategorySWTTabRendererService
-
- All Implemented Interfaces:
EMFFormsDIRendererService<VCategorization>
public class CompositeCategorySWTTabRendererService extends java.lang.Object implements EMFFormsDIRendererService<VCategorization>
CompositeCategorySWTTabRendererService which provides the CompositeCategorySWTTabRenderer.- Author:
- Eugen Neufeld
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emfforms.spi.swt.core.di.EMFFormsDIRendererService
NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description CompositeCategorySWTTabRendererService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends AbstractSWTRenderer<VCategorization>>
getRendererClass()
Returns theClass
for the renderer of this service.double
isApplicable(VElement vElement, ViewModelContext viewModelContext)
Check whether the providedVElement
can be rendered by the renderer defined byEMFFormsDIRendererService.getRendererClass()
.
-
-
-
Method Detail
-
isApplicable
public double isApplicable(VElement vElement, ViewModelContext viewModelContext)
Check whether the providedVElement
can be rendered by the renderer defined byEMFFormsDIRendererService.getRendererClass()
.- Specified by:
isApplicable
in interfaceEMFFormsDIRendererService<VCategorization>
- Parameters:
vElement
- TheVElement
to checkviewModelContext
- TheViewModelContext
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 java.lang.Class<? extends AbstractSWTRenderer<VCategorization>> getRendererClass()
Returns theClass
for the renderer of this service.- Specified by:
getRendererClass
in interfaceEMFFormsDIRendererService<VCategorization>
- Returns:
- the
Class
- See Also:
EMFFormsDIRendererService.getRendererClass()
-
-