Class DateCellEditorTester
- java.lang.Object
-
- org.eclipse.emf.ecp.edit.internal.swt.table.DateCellEditorTester
-
- All Implemented Interfaces:
ECPCellEditorTester
public class DateCellEditorTester extends java.lang.Object implements ECPCellEditorTester
Tester for a date cell editor.- Author:
- Eugen Neufeld
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emf.ecp.edit.spi.swt.table.ECPCellEditorTester
NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description DateCellEditorTester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intisApplicable(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 theEObjectand theEStructuralFeature.
-
-
-
Method Detail
-
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 theEObjectand theEStructuralFeature.- Specified by:
isApplicablein interfaceECPCellEditorTester- Parameters:
eObject- theEObjectto testfeature- theEStructuralFeatureto testviewModelContext- theViewModelContextto check- Returns:
ECPCellEditorTester.NOT_APPLICABLEif 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, ViewModelContext)
-
-