be.ac.vub.cocompose.eclipse
Class CoComposePlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bybe.ac.vub.cocompose.eclipse.CoComposePlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class CoComposePlugin
extends AbstractUIPlugin

Eclipse plugin for CoCompose.

Since:
0.2.0
Version:
0.2.14, 01/07/2004
Author:
Dennis Wagelaar

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
CoComposePlugin(IPluginDescriptor desc)
          Creates a CoComposePlugin and stores it as the singleton.
 
Method Summary
static CoComposePlugin getDefault()
          Returns the singleton.
 void setDebugging(boolean value)
          Switches debugging on or off.
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoComposePlugin

public CoComposePlugin(IPluginDescriptor desc)
Creates a CoComposePlugin and stores it as the singleton.

Parameters:
desc - - Eclipse plugin descriptor.
Method Detail

setDebugging

public void setDebugging(boolean value)
Switches debugging on or off. Also propagates to the Logger.

Parameters:
value - If true, debugging is switched on, otherwise off.

getDefault

public static CoComposePlugin getDefault()
Returns the singleton.

Returns:
the singleton CoComposePlugin.