Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.commands.sourceprovider
Class PatientSelectionStatus

java.lang.Object
  extended by AbstractSourceProvider
      extended by 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
           
 
Constructor Summary
PatientSelectionStatus()
           
 
Method Summary
 void dispose()
           
 java.util.Map getCurrentState()
           
 java.lang.String[] getProvidedSourceNames()
           
 void setState(boolean state)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PatientSelectionStatus

public PatientSelectionStatus()
Method Detail

dispose

public void dispose()

getCurrentState

public java.util.Map getCurrentState()

getProvidedSourceNames

public java.lang.String[] getProvidedSourceNames()

setState

public void setState(boolean state)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis