Skip to content

Package: TemplateEditPlugin$Implementation

TemplateEditPlugin$Implementation

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