ch.elexis.views
Class PatientenListeView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
ch.elexis.views.PatientenListeView
- All Implemented Interfaces:
- GlobalEventDispatcher.IActivationListener, Heartbeat.HeartListener, 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 PatientenListeView
- extends org.eclipse.ui.part.ViewPart
- implements GlobalEventDispatcher.IActivationListener, org.eclipse.ui.ISaveablePart2, Heartbeat.HeartListener
Display of Patients
Field Summary |
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 |
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 |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
PatientenListeView
public PatientenListeView()
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in class org.eclipse.ui.part.WorkbenchPart
getSelectedPatient
public Patient getSelectedPatient()
- retrieve the patient that is currently selected in the list
- Returns:
- the selected patient or null if none was selected
reload
public void reload()
- Refresh the contents of the list.
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
getContentProvider
public PatListeContentProvider getContentProvider()
setFocus
public void setFocus()
- Specified by:
setFocus
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in class org.eclipse.ui.part.WorkbenchPart
reset
public void reset()
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
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
heartbeat
public void heartbeat()
- Description copied from interface:
Heartbeat.HeartListener
- Die Methode heartbeat wird in "einigermassen" regelmässigen (aber nicht garantiert immer
genau identischen) Abständen aufgerufen
- Specified by:
heartbeat
in interface Heartbeat.HeartListener
UserChanged
public void UserChanged()