public class EnumCellEditorTester extends Object implements MultiAttributeSWTRendererCellEditorTester
EEnum type.NOT_APPLICABLE| Constructor and Description |
|---|
EnumCellEditorTester() |
| Modifier and Type | Method and Description |
|---|---|
double |
isApplicable(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EAttribute multiAttribute,
ViewModelContext viewModelContext)
Returns the priority of the corresponding celleditor for the combination of the
EObject and the
multi-valued EAttribute. |
public double isApplicable(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EAttribute multiAttribute,
ViewModelContext viewModelContext)
MultiAttributeSWTRendererCellEditorTesterEObject and the
multi-valued EAttribute.isApplicable in interface MultiAttributeSWTRendererCellEditorTestereObject - the EObject to testmultiAttribute - the EAttribute to testviewModelContext - the ViewModelContext to checkMultiAttributeSWTRendererCellEditorTester.NOT_APPLICABLE if the corresponding celleditor should not be used, a positive integer value
otherwise. The celleditor with the highest priority will be taken.Copyright © 2020. All rights reserved.