TPTP 4.3.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.monitoring.logui.internal
Class MonitoringLogUIPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended byorg.eclipse.tptp.monitoring.logui.internal.MonitoringLogUIPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class MonitoringLogUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin


Field Summary
static java.lang.String PLUGIN_ID
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
MonitoringLogUIPlugin()
           
 
Method Summary
static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
           
static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
           
static MonitoringLogUIPlugin getDefault()
           
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String name)
          Insert the method's description here.
static java.lang.String getPluginId()
           
static java.util.ResourceBundle getResourceBundle()
           
static java.lang.String getResourceString(java.lang.String key)
           
static java.lang.String getResourceString(java.lang.String key, java.lang.String[] variables)
           
static java.lang.String getString(java.lang.String key)
           
protected  void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
          Sets default preference values.
static void log(org.eclipse.core.runtime.IStatus status)
           
static void log(java.lang.Throwable e)
          Logs an exception in Eclipse's .log file.
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, 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
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

MonitoringLogUIPlugin

public MonitoringLogUIPlugin()
Method Detail

getDefault

public static MonitoringLogUIPlugin getDefault()

getPluginId

public static java.lang.String getPluginId()

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String name)
Insert the method's description here. Creation date: (2/16/2001 4:57:29 PM)

Parameters:
name - java.lang.String
Returns:
org.eclipse.jface.resource.ImageDescriptor

getResourceBundle

public static java.util.ResourceBundle getResourceBundle()

getResourceString

public static java.lang.String getResourceString(java.lang.String key)

getString

public static java.lang.String getString(java.lang.String key)

getResourceString

public static java.lang.String getResourceString(java.lang.String key,
                                                 java.lang.String[] variables)

getActiveWorkbenchShell

public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()

getActiveWorkbenchWindow

public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()

log

public static void log(java.lang.Throwable e)
Logs an exception in Eclipse's .log file.

Parameters:
e - The exception to log.

log

public static void log(org.eclipse.core.runtime.IStatus status)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

initializeDefaultPreferences

protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
Sets default preference values. These values will be used until some preferences are actually set using the Preference dialog.


TPTP 4.3.0 Monitoring Tools Project
Internal API Specification