Class Hierarchy All Classes All Fields and Methods

Class com.ibm.etools.mft.api.MessageFlowAPIPlugin

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 Index
Field Description
copyright  
NODE_EXT_ID  
PLUGIN_ID  
Constructor Index
Constructor Description
MessageFlowAPIPlugin()  
Method Index
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)  

Fields

copyright

public static final java.lang.String copyright

NODE_EXT_ID

public static final java.lang.String NODE_EXT_ID

PLUGIN_ID

public static final java.lang.String PLUGIN_ID

Constructors

MessageFlowAPIPlugin

public MessageFlowAPIPlugin() 

Methods

getClassLoader

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

getIconURL

public URL getIconURL(String key) 

This gets the url from the icons folder.

getImage

public Image getImage(String key) 

Get a .gif from the image registry, which caches the icons folder.

getImageDescriptor

public ImageDescriptor getImageDescriptor(String key) 

This gets a .gif from the icons folder.

getInstance

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

getInstance

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

getResourceBundle

public final ResourceBundle getResourceBundle() 

Provides access to the plugin's resource bundle. This will cause the plugin to load if not already loaded

getResourceBundle

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

getShell

public final Shell getShell() 

Returns the SWT Shell of the active workbench window or null if no workbench window is active.

loadClass

public static final Class loadClass(String bundleName,
                                    String className) 

Class Hierarchy All Classes All Fields and Methods