public class BooleanCellEditorTester extends Object implements ECPCellEditorTester
BooleanCellEditor
.NOT_APPLICABLE
Constructor and Description |
---|
BooleanCellEditorTester() |
Modifier and Type | Method and Description |
---|---|
int |
isApplicable(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext viewModelContext)
Returns the priority of the corresponding celleditor for the combination of the
EObject and the
EStructuralFeature . |
public int isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, ViewModelContext viewModelContext)
EObject
and the
EStructuralFeature
.isApplicable
in interface ECPCellEditorTester
eObject
- the EObject
to testfeature
- the EStructuralFeature
to testviewModelContext
- the ViewModelContext
to checkECPCellEditorTester.NOT_APPLICABLE
if the corresponding celleditor should not be used, a positive integer value
otherwise. The celleditor with the highest priority will be taken.ECPCellEditorTester.isApplicable(EObject, EStructuralFeature, ViewModelContext)
Copyright © 2019. All rights reserved.