Methods Summary |
---|
public static org.eclipsebook.ch12.Ch12_02.Ch12_02Plugin | getDefault()Returns the shared instance.
return plugin;
|
public java.util.ResourceBundle | getResourceBundle()Returns the plugin's resource bundle,
return resourceBundle;
|
public static java.lang.String | getResourceString(java.lang.String key)Returns the string from the plugin's resource bundle,
or 'key' if not found.
ResourceBundle bundle= Ch12_02Plugin.getDefault().getResourceBundle();
try {
return bundle.getString(key);
} catch (MissingResourceException e) {
return key;
}
|
public static IWorkspace | getWorkspace()Returns the workspace instance.
return ResourcesPlugin.getWorkspace();
|