Skip to content

Package: KeyattributedmrEditPlugin$Implementation

KeyattributedmrEditPlugin$Implementation

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