Skip to content

Package: MappingdmrEditPlugin

MappingdmrEditPlugin

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

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.view.spi.mappingdmr.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 Mappingdmr edit plugin. <!--
23: * begin-user-doc --> <!-- end-user-doc -->
24: *
25: * @generated
26: */
27: public final class MappingdmrEditPlugin extends EMFPlugin {
28:         /**
29:          * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc
30:          * -->
31:          *
32:          * @generated
33:          */
34:         public static final MappingdmrEditPlugin INSTANCE = new MappingdmrEditPlugin();
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 MappingdmrEditPlugin() {
50:                 super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE,
51:                         ViewEditPlugin.INSTANCE, });
52:         }
53:
54:         /**
55:          * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
56:          * --> <!-- end-user-doc -->
57:          *
58:          * @return the singleton instance.
59:          * @generated
60:          */
61:         @Override
62:         public ResourceLocator getPluginResourceLocator() {
63:                 return plugin;
64:         }
65:
66:         /**
67:          * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc
68:          * --> <!-- end-user-doc -->
69:          *
70:          * @return the singleton instance.
71:          * @generated
72:          */
73:         public static Implementation getPlugin() {
74:                 return plugin;
75:         }
76:
77:         /**
78:          * The actual implementation of the Eclipse <b>Plugin</b>. <!--
79:          * begin-user-doc --> <!-- end-user-doc -->
80:          *
81:          * @generated
82:          */
83:         public static class Implementation extends EclipsePlugin {
84:                 /**
85:                  * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
86:                  *
87:                  * @generated
88:                  */
89:                 public Implementation() {
90:                         super();
91:
92:                         // Remember the static instance.
93:                         //
94:                         plugin = this;
95:                 }
96:         }
97:
98: }