org.eclipse.mylar.internal.monitor.reports.ui.views
Class UsageStatsEditorPart
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.mylar.internal.monitor.reports.ui.views.UsageEditorPart
org.eclipse.mylar.internal.monitor.reports.ui.views.UsageStatsEditorPart
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation
public class UsageStatsEditorPart
- extends UsageEditorPart
- Author:
- Mik Kersten, Meghan Allen (re-factoring)
Field Summary |
private java.lang.String[] |
columnNames
|
private org.eclipse.swt.widgets.Table |
table
|
private org.eclipse.jface.viewers.TableViewer |
tableViewer
|
Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Method Summary |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
private void |
createTable(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
|
private void |
createTableViewer()
|
private void |
createUsageSection(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
|
protected void |
exportToCSV()
|
Methods inherited from class org.eclipse.ui.part.EditorPart |
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, removePropertyListener, 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, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
table
private org.eclipse.swt.widgets.Table table
tableViewer
private org.eclipse.jface.viewers.TableViewer tableViewer
columnNames
private java.lang.String[] columnNames
UsageStatsEditorPart
public UsageStatsEditorPart()
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
- Overrides:
createPartControl
in class UsageEditorPart
createUsageSection
private void createUsageSection(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
createTable
private void createTable(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
createTableViewer
private void createTableViewer()
exportToCSV
protected void exportToCSV()
- Overrides:
exportToCSV
in class UsageEditorPart