public class StringCellEditorTester extends Object implements ECPCellEditorTester
ECPCellEditorTester testing whether a StringCellEditor is applicable.NOT_APPLICABLE| Constructor and Description |
|---|
StringCellEditorTester() |
| 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. |
public int isApplicable(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
ViewModelContext viewModelContext)
EObject and the
EStructuralFeature.isApplicable in interface ECPCellEditorTestereObject - the EObject to testeStructuralFeature - 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,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)Copyright © 2018. All rights reserved.