org.eclipse.emf.ecp.view.internal.editor.controls
Class LeafConditionControlRendererTester
java.lang.Object
org.eclipse.emf.ecp.view.internal.editor.controls.LeafConditionControlRendererTester
- All Implemented Interfaces:
- ECPRendererTester
public class LeafConditionControlRendererTester
- extends Object
- implements ECPRendererTester
- Author:
- Alexandra Buzila
LeafConditionControlRendererTester
public LeafConditionControlRendererTester()
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:
ECPRendererTester.isApplicable(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
Copyright © 2015. All Rights Reserved.