public interface MultiAttributeSWTRendererCellEditorTester
isApplicable(EObject, EAttribute, 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 double |
NOT_APPLICABLE
Return this whenever the renderer should not be used for the tested
ViewModelContext . |
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 . |
static final double NOT_APPLICABLE
ViewModelContext
.double isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EAttribute multiAttribute, ViewModelContext viewModelContext)
EObject
and the
multi-valued EAttribute
.multiAttribute
- the EAttribute
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.