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