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