Skip to content

Package: RulerepositoryEditPlugin

RulerepositoryEditPlugin

nameinstructionbranchcomplexitylinemethod
RulerepositoryEditPlugin()
M: 17 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 5 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-2016 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.emfforms.spi.rulerepository.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: import org.eclipse.emf.ecp.view.spi.rule.model.provider.RuleEditPlugin;
21:
22: /**
23: * This is the central singleton for the Rulerepository edit plugin. <!--
24: * begin-user-doc --> <!-- end-user-doc -->
25: *
26: * @generated
27: */
28: public final class RulerepositoryEditPlugin extends EMFPlugin {
29:         /**
30:          * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc
31:          * -->
32:          *
33:          * @generated
34:          */
35:         public static final RulerepositoryEditPlugin INSTANCE = new RulerepositoryEditPlugin();
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 RulerepositoryEditPlugin() {
52:                 super(new ResourceLocator[] {
53:                         EcoreEditPlugin.INSTANCE,
54:                         RuleEditPlugin.INSTANCE,
55:                         ViewEditPlugin.INSTANCE,
56:                 });
57:         }
58:
59:         /**
60:          * Returns the singleton instance of the Eclipse plugin.
61:          * <!-- begin-user-doc
62:          * --> <!-- end-user-doc -->
63:          *
64:          * @return the singleton instance.
65:          * @generated
66:          */
67:         @Override
68:         public ResourceLocator getPluginResourceLocator() {
69:                 return plugin;
70:         }
71:
72:         /**
73:          * Returns the singleton instance of the Eclipse plugin.
74:          * <!-- begin-user-doc
75:          * --> <!-- end-user-doc -->
76:          *
77:          * @return the singleton instance.
78:          * @generated
79:          */
80:         public static Implementation getPlugin() {
81:                 return plugin;
82:         }
83:
84:         /**
85:          * The actual implementation of the Eclipse <b>Plugin</b>. <!--
86:          * begin-user-doc --> <!-- end-user-doc -->
87:          *
88:          * @generated
89:          */
90:         public static class Implementation extends EclipsePlugin {
91:                 /**
92:                  * Creates an instance.
93:                  * <!-- begin-user-doc --> <!-- 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: }