Skip to content

Package: SectionEditPlugin

SectionEditPlugin

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