1 | @Override↵ | | 1 | @Override↵
|
2 | public ResourceLocator getPluginResourceLocator()↵ | | 2 | public ResourceLocator getPluginResourceLocator()↵
|
3 | {↵ | | 3 | {↵
|
4 | return plugin;↵ | | 4 | return plugin;↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * Returns the singleton instance of the Eclipse plugin.↵ | | 7 | * Returns the singleton instance of the Eclipse plugin.↵
|
8 | * @return the singleton instance.↵ | | 8 | * @return the singleton instance.↵
|
9 | */↵ | | 9 | */↵
|
10 | public static Implementation getPlugin()↵ | | 10 | public static Implementation getPlugin()↵
|
11 | {↵ | | 11 | {↵
|
12 | return plugin;↵ | | 12 | return plugin;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | /**↵ | | 14 | /**↵
|
15 | * The actual implementation of the Eclipse <b>Plugin</b>.↵ | | 15 | * The actual implementation of the Eclipse <b>Plugin</b>.↵
|
16 | */↵ | | 16 | */↵
|
17 | public static class Implementation extends EclipseUIPlugin ↵ | | 17 | public static class Implementation extends EclipsePlugin↵
|
18 | {↵ | | 18 | {↵
|
19 | /**↵ | | 19 | /**↵
|
20 | * Creates an instance.↵ | | 20 | * Creates an instance.↵
|
21 | */↵ | | 21 | */↵
|
22 | public Implementation()↵ | | 22 | public Implementation()↵
|
23 | {↵ | | 23 | {↵
|
24 | super();↵ | | 24 | super();↵
|
|
25 | // Remember the static instance.↵ | | 25 | // Remember the static instance.↵
|
26 | //↵ | | 26 | //↵
|
27 | plugin = this; | | 27 | plugin = this;
|