|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractUIPlugin
org.eclipse.weaver.plugin.WeaverPlugin
The main plugin class to be used in the desktop.
Constructor Summary | |
WeaverPlugin()
Returns the singleton instance of the Eclipse plugin |
Method Summary | |
static WeaverPlugin |
getDefault()
Returns the shared instance. |
Image |
getImage(java.lang.String key)
This get a .gif from the image registry, which caches the icons folder. |
ImageDescriptor |
getImageDescriptor(java.lang.String key)
This gets a .gif from the icons folder. |
static WeaverPlugin |
getPlugin()
Get the singleton instance. |
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. |
java.lang.String |
getString(java.lang.String key)
|
java.lang.String |
getString(java.lang.String key,
java.lang.Object s1)
|
java.lang.String |
getString(java.lang.String key,
java.lang.Object[] array)
|
java.lang.String |
getString(java.lang.String key,
java.lang.Object s1,
java.lang.Object s2)
|
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 |
public WeaverPlugin()
Method Detail |
public static WeaverPlugin getPlugin()
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public static WeaverPlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public java.lang.String getString(java.lang.String key)
public java.lang.String getString(java.lang.String key, java.lang.Object s1)
public java.lang.String getString(java.lang.String key, java.lang.Object s1, java.lang.Object s2)
public java.lang.String getString(java.lang.String key, java.lang.Object[] array)
public ImageDescriptor getImageDescriptor(java.lang.String key)
public Image getImage(java.lang.String key)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |