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