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