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.views
Class RezeptBlatt

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.views.RezeptBlatt
All Implemented Interfaces:
GlobalEventDispatcher.IActivationListener, IOutputter, ITextPlugin.ICallback, 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 RezeptBlatt
extends org.eclipse.ui.part.ViewPart
implements ITextPlugin.ICallback, GlobalEventDispatcher.IActivationListener, IOutputter


Field Summary
static java.lang.String ID
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
RezeptBlatt()
           
 
Method Summary
 void activation(boolean mode)
           
 boolean createEinnahmeliste(Patient pat, Prescription[] pres)
           
 boolean createList(Rezept rp, java.lang.String template, java.lang.String replace)
           
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean createRezept(Rezept rp)
           
 void dispose()
           
 java.lang.String getOutputterDescription()
          human readable description
 java.lang.String getOutputterID()
          unique ID
 org.eclipse.swt.graphics.Image getSymbol()
          Image to symbolize this outputter (should be 16x16 or 24x24 Pixel)
 void loadRezeptFromDatabase(Rezept rp, Brief brief)
          load a Rezept from the database
 void save()
           
 boolean saveAs()
           
 void setFocus()
           
 void visible(boolean mode)
           
 
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
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

RezeptBlatt

public RezeptBlatt()
Method Detail

dispose

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

loadRezeptFromDatabase

public void loadRezeptFromDatabase(Rezept rp,
                                   Brief brief)
load a Rezept from the database

Parameters:
brief - the Brief for the Rezept to be shown

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl 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

createList

public boolean createList(Rezept rp,
                          java.lang.String template,
                          java.lang.String replace)

createRezept

public boolean createRezept(Rezept rp)

createEinnahmeliste

public boolean createEinnahmeliste(Patient pat,
                                   Prescription[] pres)

save

public void save()
Specified by:
save in interface ITextPlugin.ICallback

saveAs

public boolean saveAs()
Specified by:
saveAs in interface ITextPlugin.ICallback

activation

public void activation(boolean mode)
Specified by:
activation in interface GlobalEventDispatcher.IActivationListener

visible

public void visible(boolean mode)
Specified by:
visible in interface GlobalEventDispatcher.IActivationListener

getOutputterDescription

public java.lang.String getOutputterDescription()
Description copied from interface: IOutputter
human readable description

Specified by:
getOutputterDescription in interface IOutputter

getOutputterID

public java.lang.String getOutputterID()
Description copied from interface: IOutputter
unique ID

Specified by:
getOutputterID in interface IOutputter

getSymbol

public org.eclipse.swt.graphics.Image getSymbol()
Description copied from interface: IOutputter
Image to symbolize this outputter (should be 16x16 or 24x24 Pixel)

Specified by:
getSymbol in interface IOutputter

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