Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.unibe.iam.scg.archie
Class ArchieActivator

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by ch.unibe.iam.scg.archie.ArchieActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class ArchieActivator
extends org.eclipse.ui.plugin.AbstractUIPlugin

The activator class controls the plug-in life cycle and holds an image registry for images used throughout the PLUGIN.

$Id$


Field Summary
static java.lang.String IMG_BUTTON_CALENDAR
           
static java.lang.String IMG_CANCEL
           
static java.lang.String IMG_CHART_BAR_BIG
           
static java.lang.String IMG_CHART_PIE_BIG
           
static java.lang.String IMG_COFFEE
           
static java.lang.String IMG_DEC_VALID
           
static java.lang.String IMG_ERROR
           
static java.lang.String IMG_GO
           
static java.lang.String IMG_IMPORTANT
           
static java.lang.String IMG_INFO
           
static java.lang.String IMG_NEW_QUERY
           
static java.lang.String IMG_PATIENT_FEMALE
           
static java.lang.String IMG_PATIENT_MALE
           
static java.lang.String IMG_REFRESH
           
static java.lang.String IMG_WARNING
           
static Log LOG
          Log for this plugin.
static java.lang.String PLUGIN_ID
          The plug-in ID
static java.lang.String PLUGIN_NAME
          Human readable PLUGIN name.
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
ArchieActivator()
          The constructor
 
Method Summary
static org.eclipse.swt.graphics.Image getImage(java.lang.String descriptor)
          Returns an image from this PLUGIN's image registry based on the given descriptor string.
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
          Returns an image descriptor for the image file at the given plug-in relative path
static ArchieActivator getInstance()
          Returns an instance of this activator object.
 org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
          
 java.util.TreeMap<java.lang.String,AbstractDataProvider> getProviderTable()
          Returns the table of available data providers.
protected  void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry registry)
          
 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, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, 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

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
The plug-in ID

See Also:
Constant Field Values

PLUGIN_NAME

public static final java.lang.String PLUGIN_NAME
Human readable PLUGIN name.

See Also:
Constant Field Values

IMG_NEW_QUERY

public static final java.lang.String IMG_NEW_QUERY
See Also:
Constant Field Values

IMG_COFFEE

public static final java.lang.String IMG_COFFEE
See Also:
Constant Field Values

IMG_IMPORTANT

public static final java.lang.String IMG_IMPORTANT
See Also:
Constant Field Values

IMG_WARNING

public static final java.lang.String IMG_WARNING
See Also:
Constant Field Values

IMG_ERROR

public static final java.lang.String IMG_ERROR
See Also:
Constant Field Values

IMG_INFO

public static final java.lang.String IMG_INFO
See Also:
Constant Field Values

IMG_CANCEL

public static final java.lang.String IMG_CANCEL
See Also:
Constant Field Values

IMG_BUTTON_CALENDAR

public static final java.lang.String IMG_BUTTON_CALENDAR
See Also:
Constant Field Values

IMG_DEC_VALID

public static final java.lang.String IMG_DEC_VALID
See Also:
Constant Field Values

IMG_CHART_PIE_BIG

public static final java.lang.String IMG_CHART_PIE_BIG
See Also:
Constant Field Values

IMG_CHART_BAR_BIG

public static final java.lang.String IMG_CHART_BAR_BIG
See Also:
Constant Field Values

IMG_PATIENT_MALE

public static final java.lang.String IMG_PATIENT_MALE
See Also:
Constant Field Values

IMG_PATIENT_FEMALE

public static final java.lang.String IMG_PATIENT_FEMALE
See Also:
Constant Field Values

IMG_GO

public static final java.lang.String IMG_GO
See Also:
Constant Field Values

IMG_REFRESH

public static final java.lang.String IMG_REFRESH
See Also:
Constant Field Values

LOG

public static final Log LOG
Log for this plugin.

Constructor Detail

ArchieActivator

public ArchieActivator()
The constructor

Method Detail

getInstance

public static ArchieActivator getInstance()
Returns an instance of this activator object.

Returns:
The shared instance

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.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

getImage

public static org.eclipse.swt.graphics.Image getImage(java.lang.String descriptor)
Returns an image from this PLUGIN's image registry based on the given descriptor string.

Parameters:
descriptor - Image descriptor string.
Returns:
Image under that given descriptor from the registry.

start

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

Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.ui.plugin.AbstractUIPlugin
Throws:
java.lang.Exception

stop

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

Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class org.eclipse.ui.plugin.AbstractUIPlugin
Throws:
java.lang.Exception

getPreferenceStore

public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()

Overrides:
getPreferenceStore in class org.eclipse.ui.plugin.AbstractUIPlugin

initializeImageRegistry

protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry registry)

Overrides:
initializeImageRegistry in class org.eclipse.ui.plugin.AbstractUIPlugin

getProviderTable

public java.util.TreeMap<java.lang.String,AbstractDataProvider> getProviderTable()
Returns the table of available data providers. This method builds up the table of providers upon first request.

Returns:
Table containing all available data providers.

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013