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

ch.elexis.archie.patientstatistik
Class VerrechnungsStatistikView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by ch.elexis.archie.patientstatistik.VerrechnungsStatistikView
All Implemented Interfaces:
GlobalEventDispatcher.IActivationListener, Counter.IJobFinishedListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class VerrechnungsStatistikView
extends org.eclipse.ui.part.ViewPart
implements GlobalEventDispatcher.IActivationListener, Counter.IJobFinishedListener

This view summarizes all services to the currently selected patient


Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
VerrechnungsStatistikView()
           
 
Method Summary
 void activation(boolean mode)
          Method from ActivationListener - We are not interested
 void clearEvent(java.lang.Class<? extends PersistentObject> template)
          Method from SelectionListener
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          The Eclipse View is created: We use a Form with an SWT Table to display the data.
 void dispose()
          Important: On disposal of the View, the ActivationListener MUST be removed.
 void jobFinished(Counter counter)
           
 void setFocus()
           
 void visible(boolean mode)
          Method from ActivationListener.
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

VerrechnungsStatistikView

public VerrechnungsStatistikView()
Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
The Eclipse View is created: We use a Form with an SWT Table to display the data. Then we create a local menu and toolbar and finally, we attach ourselves as ActivationListener at Elexis' Event scheduler to be informed when we become visible to the user.

Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

dispose

public void dispose()
Important: On disposal of the View, the ActivationListener MUST be removed.

Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class org.eclipse.ui.part.WorkbenchPart

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

activation

public void activation(boolean mode)
Method from ActivationListener - We are not interested

Specified by:
activation in interface GlobalEventDispatcher.IActivationListener

visible

public void visible(boolean mode)
Method from ActivationListener. If we get visible, we attach ourselves as SelectionListener to Elexis' Event scheduler to be informed as the user selects a patient. When we become invisible, we detach the listener again.

Specified by:
visible in interface GlobalEventDispatcher.IActivationListener

clearEvent

public void clearEvent(java.lang.Class<? extends PersistentObject> template)
Method from SelectionListener


jobFinished

public void jobFinished(Counter counter)
Specified by:
jobFinished in interface Counter.IJobFinishedListener

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