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