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