|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
com.ibm.lpex.alef.LpexPlugin
Plug-in runtime class for LPEX.
A plug-in usually extends the startup() and shutdown() methods in order to react to life cycle requests automatically issued by the Eclipse platform.
Field Summary |
---|
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
LpexPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Constructs an LPEX plug-in runtime object for the given plugin descriptor. |
Method Summary | |
---|---|
static LpexPlugin | getDefault()
Return an instance of this plug-in. |
static JarFile | getLpexJar()
Get access to the LPEX jar file. |
static ResourceBundle | getResourceBundle()
Retrieve the resource bundle for this plug-in. |
static String | getResourceLpexString(String key)
Retrieve from the LpexPlugin resource bundle the string with the specified key. |
static String | getResourceLpexString(String key,
String arg)
Retrieve from the LpexPlugin resource bundle the string with the specified key and a single substitution argument. |
static String | getResourceString(String key)
Retrieve a string from the LpexPlugin resource bundle. |
void | startup()
Starts up the LPEX plug-in. |
Methods inherited from class org.eclipse.core.runtime.Plugin |
---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LpexPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Instances of plug-in runtime classes are automatically created by the Eclipse platform in the course of plug-in activation.
Method Detail |
public static LpexPlugin getDefault()
public static ResourceBundle getResourceBundle()
public static String getResourceString(String key)
public static String getResourceLpexString(String key)
public static String getResourceLpexString(String key, String arg)
public void startup()
If this method throws an exception, it is taken as an indication that the plug-in initialization has failed; as a result, the plug-in will not be activated; moreover, the plug-in will be marked as disabled and ineligible for activation for the duration.
Plug-in startup code should be robust. In the event of a startup failure, the plug-in's shutdown() method will be invoked automatically, in an attempt to close open files, etc.
public static JarFile getLpexJar()
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |