com.bea.workshop.controls.core
Class ControlsCorePlugin

java.lang.Object
  extended by Plugin
      extended by com.bea.workshop.controls.core.ControlsCorePlugin

public class ControlsCorePlugin
extends Plugin

Controls core plug-in.

Author:
Carl McConnell

Field Summary
static String PLUGIN_ID
           
 
Constructor Summary
ControlsCorePlugin()
          The constructor.
 
Method Summary
static ControlsCorePlugin getDefault()
          Returns the shared instance.
static void log(Throwable e)
          Log an exception in this plug-in.
 void start(BundleContext context)
          This method is called upon plug-in activation
 void stop(BundleContext context)
          This method is called when the plug-in is stopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

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

ControlsCorePlugin

public ControlsCorePlugin()
The constructor.

Method Detail

start

public void start(BundleContext context)
           throws Exception
This method is called upon plug-in activation

Throws:
Exception

stop

public void stop(BundleContext context)
          throws Exception
This method is called when the plug-in is stopped

Throws:
Exception

getDefault

public static ControlsCorePlugin getDefault()
Returns the shared instance.


log

public static void log(Throwable e)
Log an exception in this plug-in.

Parameters:
e - the exception to log