Skip to content

Package: LabelWidthStyleEditPlugin

LabelWidthStyleEditPlugin

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