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