Skip to content

Package: MappingsegmentEditPlugin

MappingsegmentEditPlugin

nameinstructionbranchcomplexitylinemethod
MappingsegmentEditPlugin()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 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-2018 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: * Lucas Koehler - initial API and implementation
13: */
14: package org.eclipse.emfforms.spi.view.mappingsegment.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 Mappingsegment edit plugin. <!--
23: * begin-user-doc --> <!-- end-user-doc -->
24: *
25: * @generated
26: */
27: public final class MappingsegmentEditPlugin extends EMFPlugin {
28:         /**
29:          * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
30:          *
31:          * @generated
32:          */
33:         public static final MappingsegmentEditPlugin INSTANCE = new MappingsegmentEditPlugin();
34:
35:         /**
36:          * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
37:          *
38:          * @generated
39:          */
40:         private static Implementation plugin;
41:
42:         /**
43:          * Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
44:          *
45:          * @generated
46:          */
47:         public MappingsegmentEditPlugin() {
48:                 super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, ViewEditPlugin.INSTANCE, });
49:         }
50:
51:         /**
52:          * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc -->
53:          * <!-- end-user-doc -->
54:          *
55:          * @return the singleton instance.
56:          * @generated
57:          */
58:         @Override
59:         public ResourceLocator getPluginResourceLocator() {
60:                 return plugin;
61:         }
62:
63:         /**
64:          * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc -->
65:          * <!-- end-user-doc -->
66:          *
67:          * @return the singleton instance.
68:          * @generated
69:          */
70:         public static Implementation getPlugin() {
71:                 return plugin;
72:         }
73:
74:         /**
75:          * The actual implementation of the Eclipse <b>Plugin</b>. <!-- begin-user-doc
76:          * --> <!-- end-user-doc -->
77:          *
78:          * @generated
79:          */
80:         public static class Implementation extends EclipsePlugin {
81:                 /**
82:                  * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
83:                  *
84:                  * @generated
85:                  */
86:                 public Implementation() {
87:                         super();
88:
89:                         // Remember the static instance.
90:                         //
91:                         plugin = this;
92:                 }
93:         }
94:
95: }