Skip to content

Package: GroupedGridEditPlugin

GroupedGridEditPlugin

nameinstructionbranchcomplexitylinemethod
GroupedGridEditPlugin()
M: 0 C: 13
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 4
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-2013 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.groupedgrid.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 GroupedGrid edit plugin.
23: * <!-- begin-user-doc -->
24: * <!-- end-user-doc -->
25: *
26: * @generated
27: * @since 1.2
28: */
29: public final class GroupedGridEditPlugin 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 GroupedGridEditPlugin INSTANCE = new GroupedGridEditPlugin();
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 GroupedGridEditPlugin() {
56:                 super(new ResourceLocator[] {
57:                         EcoreEditPlugin.INSTANCE,
58:                         ViewEditPlugin.INSTANCE,
59:                 });
60:         }
61:
62:         /**
63:          * Returns the singleton instance of the Eclipse plugin.
64:          * <!-- begin-user-doc -->
65:          * <!-- end-user-doc -->
66:          *
67:          * @return the singleton instance.
68:          * @generated
69:          */
70:         @Override
71:         public ResourceLocator getPluginResourceLocator() {
72:                 return plugin;
73:         }
74:
75:         /**
76:          * Returns the singleton instance of the Eclipse plugin.
77:          * <!-- begin-user-doc -->
78:          * <!-- end-user-doc -->
79:          *
80:          * @return the singleton instance.
81:          * @generated
82:          */
83:         public static Implementation getPlugin() {
84:                 return plugin;
85:         }
86:
87:         /**
88:          * The actual implementation of the Eclipse <b>Plugin</b>.
89:          * <!-- begin-user-doc -->
90:          * <!-- end-user-doc -->
91:          *
92:          * @generated
93:          */
94:         public static class Implementation extends EclipsePlugin {
95:                 /**
96:                  * Creates an instance.
97:                  * <!-- begin-user-doc -->
98:                  * <!-- end-user-doc -->
99:                  *
100:                  * @generated
101:                  */
102:                 public Implementation() {
103:                         super();
104:
105:                         // Remember the static instance.
106:                         //
107:                         plugin = this;
108:                 }
109:         }
110:
111: }