Methods Summary |
---|
public static org.cookbook.ch12.MenuPlugIn.MenuPlugInPlugin | 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= MenuPlugInPlugin.getDefault().getResourceBundle();
try {
return bundle.getString(key);
} catch (MissingResourceException e) {
return key;
}
|
public static IWorkspace | getWorkspace()Returns the workspace instance.
return ResourcesPlugin.getWorkspace();
|