1 | public final class ExporterPlugin extends EMFPlugin↵ | | 1 | public final class ImporterPlugin extends EMFPlugin↵
|
2 | {↵ | | 2 | {↵
|
3 | /**↵ | | 3 | /**↵
|
4 | * The singleton instance of the plugin.↵ | | 4 | * The singleton instance of the plugin.↵
|
5 | */↵ | | 5 | */↵
|
6 | public static final ExporterPlugin INSTANCE = new ExporterPlugin();↵ | | 6 | public static final ImporterPlugin INSTANCE = new ImporterPlugin();↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * The one instance of this class.↵ | | 8 | * The one instance of this class.↵
|
9 | */↵ | | 9 | */↵
|
10 | private static Implementation plugin;↵ | | 10 | private static Implementation plugin;↵
|
11 | ↵ | | 11 | ↵
|
12 | public static final String ID = "org.eclipse.emf.exporter";↵ | | 12 | public static final String ID = "org.eclipse.emf.importer";↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Creates the singleton instance.↵ | | 14 | * Creates the singleton instance.↵
|
15 | */↵ | | 15 | */↵
|
16 | private ExporterPlugin()↵ | | 16 | private ImporterPlugin()↵
|
17 | {↵ | | 17 | {↵
|
18 | super↵ | | 18 | super↵
|
19 | (new ResourceLocator []↵ | | 19 | (new ResourceLocator []↵
|
20 | {↵ | | 20 | {↵
|
21 | ConverterPlugin.INSTANCE↵ | | 21 | ConverterPlugin.INSTANCE↵
|
22 | });↵ | | 22 | });↵
|
23 | }↵ | | 23 | }↵
|
|
24 | /*↵ | | 24 | /*↵
|
25 | * Javadoc copied from base class.↵ | | 25 | * Javadoc copied from base class.↵
|
26 | */↵ | | 26 | */↵
|
27 | @Override↵ | | 27 | @Override↵
|
28 | public ResourceLocator getPluginResourceLocator()↵ | | 28 | public ResourceLocator getPluginResourceLocator()↵
|
29 | {↵ | | 29 | {↵
|
30 | return plugin;↵ | | 30 | return plugin;↵
|
31 | }↵ | | 31 | }↵
|
|
32 | /**↵ | | 32 | /**↵
|
33 | * Returns the singleton instance of the Eclipse plugin.↵ | | 33 | * Returns the singleton instance of the Eclipse plugin.↵
|
34 | * @return the singleton instance.↵ | | 34 | * @return the singleton instance.↵
|
35 | */↵ | | 35 | */↵
|
36 | public static Implementation getPlugin()↵ | | 36 | public static Implementation getPlugin()↵
|
37 | {↵ | | 37 | {↵
|
38 | return plugin;↵ | | 38 | return plugin;↵
|
39 | }↵ | | 39 | }↵
|
|
40 | /**↵ | | 40 | /**↵
|
41 | * The actual implementation of the Eclipse <b>Plugin</b>.↵ | | 41 | * The actual implementation of the Eclipse <b>Plugin</b>.↵
|
42 | */↵ | | 42 | */↵
|
43 | public static class Implementation extends EclipsePlugin↵ | | 43 | public static class Implementation extends EclipsePlugin↵
|
44 | {↵ | | 44 | {↵
|
45 | /**↵ | | 45 | /**↵
|
46 | * Creates an instance.↵ | | 46 | * Creates an instance.↵
|
47 | */↵ | | 47 | */↵
|
48 | public Implementation()↵ | | 48 | public Implementation()↵
|
49 | {↵ | | 49 | {↵
|
50 | super();↵ | | 50 | super();↵
|
|
51 | // Remember the static instance.↵ | | 51 | // Remember the static instance.↵
|
52 | //↵ | | 52 | //↵
|
53 | plugin = this;↵ | | 53 | plugin = this;↵
|
54 | | | 54 |
|