org.eclipse.emf.ecp.view.mappingdmr.tooling
Class FeaturePathDMRSubMappedEClassReferenceTester
java.lang.Object
org.eclipse.emf.ecp.view.mappingdmr.tooling.FeaturePathDMRSubMappedEClassReferenceTester
- All Implemented Interfaces:
- ECPRendererTester
public class FeaturePathDMRSubMappedEClassReferenceTester
- extends Object
- implements ECPRendererTester
A Tester for the FeaturePathControl which is added as a child of a VMappingDomainModelReference.
- Author:
- Eugen Neufeld
FeaturePathDMRSubMappedEClassReferenceTester
public FeaturePathDMRSubMappedEClassReferenceTester()
isApplicable
public int isApplicable(VElement vElement,
ViewModelContext viewModelContext)
- Description copied from interface:
ECPRendererTester
- 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.
Copyright © 2015. All Rights Reserved.