1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.markov.presentation; |
8 | |
9 | import org.eclipse.emf.common.EMFPlugin; |
10 | |
11 | import org.eclipse.emf.common.ui.EclipseUIPlugin; |
12 | |
13 | import org.eclipse.emf.common.util.ResourceLocator; |
14 | |
15 | /** |
16 | * This is the central singleton for the Markov editor plugin. |
17 | * <!-- begin-user-doc --> |
18 | * <!-- end-user-doc --> |
19 | * @generated |
20 | */ |
21 | public final class MarkovEditorPlugin extends EMFPlugin { |
22 | /** |
23 | * Keep track of the singleton. |
24 | * <!-- begin-user-doc --> |
25 | * <!-- end-user-doc --> |
26 | * @generated |
27 | */ |
28 | public static final MarkovEditorPlugin INSTANCE = new MarkovEditorPlugin(); |
29 | |
30 | /** |
31 | * Keep track of the singleton. |
32 | * <!-- begin-user-doc --> |
33 | * <!-- end-user-doc --> |
34 | * @generated |
35 | */ |
36 | private static Implementation plugin; |
37 | |
38 | /** |
39 | * Create the instance. |
40 | * <!-- begin-user-doc --> |
41 | * <!-- end-user-doc --> |
42 | * @generated |
43 | */ |
44 | public MarkovEditorPlugin() { |
45 | super |
46 | (new ResourceLocator [] { |
47 | }); |
48 | } |
49 | |
50 | /** |
51 | * Returns the singleton instance of the Eclipse plugin. |
52 | * <!-- begin-user-doc --> |
53 | * <!-- end-user-doc --> |
54 | * @return the singleton instance. |
55 | * @generated |
56 | */ |
57 | @Override |
58 | public ResourceLocator getPluginResourceLocator() { |
59 | return plugin; |
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 | public static Implementation getPlugin() { |
70 | return plugin; |
71 | } |
72 | |
73 | /** |
74 | * The actual implementation of the Eclipse <b>Plugin</b>. |
75 | * <!-- begin-user-doc --> |
76 | * <!-- end-user-doc --> |
77 | * @generated |
78 | */ |
79 | public static class Implementation extends EclipseUIPlugin { |
80 | /** |
81 | * Creates an instance. |
82 | * <!-- begin-user-doc --> |
83 | * <!-- end-user-doc --> |
84 | * @generated |
85 | */ |
86 | public Implementation() { |
87 | super(); |
88 | |
89 | // Remember the static instance. |
90 | // |
91 | plugin = this; |
92 | } |
93 | } |
94 | |
95 | } |