tte
Class TTEnginePlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
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.
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
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 |
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
TTEnginePlugin
public TTEnginePlugin()
- The constructor.
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)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.