org.csstudio.ui.util
Class Activator

java.lang.Object
  extended by Plugin
      extended by org.csstudio.ui.util.Activator

public class Activator
extends Plugin


Field Summary
static java.lang.String ID
          Plugin ID defined in MANIFEST.MF
 
Constructor Summary
Activator()
          The constructor
 
Method Summary
 BundleContext getContext()
           
static Activator getDefault()
           
static ImageDescriptor getImageDescriptor(java.lang.String path)
          Obtain image descriptor for image in plugin
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
Plugin ID defined in MANIFEST.MF

See Also:
Constant Field Values
Constructor Detail

Activator

public Activator()
The constructor

Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

getContext

public BundleContext getContext()

getDefault

public static Activator getDefault()

getImageDescriptor

public static ImageDescriptor getImageDescriptor(java.lang.String path)
Obtain image descriptor for image in plugin

Parameters:
path - Path to image within plugin
Returns:
ImageDescriptor