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