org.eclipse.emf.ecp.view.internal.categorization.swt
Class CategorizationTabRendererTester
java.lang.Object
org.eclipse.emf.ecp.view.internal.categorization.swt.CategorizationTabRendererTester
- All Implemented Interfaces:
- ECPRendererTester
public class CategorizationTabRendererTester
- extends Object
- implements ECPRendererTester
- Author:
- Eugen
CategorizationTabRendererTester
public CategorizationTabRendererTester()
isApplicable
public int isApplicable(VElement vElement,
ViewModelContext viewModelContext)
- Check whether the provided
VElement
and ViewModelContext
are fitting for the provided renderer.
- Specified by:
isApplicable
in interface ECPRendererTester
- Parameters:
vElement
- the VElement
to checkviewModelContext
- the ViewModelContext
to check
- Returns:
ECPRendererTester.NOT_APPLICABLE
if the corresponding renderer should not be used, a positive integer value
otherwise. The renderer with the highest priority will be taken.- See Also:
org.eclipse.emf.ecp.view.spi.swt.ECPRendererTester#isApplicable(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
Copyright © 2014. All Rights Reserved.