Skip to content

Package: MultisegmentEditPlugin

MultisegmentEditPlugin

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