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