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