Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.konsview
Class KonsDetailView

java.lang.Object
  extended by ViewPart
      extended by ch.elexis.konsview.KonsDetailView
All Implemented Interfaces:
GlobalEventDispatcher.IActivationListener, IPersistenceProvider

public class KonsDetailView
extends ViewPart
implements GlobalEventDispatcher.IActivationListener, IPersistenceProvider

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

Author:
gerry

Field Summary
static java.lang.String CFG_VERTRELATION
           
static java.lang.String ID
           
 
Constructor Summary
KonsDetailView()
           
 
Method Summary
 void activation(boolean mode)
           
 void adaptMenus()
           
 void addToVerechnung(Artikel artikel)
           
 void createPartControl(Composite p)
          The Framework calls this method as the View is created.
 void dispose()
           
 void documentAboutToBeChanged(DocumentEvent event)
           
 void documentChanged(DocumentEvent event)
           
 void doSave(IProgressMonitor monitor)
           
 void doSaveAs()
           
 void init(IViewSite site, IMemento memento)
          This is called by the framework before createPartControl.
 boolean isDirty()
           
 boolean isSaveAsAllowed()
           
 boolean isSaveOnCloseNeeded()
           
 java.lang.String load(java.lang.Object param)
          Load the dependent data from the backing store
 int promptToSaveOnClose()
           
 void saveState(IMemento memento)
          The framework calls this method as the view closes.
 void setFocus()
           
 void store(java.lang.String data, java.lang.Object param)
          IPersistenceProvider
 void visible(boolean mode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

init

public void init(IViewSite site,
                 IMemento memento)
          throws PartInitException
This is called by the framework before createPartControl. We read the relations of the sash form here (i.e. size of the subviews within the main view).

Throws:
PartInitException

saveState

public void saveState(IMemento memento)
The framework calls this method as the view closes. We use this to save information about the user's setting of tha sash form relations.


createPartControl

public void createPartControl(Composite p)
The Framework calls this method as the View is created.


dispose

public void dispose()

setFocus

public void setFocus()

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()

doSave

public void doSave(IProgressMonitor monitor)

doSaveAs

public void doSaveAs()

isDirty

public boolean isDirty()

isSaveAsAllowed

public boolean isSaveAsAllowed()

isSaveOnCloseNeeded

public boolean isSaveOnCloseNeeded()

addToVerechnung

public void addToVerechnung(Artikel artikel)

documentAboutToBeChanged

public void documentAboutToBeChanged(DocumentEvent event)

documentChanged

public void documentChanged(DocumentEvent event)

store

public void store(java.lang.String data,
                  java.lang.Object param)
           throws PersistenceException
IPersistenceProvider

Specified by:
store in interface IPersistenceProvider
Parameters:
data - the data to store. The IPersistenceProvider must be able to reconstruct the data from the String retrieved by load()
param - a implememntation dependent parameter. Can be null or any arbitrary object
Throws:
PersistenceException - if the data could not be stored correctly

load

public java.lang.String load(java.lang.Object param)
                      throws PersistenceException
Description copied from interface: IPersistenceProvider
Load the dependent data from the backing store

Specified by:
load in interface IPersistenceProvider
Parameters:
param - an implementation depoendent parameter. Can be null or any arbitrary Object
Returns:
the data read. Must be exactly the same as written by store()
Throws:
PersistenceException - if the data coulkd not be read correctly

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis