1 | /** |
2 | * Copyright 2007 by SDQ, IPD, University of Karlsruhe, Germany |
3 | * |
4 | * $Id$ |
5 | */ |
6 | package de.uka.ipd.sdq.pcm.core.presentation; |
7 | |
8 | import org.eclipse.emf.common.EMFPlugin; |
9 | import org.eclipse.emf.common.ui.EclipseUIPlugin; |
10 | import org.eclipse.emf.common.util.ResourceLocator; |
11 | |
12 | import de.uka.ipd.sdq.identifier.provider.IdentifierEditPlugin; |
13 | import de.uka.ipd.sdq.probfunction.provider.ProbabilityFunctionEditPlugin; |
14 | import de.uka.ipd.sdq.stoex.provider.StoexEditPlugin; |
15 | import de.uka.ipd.sdq.units.provider.UnitsEditPlugin; |
16 | |
17 | /** |
18 | * This is the central singleton for the PalladioComponentModel editor plugin. |
19 | * <!-- begin-user-doc --> |
20 | * <!-- end-user-doc --> |
21 | * @generated |
22 | */ |
23 | public final class PalladioComponentModelEditorPlugin extends EMFPlugin { |
24 | /** |
25 | * <!-- begin-user-doc --> |
26 | * <!-- end-user-doc --> |
27 | * @generated |
28 | */ |
29 | public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany"; |
30 | |
31 | /** |
32 | * Keep track of the singleton. |
33 | * <!-- begin-user-doc --> |
34 | * <!-- end-user-doc --> |
35 | * @generated |
36 | */ |
37 | public static final PalladioComponentModelEditorPlugin INSTANCE = new PalladioComponentModelEditorPlugin(); |
38 | |
39 | /** |
40 | * Keep track of the singleton. |
41 | * <!-- begin-user-doc --> |
42 | * <!-- end-user-doc --> |
43 | * @generated |
44 | */ |
45 | private static Implementation plugin; |
46 | |
47 | /** |
48 | * Create the instance. |
49 | * <!-- begin-user-doc --> |
50 | * <!-- end-user-doc --> |
51 | * @generated |
52 | */ |
53 | public PalladioComponentModelEditorPlugin() { |
54 | super |
55 | (new ResourceLocator [] { |
56 | IdentifierEditPlugin.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 EclipseUIPlugin { |
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 | } |