org.apache.ibatis.abator.ui.plugin
Class AbatorUIPlugin

java.lang.Object
  extended byAbstractUIPlugin
      extended byorg.apache.ibatis.abator.ui.plugin.AbatorUIPlugin

public class AbatorUIPlugin
extends AbstractUIPlugin

The main plugin class to be used in the desktop.

See Also:
Serialized Form

Constructor Summary
AbatorUIPlugin()
          The constructor.
 
Method Summary
static AbatorUIPlugin getDefault()
          Returns the shared instance.
static java.lang.String getPluginId()
           
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static java.lang.String getResourceString(java.lang.String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
 void start(BundleContext context)
          This method is called upon plug-in activation
 void stop(BundleContext context)
          This method is called when the plug-in is stopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbatorUIPlugin

public AbatorUIPlugin()
The constructor.

Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
This method is called upon plug-in activation

Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
This method is called when the plug-in is stopped

Throws:
java.lang.Exception

getDefault

public static AbatorUIPlugin getDefault()
Returns the shared instance.


getResourceString

public static java.lang.String getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.


getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns the plugin's resource bundle,


getPluginId

public static java.lang.String getPluginId()