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