Skip to content

Package: ErrorEditPlugin

ErrorEditPlugin

nameinstructionbranchcomplexitylinemethod
ErrorEditPlugin()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 4 C: 0
0%
M: 1 C: 0
0%
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: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

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