Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.views
Class LagerView

java.lang.Object
  extended by ViewPart
      extended by ch.elexis.views.LagerView
All Implemented Interfaces:
GlobalEventDispatcher.IActivationListener, CommonViewer.DoubleClickListener

public class LagerView
extends ViewPart
implements CommonViewer.DoubleClickListener, GlobalEventDispatcher.IActivationListener


Field Summary
static java.lang.String ID
           
 
Constructor Summary
LagerView()
           
 
Method Summary
 void activation(boolean mode)
           
 void createPartControl(Composite parent)
           
 void dispose()
           
 void doSave(IProgressMonitor monitor)
           
 void doSaveAs()
           
 void doubleClicked(PersistentObject obj, CommonViewer cv)
           
 boolean isDirty()
           
 boolean isSaveAsAllowed()
           
 boolean isSaveOnCloseNeeded()
           
 int promptToSaveOnClose()
          Die folgenden 6 Methoden implementieren das Interface ISaveablePart2 Wir benötigen das Interface nur, um das Schliessen einer View zu verhindern, wenn die Perspektive fixiert ist.
 void reloadContents(java.lang.Class clazz)
           
 void setFocus()
           
 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
Constructor Detail

LagerView

public LagerView()
Method Detail

createPartControl

public void createPartControl(Composite parent)

setFocus

public void setFocus()

dispose

public void dispose()

doubleClicked

public void doubleClicked(PersistentObject obj,
                          CommonViewer cv)
Specified by:
doubleClicked in interface CommonViewer.DoubleClickListener

reloadContents

public void reloadContents(java.lang.Class clazz)

promptToSaveOnClose

public int promptToSaveOnClose()
Die folgenden 6 Methoden implementieren das Interface ISaveablePart2 Wir benötigen das Interface nur, um das Schliessen einer View zu verhindern, wenn die Perspektive fixiert ist. Gibt es da keine einfachere Methode?


doSave

public void doSave(IProgressMonitor monitor)

doSaveAs

public void doSaveAs()

isDirty

public boolean isDirty()

isSaveAsAllowed

public boolean isSaveAsAllowed()

isSaveOnCloseNeeded

public boolean isSaveOnCloseNeeded()

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

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis