java.lang.Object AbstractUIPlugin com.ibm.etools.mft.api.MessageFlowAPIPlugin
public final class MessageFlowAPIPlugin
extends AbstractUIPlugin
This class provides general plugin support to the Message Flow plugins as well as the Message Node author writing Property Editors or complier class.
Field | Description |
---|---|
copyright | |
NODE_EXT_ID | |
PLUGIN_ID |
Constructor | Description |
---|---|
MessageFlowAPIPlugin() |
Method | Description |
---|---|
ClassLoader getClassLoader(String) | Deprecated. Use Eclipse API's to load classes |
URL getIconURL(String) | This gets the url from the icons folder. |
Image getImage(String) | Get a .gif from the image registry, which caches the icons folder. |
ImageDescriptor getImageDescriptor(String) | This gets a .gif from the icons folder. |
MessageFlowAPIPlugin getInstance() | Loads the plugin if not already loaded. |
Plugin getInstance(String) | Loads some other plugin given the ID Usefull for plugins that do not have a plugin class Examples are ISV Message nodes plugin project |
ResourceBundle getResourceBundle() | Provides access to the plugin's resource bundle. |
ResourceBundle getResourceBundle(String, String) | Deprecated. Should use eclipse API's to obtain resources |
Shell getShell() | Returns the SWT Shell of the active workbench window or null
if no workbench window is active. |
Class loadClass(String, String) |
public static final java.lang.String copyright
public static final java.lang.String NODE_EXT_ID
public static final java.lang.String PLUGIN_ID
public MessageFlowAPIPlugin()
- Parameters
- descriptor -
Deprecated. Use Eclipse API's to load classes
public static final ClassLoader getClassLoader(String pluginId)Returns the class loader of another plugin Typically used for plugins with no explicit Plugin class
- Parameters
- pluginId - The ID of some other plugin
- Returns
- The ClassLoader
public URL getIconURL(String key)This gets the url from the icons folder.
public Image getImage(String key)Get a .gif from the image registry, which caches the icons folder.
public ImageDescriptor getImageDescriptor(String key)This gets a .gif from the icons folder.
public static final MessageFlowAPIPlugin getInstance()Loads the plugin if not already loaded. In the majority of cases, the plugin is loaded by the Eclipse platform due to dependencies
- Returns
- The instance of this plugin
public static final Plugin getInstance(String pluginId)Loads some other plugin given the ID Usefull for plugins that do not have a plugin class Examples are ISV Message nodes plugin project
- Returns
- The instance of the other plugin
public final ResourceBundle getResourceBundle()Provides access to the plugin's resource bundle. This will cause the plugin to load if not already loaded
- Returns
- java.util.ResourceBundle
Deprecated. Should use eclipse API's to obtain resources
public static final ResourceBundle getResourceBundle(String bundleName, String pluginId)Returns the bundle given the name of the bundle name and the pluginId of another plugin
- Parameters
- bundleName - The name of the resource bundle to load (omit the extension)
- pluginId - The plugin Id which is hosting the resource bundle
- Returns
- The specified plugin resource bundle
public final Shell getShell()Returns the SWT Shell of the active workbench window or
null
if no workbench window is active.
- Returns
- the SWT Shell of the active workbench window, or
null
if no workbench window is active
public static final Class loadClass(String bundleName, String className)