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

ch.unibe.iam.scg.archie.ui.views
Class StatisticsView

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.unibe.iam.scg.archie.ui.views.StatisticsView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class StatisticsView
extends org.eclipse.ui.part.ViewPart

This class contains all methods needed to display the output created by any query.

$Id$


Field Summary
static java.lang.String ID
          ID of this view.
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
StatisticsView()
          Public constructor.
 
Method Summary
 void clean()
          Cleans the main result view from all active components.
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          This is a callback that will allow us to create the viewer and initialize it.
 void dispose()
           
 org.eclipse.swt.widgets.Composite getParent()
          Returns the container of this view.
 ResultPanel getResultPanel()
           
 void removeInitializeMessage()
          Removes the initial message which is being shown before any statistics have been run.
 void setActionsEnabled(boolean enabled)
          Sets the enabled state for actions in this view.
 void setFocus()
          Passing the focus request to the viewer's control.
 void setResultComposite(ResultPanel composite)
          Sets the result panel for this view.
 
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
 

Field Detail

ID

public static final java.lang.String ID
ID of this view.

See Also:
Constant Field Values
Constructor Detail

StatisticsView

public StatisticsView()
Public constructor.

Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize it.

Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class org.eclipse.ui.part.WorkbenchPart

removeInitializeMessage

public void removeInitializeMessage()
Removes the initial message which is being shown before any statistics have been run.


setFocus

public void setFocus()
Passing the focus request to the viewer's control.

Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

getParent

public org.eclipse.swt.widgets.Composite getParent()
Returns the container of this view. This composite is used to populate the view with other components.

Returns:
The composite container of this view.

clean

public void clean()
Cleans the main result view from all active components.


setResultComposite

public void setResultComposite(ResultPanel composite)
Sets the result panel for this view.

Parameters:
composite - Composite containing the results of a query.

getResultPanel

public ResultPanel getResultPanel()
Returns:
ResultPanel

setActionsEnabled

public void setActionsEnabled(boolean enabled)
Sets the enabled state for actions in this view.

Parameters:
enabled - True if actions should be enabled, false for disabled.
See Also:
org.eclipse.jface.action.IAction.ENABLED

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