1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package edu.kit.ipd.sdq.completionfeaturemodel.presentation; |
8 | |
9 | import EMOF.provider.QvtmodelsEditPlugin; |
10 | import copyException.provider.CopyexceptionEditPlugin; |
11 | |
12 | import de.uka.ipd.sdq.featuremodel.provider.FeaturemodelEditPlugin; |
13 | |
14 | import de.uka.ipd.sdq.identifier.provider.IdentifierEditPlugin; |
15 | |
16 | import org.eclipse.emf.common.EMFPlugin; |
17 | |
18 | import org.eclipse.emf.common.ui.EclipseUIPlugin; |
19 | |
20 | import org.eclipse.emf.common.util.ResourceLocator; |
21 | |
22 | import org.eclipse.emf.ecore.provider.EcoreEditPlugin; |
23 | |
24 | /** |
25 | * This is the central singleton for the Completionfeaturemodel editor plugin. |
26 | * <!-- begin-user-doc --> |
27 | * <!-- end-user-doc --> |
28 | * @generated |
29 | */ |
30 | public final class CompletionfeaturemodelEditorPlugin extends EMFPlugin { |
31 | /** |
32 | * Keep track of the singleton. |
33 | * <!-- begin-user-doc --> |
34 | * <!-- end-user-doc --> |
35 | * @generated |
36 | */ |
37 | public static final CompletionfeaturemodelEditorPlugin INSTANCE = new CompletionfeaturemodelEditorPlugin(); |
38 | |
39 | /** |
40 | * Keep track of the singleton. |
41 | * <!-- begin-user-doc --> |
42 | * <!-- end-user-doc --> |
43 | * @generated |
44 | */ |
45 | private static Implementation plugin; |
46 | |
47 | /** |
48 | * Create the instance. |
49 | * <!-- begin-user-doc --> |
50 | * <!-- end-user-doc --> |
51 | * @generated |
52 | */ |
53 | public CompletionfeaturemodelEditorPlugin() { |
54 | super |
55 | (new ResourceLocator [] { |
56 | CopyexceptionEditPlugin.INSTANCE, |
57 | EcoreEditPlugin.INSTANCE, |
58 | FeaturemodelEditPlugin.INSTANCE, |
59 | IdentifierEditPlugin.INSTANCE, |
60 | QvtmodelsEditPlugin.INSTANCE, |
61 | }); |
62 | } |
63 | |
64 | /** |
65 | * Returns the singleton instance of the Eclipse plugin. |
66 | * <!-- begin-user-doc --> |
67 | * <!-- end-user-doc --> |
68 | * @return the singleton instance. |
69 | * @generated |
70 | */ |
71 | @Override |
72 | public ResourceLocator getPluginResourceLocator() { |
73 | return plugin; |
74 | } |
75 | |
76 | /** |
77 | * Returns the singleton instance of the Eclipse plugin. |
78 | * <!-- begin-user-doc --> |
79 | * <!-- end-user-doc --> |
80 | * @return the singleton instance. |
81 | * @generated |
82 | */ |
83 | public static Implementation getPlugin() { |
84 | return plugin; |
85 | } |
86 | |
87 | /** |
88 | * The actual implementation of the Eclipse <b>Plugin</b>. |
89 | * <!-- begin-user-doc --> |
90 | * <!-- end-user-doc --> |
91 | * @generated |
92 | */ |
93 | public static class Implementation extends EclipseUIPlugin { |
94 | /** |
95 | * Creates an instance. |
96 | * <!-- begin-user-doc --> |
97 | * <!-- end-user-doc --> |
98 | * @generated |
99 | */ |
100 | public Implementation() { |
101 | super(); |
102 | |
103 | // Remember the static instance. |
104 | // |
105 | plugin = this; |
106 | } |
107 | } |
108 | |
109 | } |