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