ch.elexis.commands.sourceprovider
Class PatientSelectionStatus
java.lang.Object
AbstractSourceProvider
ch.elexis.commands.sourceprovider.PatientSelectionStatus
public class PatientSelectionStatus
- extends AbstractSourceProvider
This class provides a sourceProvider for Eclipse command evaluation. It can be used to check
whether a Patient is currently selected in the system. According to this command contributions
can be toggled on/off.
The value is set within the ElexisEventDispatcher
class.
- Author:
- Marco Descher
Field Summary |
static java.lang.String |
FALSE
|
static java.lang.String |
PATIENTACTIVE
|
static java.lang.String |
TRUE
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATIENTACTIVE
public static final java.lang.String PATIENTACTIVE
- See Also:
- Constant Field Values
TRUE
public static final java.lang.String TRUE
- See Also:
- Constant Field Values
FALSE
public static final java.lang.String FALSE
- See Also:
- Constant Field Values
PatientSelectionStatus
public PatientSelectionStatus()
dispose
public void dispose()
getCurrentState
public java.util.Map getCurrentState()
getProvidedSourceNames
public java.lang.String[] getProvidedSourceNames()
setState
public void setState(boolean state)
Copyright 2005-2011 by Gerry Weirich, Elexis