public class ReportList extends PropertiesViewPart implements ReportListener<Report<Message>,Message>
Modifier and Type | Field and Description |
---|---|
static String |
ID
The ID for this plugin.
|
Constructor and Description |
---|
ReportList()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
createPartControl, getAdapter
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public static final String ID
protected String getViewContext()
PropertiesViewPart
getViewContext
in class PropertiesViewPart
null
PropertiesViewPart.getViewContext()
public void selectReport(Report<? extends Message> report)
report
- the report to selectpublic String getContributorId()
getContributorId
in interface org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor
getContributorId
in class PropertiesViewPart
ITabbedPropertySheetPageContributor.getContributorId()
public void createViewControl(org.eclipse.swt.widgets.Composite parent)
createViewControl
in class PropertiesViewPart
parent
- parent elementWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public Class getReportType()
ReportListener
getReportType
in interface ReportListener<Report<Message>,Message>
ReportListener.getReportType()
public Class getMessageType()
ReportListener
getMessageType
in interface ReportListener<Report<Message>,Message>
ReportListener.getMessageType()
public void reportAdded(Report<Message> report)
ReportListener
reportAdded
in interface ReportListener<Report<Message>,Message>
report
- the report that was addedReportListener.reportAdded(eu.esdihumboldt.hale.common.core.report.Report)
public void reportsDeleted()
ReportListener
reportsDeleted
in interface ReportListener<Report<Message>,Message>
ReportListener.reportsDeleted()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a