Skip to content

Package: ReferenceStyleEditPlugin

ReferenceStyleEditPlugin

nameinstructionbranchcomplexitylinemethod
ReferenceStyleEditPlugin()
M: 0 C: 9
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
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-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: * EclipseSource Munich - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.template.style.reference.model.provider;
15:
16: import org.eclipse.emf.common.EMFPlugin;
17:
18: import org.eclipse.emf.common.util.ResourceLocator;
19:
20: import org.eclipse.emf.ecp.view.template.model.provider.TemplateEditPlugin;
21:
22: /**
23: * This is the central singleton for the ReferenceStyle edit plugin.
24: * <!-- begin-user-doc -->
25: * <!-- end-user-doc -->
26: *
27: * @generated
28: */
29: public final class ReferenceStyleEditPlugin extends EMFPlugin {
30:         /**
31:          * Keep track of the singleton.
32:          * <!-- begin-user-doc -->
33:          * <!-- end-user-doc -->
34:          *
35:          * @generated
36:          */
37:         public static final ReferenceStyleEditPlugin INSTANCE = new ReferenceStyleEditPlugin();
38:
39:         /**
40:          * Keep track of the singleton.
41:          * <!-- begin-user-doc -->
42:          * <!-- end-user-doc -->
43:          *
44:          * @generated
45:          */
46:         private static Implementation plugin;
47:
48:         /**
49:          * Create the instance.
50:          * <!-- begin-user-doc -->
51:          * <!-- end-user-doc -->
52:          *
53:          * @generated
54:          */
55:         public ReferenceStyleEditPlugin() {
56:                 super(new ResourceLocator[] {
57:                         TemplateEditPlugin.INSTANCE,
58:                 });
59:         }
60:
61:         /**
62:          * Returns the singleton instance of the Eclipse plugin.
63:          * <!-- begin-user-doc -->
64:          * <!-- end-user-doc -->
65:          *
66:          * @return the singleton instance.
67:          * @generated
68:          */
69:         @Override
70:         public ResourceLocator getPluginResourceLocator() {
71:                 return plugin;
72:         }
73:
74:         /**
75:          * Returns the singleton instance of the Eclipse plugin.
76:          * <!-- begin-user-doc -->
77:          * <!-- end-user-doc -->
78:          *
79:          * @return the singleton instance.
80:          * @generated
81:          */
82:         public static Implementation getPlugin() {
83:                 return plugin;
84:         }
85:
86:         /**
87:          * The actual implementation of the Eclipse <b>Plugin</b>.
88:          * <!-- begin-user-doc -->
89:          * <!-- end-user-doc -->
90:          *
91:          * @generated
92:          */
93:         public static class Implementation extends EclipsePlugin {
94:                 /**
95:                  * Creates an instance.
96:                  * <!-- begin-user-doc -->
97:                  * <!-- end-user-doc -->
98:                  *
99:                  * @generated
100:                  */
101:                 public Implementation() {
102:                         super();
103:
104:                         // Remember the static instance.
105:                         //
106:                         plugin = this;
107:                 }
108:         }
109:
110: }