|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractUIPlugin
com.pnp.xfeature.XFeaturePlugin
public class XFeaturePlugin
The main plugin class. Prepared semi-automatically by Eclipse Plug-in Project Wizard
| Field Summary | |
|---|---|
static java.lang.String |
PLUGIN_ID
|
| Constructor Summary | |
|---|---|
XFeaturePlugin()
The constructor checks whether the plug-in is already instantiated and if not it creates new ResourceBundle. |
|
| Method Summary | |
|---|---|
static XFeaturePlugin |
getDefault()
Returns the shared instance. |
static XFeaturePlugin |
getInstance()
Singleton method. |
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. |
static void |
log(IStatus status)
A logger front-end method to simplify calls to the Eclipse's logger. |
static void |
log(java.lang.String message,
java.lang.Throwable t)
A logger front-end method to simplify calls to the Eclipse's logger. |
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PLUGIN_ID
| Constructor Detail |
|---|
public XFeaturePlugin()
| Method Detail |
|---|
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic static XFeaturePlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static XFeaturePlugin getInstance()
public static void log(java.lang.String message,
java.lang.Throwable t)
public static void log(IStatus status)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||