ch.elexis.views
Class LagerView
java.lang.Object
ViewPart
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
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
LagerView
public LagerView()
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
Copyright 2005-2011 by Gerry Weirich, Elexis