org.eclipse.emf.ecp.edit.internal.swt.reference
Class LinkCellEditorTester
java.lang.Object
org.eclipse.emf.ecp.edit.internal.swt.reference.LinkCellEditorTester
- All Implemented Interfaces:
- ECPCellEditorTester
public class LinkCellEditorTester
- extends Object
- implements ECPCellEditorTester
Tester for a link cell editor.
- Author:
- Eugen Neufeld
Method Summary |
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 . |
LinkCellEditorTester
public LinkCellEditorTester()
isApplicable
public 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
.
- Specified by:
isApplicable
in interface ECPCellEditorTester
- Parameters:
eObject
- the EObject
to testfeature
- the EStructuralFeature
to testviewModelContext
- the ViewModelContext
to check
- Returns:
ECPCellEditorTester.NOT_APPLICABLE
if the corresponding celleditor should not be used, a positive integer value
otherwise. The celleditor with the highest priority will be taken.- See Also:
ECPCellEditorTester.isApplicable(EObject, EStructuralFeature,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
Copyright © 2015. All Rights Reserved.