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