public class NumberControlRendererTester extends Object implements ECPRendererTester
NOT_APPLICABLE
Constructor and Description |
---|
NumberControlRendererTester() |
Modifier and Type | Method and Description |
---|---|
int |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement and ViewModelContext are fitting for the provided renderer. |
public int isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement
and ViewModelContext
are fitting for the provided renderer.isApplicable
in interface ECPRendererTester
vElement
- the VElement
to checkviewModelContext
- the ViewModelContext
to checkECPRendererTester.NOT_APPLICABLE
if the corresponding renderer should not be used, a positive integer value
otherwise. The renderer with the highest priority will be taken.ECPRendererTester.isApplicable(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
Copyright © 2017. All rights reserved.