UiPlugin Class Reference

Inheritance diagram for UiPlugin:
Collaboration diagram for UiPlugin:

List of all members.


Detailed Description

The main plugin class to be used in the desktop.

Public Methods

 UiPlugin ()
void start (BundleContext context) throws Exception
void stop (BundleContext context) throws Exception
File getFileInPlugin (IPath path)

Public Static Methods

static UiPlugin getDefault ()
static ImageDescriptor getImageDescriptor (String path)

Public Static Fields

static final String ID = "de.uni_koeln.spinfo.tesla.client.ui.UiPlugin"

Constructors

UiPlugin ( )

The constructor.


Method Details

static UiPlugin getDefault ( ) [static]

Returns the shared instance.

File getFileInPlugin ( IPath  path)
Parameters:
pathThe files path
Returns:
Return the file
static ImageDescriptor getImageDescriptor ( String  path) [static]

Returns an image descriptor for the image file at the given plug-in relative path.

Parameters:
paththe path
Returns:
the image descriptor
void start ( BundleContext  context) throws Exception

This method is called upon plug-in activation

void stop ( BundleContext  context) throws Exception

This method is called when the plug-in is stopped


Field Details

final String ID = "de.uni_koeln.spinfo.tesla.client.ui.UiPlugin" [static]