Class ECPLegacyControlSWTRendererTester
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.core.swt.renderer.ECPLegacyControlSWTRendererTester
-
- All Implemented Interfaces:
ECPRendererTester
@Deprecated public class ECPLegacyControlSWTRendererTester extends java.lang.Object implements ECPRendererTester
Deprecated.Mimics the behaviour for a static tester checking forVControl
+ an additional check for an existing DMR.- Author:
- Johannes Faltermeier
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emf.ecp.view.model.common.ECPRendererTester
NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description ECPLegacyControlSWTRendererTester()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
isApplicable(VElement vElement, ViewModelContext viewModelContext)
Deprecated.Check whether the providedVElement
andViewModelContext
are fitting for the provided renderer.
-
-
-
Method Detail
-
isApplicable
public int isApplicable(VElement vElement, ViewModelContext viewModelContext)
Deprecated.Description copied from interface:ECPRendererTester
Check whether the providedVElement
andViewModelContext
are fitting for the provided renderer.- Specified by:
isApplicable
in interfaceECPRendererTester
- Parameters:
vElement
- theVElement
to checkviewModelContext
- theViewModelContext
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.
-
-