Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.views
Class PatListFilterBox

java.lang.Object
  extended by Composite
      extended by ch.elexis.util.ListDisplay<IPersistentObject>
          extended by ch.elexis.views.PatListFilterBox
All Implemented Interfaces:
IFilter

public class PatListFilterBox
extends ListDisplay<IPersistentObject>
implements IFilter

This will be displayed on top of the PatientListeView. It allows to drop Objects (Artikel, IVerrechnet, IDiagnose etc.) as filter conditions. The PatListFilterBox will also be added as an IFilter to the StructuredViewer that displays the patients thus allowing to filter the list according to the conditions. The Objects that can act as filter conditions must e declared as IPatFilter. Later, we'll define an extension point for Plugins to connect their classes.

Author:
Gerry

Nested Class Summary
static interface PatListFilterBox.IPatFilter
           
 
Nested classes/interfaces inherited from class ch.elexis.util.ListDisplay
ListDisplay.LDListener
 
Method Summary
 boolean aboutToStart()
           
 void addPatFilter(PatListFilterBox.IPatFilter filter)
           
 boolean finished()
           
 void removeFilter(PatListFilterBox.IPatFilter filter)
           
 void reset()
           
 boolean select(java.lang.Object toTest)
          We select the Patient with an AND operation running over all filter conditions If no filter was registered for a type, we use our defaultFilter
 
Methods inherited from class ch.elexis.util.ListDisplay
add, addHyperlinks, addListener, clear, enableHyperlinks, getAll, getSelection, remove, removeListener, setDLDListener, setMenu, setSelection, setSelection, toClipBoard
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reset

public void reset()

aboutToStart

public boolean aboutToStart()

finished

public boolean finished()

select

public boolean select(java.lang.Object toTest)
We select the Patient with an AND operation running over all filter conditions If no filter was registered for a type, we use our defaultFilter

Specified by:
select in interface IFilter
Throws:
java.lang.Exception

addPatFilter

public void addPatFilter(PatListFilterBox.IPatFilter filter)

removeFilter

public void removeFilter(PatListFilterBox.IPatFilter filter)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis