1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.pcm.cost.provider; |
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.util.ResourceLocator; |
22 | import org.eclipse.emf.ecore.provider.EcoreEditPlugin; |
23 | |
24 | /** |
25 | * This is the central singleton for the CostModel edit plugin. |
26 | * <!-- begin-user-doc --> |
27 | * <!-- end-user-doc --> |
28 | * @generated |
29 | */ |
30 | public final class CostModelEditPlugin extends EMFPlugin { |
31 | /** |
32 | * Keep track of the singleton. |
33 | * <!-- begin-user-doc --> |
34 | * <!-- end-user-doc --> |
35 | * @generated |
36 | */ |
37 | public static final CostModelEditPlugin INSTANCE = new CostModelEditPlugin(); |
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 CostModelEditPlugin() { |
54 | super |
55 | (new ResourceLocator [] { |
56 | EcoreEditPlugin.INSTANCE, |
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 EclipsePlugin { |
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 | } |