Skip to content

Package: MarkerHelperProvider

MarkerHelperProvider

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 5
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) 2019 Christian W. Damus 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: * Christian W. Damus - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.ide.builder;
15:
16: import org.eclipse.core.resources.IFile;
17: import org.eclipse.emf.common.ui.MarkerHelper;
18: import org.eclipse.emfforms.bazaar.Vendor;
19:
20: /**
21: * Protocol for providers of marker helpers that should be registered as OSGi services.
22: * The injection context includes:
23: * <ul>
24: * <li>the {@link IFile} for which markers are to be created</li>
25: * </ul>
26: */
27: // CHECKSTYLE.OFF: InterfaceIsType - Need distinct type for OSGi Service registration
28: public interface MarkerHelperProvider extends Vendor<MarkerHelper> {
29:         /**
30:          * Provider of the default EMF marker helper.
31:          */
32:         MarkerHelperProvider DEFAULT = new DefaultMarkerHelperProvider();
33: }