public interface ECPCellEditorTester
isApplicable(EObject, EStructuralFeature, ViewModelContext)
method which is used to
determine
the priority of a celleditor. The celleditor with the highest priority for a combination of an EObject
and a
feature will be used.Modifier and Type | Field and Description |
---|---|
static int |
NOT_APPLICABLE
Return this whenever the renderer should not be used for the tested
ViewModelContext . |
Modifier and Type | Method and Description |
---|---|
int |
isApplicable(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
ViewModelContext viewModelContext)
Returns the priority of the corresponding celleditor for the combination of the
EObject and the
EStructuralFeature . |
static final int NOT_APPLICABLE
ViewModelContext
.int isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ViewModelContext viewModelContext)
EObject
and the
EStructuralFeature
.eStructuralFeature
- the EStructuralFeature
to testeObject
- the EObject
to testviewModelContext
- the ViewModelContext
to checkNOT_APPLICABLE
if the corresponding celleditor should not be used, a positive integer value
otherwise. The celleditor with the highest priority will be taken.Copyright © 2017. All rights reserved.