ch.elexis.views
Class PatListFilterBox
java.lang.Object
Composite
ch.elexis.util.ListDisplay<PersistentObject>
ch.elexis.views.PatListFilterBox
public class PatListFilterBox
- extends ListDisplay<PersistentObject>
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
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 |
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
- Throws:
java.lang.Exception
addPatFilter
public void addPatFilter(PatListFilterBox.IPatFilter filter)
removeFilter
public void removeFilter(PatListFilterBox.IPatFilter filter)
Copyright 2005-2010 by Gerry Weirich, Elexis