Skip to content

Package: IndexsegmentEditPlugin

IndexsegmentEditPlugin

nameinstructionbranchcomplexitylinemethod
IndexsegmentEditPlugin()
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-2018 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.spi.view.indexsegment.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 Indexsegment edit plugin. <!--
23: * begin-user-doc --> <!-- end-user-doc -->
24: *
25: * @generated
26: */
27: public final class IndexsegmentEditPlugin extends EMFPlugin {
28:         /**
29:          * Keep track of the singleton.
30:          * <!-- begin-user-doc --> <!-- end-user-doc -->
31:          *
32:          * @generated
33:          */
34:         public static final IndexsegmentEditPlugin INSTANCE = new IndexsegmentEditPlugin();
35:
36:         /**
37:          * Keep track of the singleton.
38:          * <!-- begin-user-doc --> <!-- end-user-doc -->
39:          *
40:          * @generated
41:          */
42:         private static Implementation plugin;
43:
44:         /**
45:          * Create the instance.
46:          * <!-- begin-user-doc --> <!-- end-user-doc -->
47:          *
48:          * @generated
49:          */
50:         public IndexsegmentEditPlugin() {
51:                 super(new ResourceLocator[] {
52:                         EcoreEditPlugin.INSTANCE,
53:                         ViewEditPlugin.INSTANCE,
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 --> <!-- 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: }