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