public class TracePlugin extends AbstractUIPlugin implements ILTPlugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
TracePlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static TracePlugin |
getDefault()
Returns the shared instance.
|
ResourceBundle |
getNonTranslatableResourceBundle()
Returns the plugin's non-Translatable resource bundle,
|
ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle,
|
static String |
getResourceString(String key)
Returns the string from the plugin's resource bundle,
or 'key' if not found.
|
ResourceBundle |
getTranslatableResourceBundle()
Returns the plugin's Translatable resource bundle,
|
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped
|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class AbstractUIPlugin
Exception
public static TracePlugin getDefault()
public static String getResourceString(String key)
public ResourceBundle getTranslatableResourceBundle()
getTranslatableResourceBundle
in interface com.ibm.rational.test.lt.core.logging.ILTSubComponent
public ResourceBundle getNonTranslatableResourceBundle()
getNonTranslatableResourceBundle
in interface com.ibm.rational.test.lt.core.logging.ILTSubComponent
public ResourceBundle getResourceBundle()
© Copyright IBM Corp. 2013. All rights reserved.