IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.trace
Class TracePlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by com.ibm.rational.test.lt.trace.TracePlugin
All Implemented Interfaces:
ILTPlugin, com.ibm.rational.test.lt.core.logging.ILTSubComponent, org.osgi.framework.BundleActivator

public class TracePlugin
extends AbstractUIPlugin
implements ILTPlugin

The main plugin class to be used in the desktop.


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
TracePlugin()
          The constructor.
 
Method Summary
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
 
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
 
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
 
Methods inherited from interface com.ibm.rational.test.lt.core.logging.ILTPlugin
getBundle
 

Constructor Detail

TracePlugin

public TracePlugin()
The constructor.

Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
This method is called upon plug-in activation

Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class AbstractUIPlugin
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
This method is called when the plug-in is stopped

Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class AbstractUIPlugin
Throws:
Exception

getDefault

public static TracePlugin getDefault()
Returns the shared instance.


getResourceString

public static String getResourceString(String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.


getTranslatableResourceBundle

public ResourceBundle getTranslatableResourceBundle()
Returns the plugin's Translatable resource bundle,

Specified by:
getTranslatableResourceBundle in interface com.ibm.rational.test.lt.core.logging.ILTSubComponent

getNonTranslatableResourceBundle

public ResourceBundle getNonTranslatableResourceBundle()
Returns the plugin's non-Translatable resource bundle,

Specified by:
getNonTranslatableResourceBundle in interface com.ibm.rational.test.lt.core.logging.ILTSubComponent

getResourceBundle

public ResourceBundle getResourceBundle()
Returns the plugin's resource bundle,


IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.