de.cau.cs.kieler.sim.kiem.automated.ui
Class KiemAutoUIPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by de.cau.cs.kieler.sim.kiem.automated.ui.KiemAutoUIPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class KiemAutoUIPlugin
extends AbstractUIPlugin

The activator class controls the plug-in life cycle.

Rating proposed yellow
(2010-04-12)

Field Summary
static String PLUGIN_ID
          The plug-in ID.
static String VIEW_ID
          the id of the view for displaying results.
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
KiemAutoUIPlugin()
          The constructor.
 
Method Summary
static IWorkbenchPage getActivePage()
          Getter for the currently active page.
static Image getAutoImage()
          Getter for the image for this plug-in.
static ImageDescriptor getAutoImageDescriptor()
          Getter for the imageDescriptor for this plug-in.
static AutomatedEvalView getAutomatedEvalView()
          Getter for the AutomatedEvalView.
static Image getCreatedImage()
          Getter for the image for created iterations.
static KiemAutoUIPlugin getDefault()
          Returns the shared instance.
static Display getDisplay()
          Getter for the display of the active workbench.
static Image getFalseImage()
          Getter for the image for displaying a false state.
static Image getRunningImage()
          Getter for the image for running iterations.
static Shell getShell()
          Getter for the main shell of the active workbench.
static Image getTrueImage()
          Getter for the image for displaying a true state.
static Image getWarningImage()
          Getter for the image for warnings.
 void start(org.osgi.framework.BundleContext context)
          
 void stop(org.osgi.framework.BundleContext context)
          
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VIEW_ID

public static final String VIEW_ID
the id of the view for displaying results.

See Also:
Constant Field Values

PLUGIN_ID

public static final String PLUGIN_ID
The plug-in ID.

See Also:
Constant Field Values
Constructor Detail

KiemAutoUIPlugin

public KiemAutoUIPlugin()
The constructor.

Method Detail

start

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

Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class AbstractUIPlugin
Throws:
Exception

stop

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

Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class AbstractUIPlugin
Throws:
Exception

getDefault

public static KiemAutoUIPlugin getDefault()
Returns the shared instance.

Returns:
the shared instance

getActivePage

public static IWorkbenchPage getActivePage()
Getter for the currently active page.

Returns:
the currently active page.

getAutomatedEvalView

public static AutomatedEvalView getAutomatedEvalView()
Getter for the AutomatedEvalView.

Returns:
the view

getDisplay

public static Display getDisplay()
Getter for the display of the active workbench.

Returns:
the display

getShell

public static Shell getShell()
Getter for the main shell of the active workbench.

Returns:
the active shell

getAutoImageDescriptor

public static ImageDescriptor getAutoImageDescriptor()
Getter for the imageDescriptor for this plug-in.

Returns:
the image

getAutoImage

public static Image getAutoImage()
Getter for the image for this plug-in.

Returns:
the image

getTrueImage

public static Image getTrueImage()
Getter for the image for displaying a true state.

Returns:
the image

getFalseImage

public static Image getFalseImage()
Getter for the image for displaying a false state.

Returns:
the image

getCreatedImage

public static Image getCreatedImage()
Getter for the image for created iterations.

Returns:
the image

getRunningImage

public static Image getRunningImage()
Getter for the image for running iterations.

Returns:
the image

getWarningImage

public static Image getWarningImage()
Getter for the image for warnings.

Returns:
the image