de.cau.cs.kieler.core.annotations.ui
Class AnnotationsUiPlugin

java.lang.Object
  extended by AnnotationsActivator
      extended by de.cau.cs.kieler.core.annotations.ui.AnnotationsUiPlugin

public class AnnotationsUiPlugin
extends AnnotationsActivator

The activator class controls the plug-in life cycle.

Rating red

Nested Class Summary
static class AnnotationsUiPlugin.Images
          nested class used to store images that are loaded at runtime.
 
Field Summary
static String PLUGIN_ID
          the plug-in ID.
 
Constructor Summary
AnnotationsUiPlugin()
           
 
Method Summary
static ImageDescriptor getImageDescriptor(String path)
          Returns an image descriptor for the image file at the given plug-in relative path.
 AnnotationsUiPlugin.Images getImages()
          Returns the images, or null if the plugin was disposed.
 void start(org.osgi.framework.BundleContext context)
          
 void stop(org.osgi.framework.BundleContext context)
          
 
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
the plug-in ID.

See Also:
Constant Field Values
Constructor Detail

AnnotationsUiPlugin

public AnnotationsUiPlugin()
Method Detail

getImages

public AnnotationsUiPlugin.Images getImages()
Returns the images, or null if the plugin was disposed.

Returns:
the images

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception

Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception

Throws:
Exception

getImageDescriptor

public static ImageDescriptor getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in relative path.

Parameters:
path - the path
Returns:
the image descriptor