com.ibm.rational.test.lt.trace

Class 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.
    • 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. 2013. All rights reserved.