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