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