Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.report
Class ReportList

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 eu.esdihumboldt.hale.ui.views.properties.PropertiesViewPart
                  extended by eu.esdihumboldt.hale.ui.views.report.ReportList
All Implemented Interfaces:
ReportListener<Report<Message>,Message>, 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, org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor

public class ReportList
extends PropertiesViewPart
implements ReportListener<Report<Message>,Message>

This is the Report view.

Author:
Andreas Burchert
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
static String ID
          The ID for this plugin.
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
ReportList()
          Constructor.
 
Method Summary
 void createViewControl(org.eclipse.swt.widgets.Composite parent)
          Create contents of the view part.
 String getContributorId()
           
 Class getMessageType()
          Get the message type
 Class getReportType()
          Get the report type.
protected  String getViewContext()
          Get the view's dynamic help context identifier.
 void reportAdded(Report<Message> report)
          Called when a report has been added
 void reportsDeleted()
          Called when all reports have been deleted
 void selectReport(Report<? extends Message> report)
          Selects the given report if it exists, otherwise the selection is removed.
 void setFocus()
           
 
Methods inherited from class eu.esdihumboldt.hale.ui.views.properties.PropertiesViewPart
createPartControl, getAdapter
 
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, dispose, firePartPropertyChanged, firePropertyChange, 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 

Field Detail

ID

public static final String ID
The ID for this plugin.

See Also:
Constant Field Values
Constructor Detail

ReportList

public ReportList()
Constructor.

Method Detail

getViewContext

protected String getViewContext()
Description copied from class: PropertiesViewPart
Get the view's dynamic help context identifier.

Overrides:
getViewContext in class PropertiesViewPart
Returns:
the context id or null
See Also:
PropertiesViewPart.getViewContext()

selectReport

public void selectReport(Report<? extends Message> report)
Selects the given report if it exists, otherwise the selection is removed.

Parameters:
report - the report to select

getContributorId

public String getContributorId()
Specified by:
getContributorId in interface org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor
Overrides:
getContributorId in class PropertiesViewPart
See Also:
ITabbedPropertySheetPageContributor.getContributorId()

createViewControl

public void createViewControl(org.eclipse.swt.widgets.Composite parent)
Create contents of the view part.

Specified by:
createViewControl in class PropertiesViewPart
Parameters:
parent - parent element
See Also:
WorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)

setFocus

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

getReportType

public Class getReportType()
Description copied from interface: ReportListener
Get the report type.

Specified by:
getReportType in interface ReportListener<Report<Message>,Message>
Returns:
the report type
See Also:
ReportListener.getReportType()

getMessageType

public Class getMessageType()
Description copied from interface: ReportListener
Get the message type

Specified by:
getMessageType in interface ReportListener<Report<Message>,Message>
Returns:
the message type
See Also:
ReportListener.getMessageType()

reportAdded

public void reportAdded(Report<Message> report)
Description copied from interface: ReportListener
Called when a report has been added

Specified by:
reportAdded in interface ReportListener<Report<Message>,Message>
Parameters:
report - the report that was added
See Also:
ReportListener.reportAdded(eu.esdihumboldt.hale.common.core.report.Report)

reportsDeleted

public void reportsDeleted()
Description copied from interface: ReportListener
Called when all reports have been deleted

Specified by:
reportsDeleted in interface ReportListener<Report<Message>,Message>
See Also:
ReportListener.reportsDeleted()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d