IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testgen.core2
Class Core2Plugin

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

public class Core2Plugin
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
Core2Plugin()
          The constructor.
 
Method Summary
static Core2Plugin getDefault()
          Returns the shared instance.
static Core2Plugin getInstance()
           
 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.
 com.ibm.rational.test.lt.testgen.core2.internal.util.LogUtil getTestgenLog()
           
 ResourceBundle getTranslatableResourceBundle()
          Returns the plugin's Translatable resource bundle,
static IWorkspace getWorkspace()
          Returns the workspace instance.
 void start(org.osgi.framework.BundleContext context)
           
 
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
 
Methods inherited from interface com.ibm.rational.test.lt.core.logging.ILTPlugin
getBundle
 

Constructor Detail

Core2Plugin

public Core2Plugin()
The constructor.

Method Detail

getDefault

public static Core2Plugin getDefault()
Returns the shared instance.


getInstance

public static Core2Plugin getInstance()

getWorkspace

public static IWorkspace getWorkspace()
Returns the workspace 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,


getTestgenLog

public com.ibm.rational.test.lt.testgen.core2.internal.util.LogUtil getTestgenLog()

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class AbstractUIPlugin
Throws:
Exception

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.