public class DateCellEditorTester extends Object implements MultiAttributeSWTRendererCellEditorTester
Tester
for DateCellEditor.NOT_APPLICABLE
Constructor and Description |
---|
DateCellEditorTester() |
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)
MultiAttributeSWTRendererCellEditorTester
EObject
and the
multi-valued EAttribute
.isApplicable
in interface MultiAttributeSWTRendererCellEditorTester
eObject
- 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 © 2016. All rights reserved.