org.eclipse.emf.ecp.makeithappen.ui.emailcontrol
Class EmailControlRendererTest
java.lang.Object
org.eclipse.emf.ecp.makeithappen.ui.emailcontrol.EmailControlRendererTest
- All Implemented Interfaces:
- ECPRendererTester
public class EmailControlRendererTest
- extends Object
- implements ECPRendererTester
The renderer tester for the email control renderer.
- Author:
- Eclipse Modeling Project
EmailControlRendererTest
public EmailControlRendererTest()
isApplicableForFeature
public int isApplicableForFeature(org.eclipse.emf.ecore.EStructuralFeature feature,
VElement vElement,
ViewModelContext context)
- Parameters:
feature
- the structural feature.vElement
- the VElement.context
- the view model context.
- Returns:
- whether the renderer is applicable for the feature.
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 © 2014. All Rights Reserved.