Traceability

tte
Class TTEnginePlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by tte.TTEnginePlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class TTEnginePlugin
extends org.eclipse.core.runtime.Plugin

The main plugin class to be used in the desktop.


Field Summary
static java.lang.String DOCUMENT_ANALYSER_EXT_ID
           
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
TTEnginePlugin()
          The constructor.
 
Method Summary
static void displayError(java.lang.String string, java.lang.Exception e)
           
static TTEnginePlugin getDefault()
          Returns the shared instance.
 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.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
 

Field Detail

PLUGIN_ID

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

DOCUMENT_ANALYSER_EXT_ID

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

TTEnginePlugin

public TTEnginePlugin()
The constructor.

Method Detail

start

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

Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.core.runtime.Plugin
Parameters:
context - is the context used within the plugin
Throws:
java.lang.Exception - when errors occured during starting action

stop

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

Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class org.eclipse.core.runtime.Plugin
Parameters:
context - is the context used within the plugin
Throws:
java.lang.Exception - when errors occured during stoping action

getDefault

public static TTEnginePlugin getDefault()
Returns the shared instance.

Returns:
the plugin

displayError

public static void displayError(java.lang.String string,
                                java.lang.Exception e)

Traceability

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.