Skip to content

Package: HorizontalEditPlugin

HorizontalEditPlugin

nameinstructionbranchcomplexitylinemethod
HorizontalEditPlugin()
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: 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-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.horizontal.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 Horizontal edit plugin.
23: * <!-- begin-user-doc -->
24: *
25: * @since 1.2
26: * <!-- end-user-doc -->
27: *
28: * @generated
29: */
30: public final class HorizontalEditPlugin extends EMFPlugin {
31:         /**
32:          * Keep track of the singleton.
33:          * <!-- begin-user-doc -->
34:          * <!-- end-user-doc -->
35:          *
36:          * @generated
37:          */
38:         public static final HorizontalEditPlugin INSTANCE = new HorizontalEditPlugin();
39:
40:         /**
41:          * Keep track of the singleton.
42:          * <!-- begin-user-doc -->
43:          * <!-- end-user-doc -->
44:          *
45:          * @generated
46:          */
47:         private static Implementation plugin;
48:
49:         /**
50:          * Create the instance.
51:          * <!-- begin-user-doc -->
52:          * <!-- end-user-doc -->
53:          *
54:          * @generated
55:          */
56:         public HorizontalEditPlugin() {
57:                 super(new ResourceLocator[] {
58:                         EcoreEditPlugin.INSTANCE,
59:                         ViewEditPlugin.INSTANCE,
60:                 });
61:         }
62:
63:         /**
64:          * Returns the singleton instance of the Eclipse plugin.
65:          * <!-- begin-user-doc -->
66:          * <!-- end-user-doc -->
67:          *
68:          * @return the singleton instance.
69:          * @generated
70:          */
71:         @Override
72:         public ResourceLocator getPluginResourceLocator() {
73:                 return plugin;
74:         }
75:
76:         /**
77:          * Returns the singleton instance of the Eclipse plugin.
78:          * <!-- begin-user-doc -->
79:          * <!-- end-user-doc -->
80:          *
81:          * @return the singleton instance.
82:          * @generated
83:          */
84:         public static Implementation getPlugin() {
85:                 return plugin;
86:         }
87:
88:         /**
89:          * The actual implementation of the Eclipse <b>Plugin</b>.
90:          * <!-- begin-user-doc -->
91:          * <!-- end-user-doc -->
92:          *
93:          * @generated
94:          */
95:         public static class Implementation extends EclipsePlugin {
96:                 /**
97:                  * Creates an instance.
98:                  * <!-- begin-user-doc -->
99:                  * <!-- end-user-doc -->
100:                  *
101:                  * @generated
102:                  */
103:                 public Implementation() {
104:                         super();
105:
106:                         // Remember the static instance.
107:                         //
108:                         plugin = this;
109:                 }
110:         }
111:
112: }