Skip to content

Package: AnnotationEditPlugin

AnnotationEditPlugin

nameinstructionbranchcomplexitylinemethod
AnnotationEditPlugin()
M: 0 C: 13
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
getPlugin()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getPluginResourceLocator()
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%
static {...}
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /**
2: * Copyright (c) 2011-2015 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: * Johannes Faltermeier - initial API and implementation
13: */
14: package org.eclipse.emf.emfforms.spi.view.annotation.model.provider;
15:
16: import org.eclipse.emf.common.EMFPlugin;
17: import org.eclipse.emf.common.util.ResourceLocator;
18: import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
19: import org.eclipse.emf.ecp.view.spi.model.provider.ViewEditPlugin;
20:
21: /**
22: * This is the central singleton for the Annotation edit plugin. <!--
23: * begin-user-doc --> <!-- end-user-doc -->
24: *
25: * @generated
26: */
27: public final class AnnotationEditPlugin extends EMFPlugin {
28:         /**
29:          * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc
30:          * -->
31:          *
32:          * @generated
33:          */
34:         public static final AnnotationEditPlugin INSTANCE = new AnnotationEditPlugin();
35:
36:         /**
37:          * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc
38:          * -->
39:          *
40:          * @generated
41:          */
42:         private static Implementation plugin;
43:
44:         /**
45:          * Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
46:          *
47:          * @generated
48:          */
49:         public AnnotationEditPlugin() {
50:                 super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, ViewEditPlugin.INSTANCE, });
51:         }
52:
53:         /**
54:          * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
55:          * --> <!-- end-user-doc -->
56:          *
57:          * @return the singleton instance.
58:          * @generated
59:          */
60:         @Override
61:         public ResourceLocator getPluginResourceLocator() {
62:                 return plugin;
63:         }
64:
65:         /**
66:          * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
67:          * --> <!-- end-user-doc -->
68:          *
69:          * @return the singleton instance.
70:          * @generated
71:          */
72:         public static Implementation getPlugin() {
73:                 return plugin;
74:         }
75:
76:         /**
77:          * The actual implementation of the Eclipse <b>Plugin</b>. <!--
78:          * begin-user-doc --> <!-- end-user-doc -->
79:          *
80:          * @generated
81:          */
82:         public static class Implementation extends EclipsePlugin {
83:                 /**
84:                  * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
85:                  *
86:                  * @generated
87:                  */
88:                 public Implementation() {
89:                         super();
90:
91:                         // Remember the static instance.
92:                         //
93:                         plugin = this;
94:                 }
95:         }
96:
97: }