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 KonsDetailView

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.KonsDetailView
All Implemented Interfaces:
ElexisEventListener, GlobalEventDispatcher.IActivationListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.ISaveablePart, org.eclipse.ui.ISaveablePart2, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class KonsDetailView
extends org.eclipse.ui.part.ViewPart
implements ElexisEventListener, GlobalEventDispatcher.IActivationListener, org.eclipse.ui.ISaveablePart2

Behandlungseintrag, Diagnosen und Verrechnung Dg und Verrechnung können wie Drag&Drop aus den entsprechenden Listen.Views auf die Felder gezogen werden.


Field Summary
static java.lang.String CFG_VERTRELATION
           
static java.lang.String ID
           
 
Fields inherited from interface org.eclipse.ui.ISaveablePart2
CANCEL, DEFAULT, NO, YES
 
Fields inherited from interface org.eclipse.ui.ISaveablePart
PROP_DIRTY
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
KonsDetailView()
           
 
Method Summary
 void activation(boolean mode)
           
 void adaptMenus()
           
 void addToVerechnung(Artikel artikel)
           
 void catchElexisEvent(ElexisEvent ev)
          Konsultation event
 void createPartControl(org.eclipse.swt.widgets.Composite p)
           
 void dispose()
           
 void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void doSaveAs()
           
 ElexisEvent getElexisEventFilter()
          Filter the events this listener wants to be informed.
 void init(org.eclipse.ui.IViewSite site, org.eclipse.ui.IMemento memento)
           
 boolean isDirty()
           
 boolean isSaveAsAllowed()
           
 boolean isSaveOnCloseNeeded()
           
 int promptToSaveOnClose()
           
 void save()
           
 void saveState(org.eclipse.ui.IMemento memento)
           
 void setFocus()
           
 void visible(boolean mode)
           
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, 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

CFG_VERTRELATION

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

KonsDetailView

public KonsDetailView()
Method Detail

saveState

public void saveState(org.eclipse.ui.IMemento memento)
Specified by:
saveState in interface org.eclipse.ui.IPersistable
Specified by:
saveState in interface org.eclipse.ui.IViewPart
Overrides:
saveState in class org.eclipse.ui.part.ViewPart

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite p)
Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

init

public void init(org.eclipse.ui.IViewSite site,
                 org.eclipse.ui.IMemento memento)
          throws org.eclipse.ui.PartInitException
Specified by:
init in interface org.eclipse.ui.IViewPart
Overrides:
init in class org.eclipse.ui.part.ViewPart
Throws:
org.eclipse.ui.PartInitException

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose 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

save

public void save()

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

adaptMenus

public void adaptMenus()

promptToSaveOnClose

public int promptToSaveOnClose()
Specified by:
promptToSaveOnClose in interface org.eclipse.ui.ISaveablePart2

doSave

public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
Specified by:
doSave in interface org.eclipse.ui.ISaveablePart

doSaveAs

public void doSaveAs()
Specified by:
doSaveAs in interface org.eclipse.ui.ISaveablePart

isDirty

public boolean isDirty()
Specified by:
isDirty in interface org.eclipse.ui.ISaveablePart

isSaveAsAllowed

public boolean isSaveAsAllowed()
Specified by:
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePart

isSaveOnCloseNeeded

public boolean isSaveOnCloseNeeded()
Specified by:
isSaveOnCloseNeeded in interface org.eclipse.ui.ISaveablePart

addToVerechnung

public void addToVerechnung(Artikel artikel)

catchElexisEvent

public void catchElexisEvent(ElexisEvent ev)
Konsultation event

Specified by:
catchElexisEvent in interface ElexisEventListener
Parameters:
ev - the Event

getElexisEventFilter

public ElexisEvent getElexisEventFilter()
Description copied from interface: ElexisEventListener
Filter the events this listener wants to be informed. Note: This call should complete as fast as possible, because it will be called with every event before dispatching

Specified by:
getElexisEventFilter in interface ElexisEventListener
Returns:
An ElexisEvent with matching
  • object: Only events of this object will be sent
  • class: Only events of this class will be sent
  • type: Only eevnts matching to one ore more flags in type will be sent

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