RSE
Release 1.0

org.eclipse.rse.services
Class Activator

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.rse.services.Activator
All Implemented Interfaces:
BundleActivator

public class Activator
extends Plugin

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
Activator()
          The constructor.
 
Method Summary
static Activator getDefault()
          Returns the shared instance.
static String getTimestamp()
           
static boolean isTracingOn()
           
 void logException(Throwable t)
          Logs an throwable to the log for this plugin.
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
static void trace(String msg)
           
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
The constructor.

Method Detail

start

public void start(BundleContext context)
           throws Exception
Throws:
Exception

stop

public void stop(BundleContext context)
          throws Exception
Throws:
Exception

getDefault

public static Activator getDefault()
Returns the shared instance.

Returns:
the shared instance

logException

public void logException(Throwable t)
Logs an throwable to the log for this plugin.

Parameters:
t - the Throwable to be logged.

isTracingOn

public static boolean isTracingOn()

getTimestamp

public static String getTimestamp()

trace

public static void trace(String msg)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.