Skip to content

Package: StringCellEditorTester

StringCellEditorTester

nameinstructionbranchcomplexitylinemethod
StringCellEditorTester()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
isApplicable(EObject, EStructuralFeature, ViewModelContext)
M: 0 C: 2
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2014 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: *******************************************************************************/
14: package org.eclipse.emf.ecp.edit.spi.swt.table;
15:
16: import org.eclipse.emf.ecore.EObject;
17: import org.eclipse.emf.ecore.EStructuralFeature;
18: import org.eclipse.emf.ecp.view.spi.context.ViewModelContext;
19:
20: /**
21: * An {@link ECPCellEditorTester} testing whether a StringCellEditor is applicable.
22: *
23: * @author Eugen Neufeld
24: * @since 1.14
25: *
26: */
27: public class StringCellEditorTester implements ECPCellEditorTester {
28:
29:         /**
30:          * {@inheritDoc}
31:          *
32:          * @see ECPCellEditorTester#isApplicable(EObject, EStructuralFeature,
33:          * org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
34:          */
35:         @Override
36:         public int isApplicable(EObject eObject, EStructuralFeature eStructuralFeature, ViewModelContext viewModelContext) {
37:                 return 0;
38:         }
39:
40: }