|
SWT LPEX v3.0.4 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com.ibm.lpex.alef.LpexPlugin
LPEX Editor plug-in runtime class.
| 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(IPluginDescriptor descriptor)
Creates a new instance. |
|
| Method Summary | |
|---|---|
static LpexPlugin |
getDefault()
Returns an instance of this plug-in. |
static JarFile |
getLpexJar()
Get access to the LPEX jar file. |
static ResourceBundle |
getResourceBundle()
Returns the resource bundle for this plug-in. |
static String |
getResourceLpexString(String key)
Returns the string with the specified key from the LpexPlugin resource bundle. |
static String |
getResourceLpexString(String key,
String arg)
Returns the string with the specified key and substitution argument from the LpexPlugin resource bundle. |
static String |
getResourceString(String key)
Retrieve a string from the LpexPlugin resource bundle. |
void |
start(org.osgi.framework.BundleContext context)
Starts up the LPEX plug-in. |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup, stop |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LpexPlugin(IPluginDescriptor descriptor)
Instances of plug-in runtime classes are automatically created by the Eclipse platform in the course of plug-in activation.
descriptor - the plug-in descriptor (information about the plug-in
obtained from its manifest file, plugin.xml)| Method Detail |
public static LpexPlugin getDefault()
public static ResourceBundle getResourceBundle()
com.ibm.lpex.alef.PluginResources.properties.
public static String getResourceString(String key)
key if not foundgetResourceLpexString(String),
getResourceLpexString(String,String)public static String getResourceLpexString(String key)
LpexResources to retrieve the value,
which assumes certain syntax rules for the text in the resource.
key if not foundLpexResources,
getResourceString(String),
getResourceLpexString(String,String)
public static String getResourceLpexString(String key,
String arg)
LpexResources to retrieve the value,
which assumes certain syntax rules for the text in the resource.
key if not foundLpexResources,
getResourceString(String),
getResourceLpexString(String)
public void start(org.osgi.framework.BundleContext context)
throws Exception
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 stop() method will be invoked automatically, in an attempt to close open files, etc.
context - the bundle context that represents the plug-in to the OSGi
framework; for security reasons, it is strongly recommended that
this object should not be divulged
Exception - if this plug-in did not start up properlypublic static JarFile getLpexJar()
|
SWT LPEX v3.0.4 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||