1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.probespec.presentation; |
8 | |
9 | import de.uka.ipd.sdq.identifier.provider.IdentifierEditPlugin; |
10 | |
11 | import de.uka.ipd.sdq.pipesandfilters.provider.PipesandfiltersEditPlugin; |
12 | |
13 | import org.eclipse.emf.common.EMFPlugin; |
14 | |
15 | import org.eclipse.emf.common.ui.EclipseUIPlugin; |
16 | |
17 | import org.eclipse.emf.common.util.ResourceLocator; |
18 | |
19 | import org.eclipse.emf.ecore.provider.EcoreEditPlugin; |
20 | |
21 | /** |
22 | * This is the central singleton for the ProbeSpecification editor plugin. |
23 | * <!-- begin-user-doc --> |
24 | * <!-- end-user-doc --> |
25 | * @generated |
26 | */ |
27 | public final class ProbeSpecificationEditorPlugin extends EMFPlugin { |
28 | /** |
29 | * Keep track of the singleton. |
30 | * <!-- begin-user-doc --> |
31 | * <!-- end-user-doc --> |
32 | * @generated |
33 | */ |
34 | public static final ProbeSpecificationEditorPlugin INSTANCE = new ProbeSpecificationEditorPlugin(); |
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 ProbeSpecificationEditorPlugin() { |
51 | super |
52 | (new ResourceLocator [] { |
53 | EcoreEditPlugin.INSTANCE, |
54 | IdentifierEditPlugin.INSTANCE, |
55 | PipesandfiltersEditPlugin.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 EclipseUIPlugin { |
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 | } |