1 | public final class EcoreEditPlugin extends EMFPlugin↵ | | 1 | public final class XMIPlugin extends EMFPlugin ↵
|
2 | {↵ | | 2 | {↵
|
3 | /**↵ | | 3 | /**↵
|
4 | * Keep track of the singleton.↵ | | 4 | * ↵
|
5 | * <!-- begin-user-doc -->↵ | | |
|
6 | * <!-- end-user-doc -->↵ | | |
|
7 | * @generated↵ | | 5 | The singleton instance of the plugin.↵
|
8 | */↵ | | 6 | */↵
|
9 | public static final EcoreEditPlugin INSTANCE = new EcoreEditPlugin();↵ | | 7 | public static final XMIPlugin INSTANCE = new XMIPlugin();↵
|
|
10 | /**↵ | | 8 | /**↵
|
11 | * Keep track of the singleton.↵ | | 9 | * ↵
|
12 | * <!-- begin-user-doc -->↵ | | |
|
13 | * <!-- end-user-doc -->↵ | | |
|
14 | * @generated↵ | | 10 | The one instance of this class.↵
|
15 | */↵ | | 11 | */↵
|
16 | private static Implementation plugin;↵ | | 12 | private static Implementation plugin;↵
|
|
17 | /**↵ | | 13 | /**↵
|
18 | * Create the instance.↵ | | 14 | * Creates the ↵
|
19 | * <!-- begin-user-doc -->↵ | | |
|
20 | * <!-- end-user-doc -->↵ | | |
|
21 | * @generated↵ | | |
|
22 | */↵ | | |
|
23 | public EcoreEdit↵ | | 15 | singleton instance.↵
|
| | | 16 | */↵
|
24 | Plugin()↵ | | 17 | private XMIPlugin()↵
|
25 | {↵ | | 18 | {↵
|
26 | super↵ | | 19 | super↵
|
27 | (new ResourceLocator [] ↵ | | 20 | (new ResourceLocator[] ↵
|
28 | {↵ | | |
|
29 | });↵ | | 21 | {});↵
|
30 | }↵ | | 22 | }↵
|
|
31 | /**↵ | | 23 | /*↵
|
32 | * Returns the singleton instance of the Eclipse plugin.↵ | | 24 | * ↵
|
33 | * <!-- begin-user-doc -->↵ | | |
|
34 | * <!-- end-user-doc -->↵ | | |
|
35 | * @return the singleton instance.↵ | | |
|
36 | * @generated↵ | | 25 | Javadoc copied from base class.↵
|
37 | */↵ | | 26 | */↵
|
38 | @Override↵ | | 27 | @Override↵
|
39 | public ResourceLocator getPluginResourceLocator()↵ | | 28 | public ResourceLocator getPluginResourceLocator()↵
|
40 | {↵ | | 29 | {↵
|
41 | return plugin;↵ | | 30 | return plugin;↵
|
42 | }↵ | | 31 | }↵
|
|
43 | /**↵ | | 32 | /**↵
|
44 | * Returns the singleton instance of the Eclipse plugin.↵ | | 33 | * Returns the singleton instance of the Eclipse plugin.↵
|
45 | * <!-- begin-user-doc -->↵ | | |
|
46 | * <!-- end-user-doc -->↵ | | |
|
47 | * @return the singleton instance.↵ | | 34 | * @return the singleton instance.↵
|
48 | * @generated↵ | | |
|
49 | */↵ | | 35 | */↵
|
50 | public static Implementation getPlugin()↵ | | 36 | public static Implementation getPlugin()↵
|
51 | {↵ | | 37 | {↵
|
52 | return plugin;↵ | | 38 | return plugin;↵
|
53 | }↵ | | 39 | }↵
|
|
54 | /**↵ | | 40 | /**↵
|
55 | * The actual implementation of the Eclipse <b>Plugin</b>.↵ | | 41 | * The actual implementation of the Eclipse <b>Plugin</b>.↵
|
56 | * <!-- begin-user-doc -->↵ | | |
|
57 | * <!-- end-user-doc -->↵ | | |
|
58 | * @generated↵ | | |
|
59 | */↵ | | 42 | */↵
|
60 | public static class Implementation extends EclipsePlugin↵ | | 43 | public static class Implementation extends EclipsePlugin ↵
|
61 | {↵ | | 44 | {↵
|
62 | /**↵ | | 45 | /**↵
|
63 | * Creates an instance.↵ | | 46 | * Creates an instance.↵
|
64 | * <!-- begin-user-doc -->↵ | | |
|
65 | * <!-- end-user-doc -->↵ | | |
|
66 | * @generated↵ | | |
|
67 | */↵ | | 47 | */↵
|
68 | public Implementation()↵ | | 48 | public Implementation()↵
|
69 | {↵ | | 49 | {↵
|
70 | super();↵ | | 50 | super();↵
|
|
71 | // Remember the static instance.↵ | | 51 | // Remember the static instance.↵
|
72 | //↵ | | 52 | //↵
|
73 | plugin = this;↵ | | 53 | plugin = this;↵
|
74 | | | 54 |
|