Class MultiReferenceCellEditorTester
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.table.swt.cell.MultiReferenceCellEditorTester
-
- All Implemented Interfaces:
ECPCellEditorTester
public class MultiReferenceCellEditorTester extends java.lang.Object implements ECPCellEditorTester
Tester for theMultiReferenceCellEditor
.- Since:
- 1.18
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emf.ecp.edit.spi.swt.table.ECPCellEditorTester
NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description MultiReferenceCellEditorTester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 theEObject
and theEStructuralFeature
.
-
-
-
Method Detail
-
isApplicable
public int isApplicable(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ViewModelContext viewModelContext)
Description copied from interface:ECPCellEditorTester
Returns the priority of the corresponding celleditor for the combination of theEObject
and theEStructuralFeature
.- Specified by:
isApplicable
in interfaceECPCellEditorTester
- Parameters:
eObject
- theEObject
to testeStructuralFeature
- theEStructuralFeature
to testviewModelContext
- theViewModelContext
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.
-
-