Package org.eclipse.epsilon.profiling.dt
Class ProfilerView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.epsilon.profiling.dt.ProfilerView
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,IProfilerListener,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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected static final intprotected org.eclipse.swt.graphics.Imageprotected static final intprotected static final intprotected OverviewViewerprotected List<ProfilerTarget>protected org.eclipse.swt.graphics.Imageprotected booleanprotected booleanprotected static final intprotected List<ProfilerTargetSummary>protected static final intFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidcreatePartControl(org.eclipse.swt.widgets.Composite parent) This is a callback that will allow us to create the viewer and initialize it.protected voidprotected voidorg.eclipse.jface.viewers.TableViewerbooleanbooleanbooleanvoidrefresh()voidsetAutoRefresh(boolean autoRefresh) voidsetFocus()Passing the focus request to the viewer's control.voidsetShowAggregatedWork(boolean showAggregatedWork) voidsetSortChildrenTargetsByTime(boolean sortChildrenTargetsByTime) voidtargetStarted(String task) voidtargetStopped(String task) Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartNameMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Field Details
-
ORDER_COLUMN
protected static final int ORDER_COLUMN- See Also:
-
TARGET_COLUMN
protected static final int TARGET_COLUMN- See Also:
-
TIMES_COLUMN
protected static final int TIMES_COLUMN- See Also:
-
CPU_COLUMN
protected static final int CPU_COLUMN- See Also:
-
AVG_COLUMN
protected static final int AVG_COLUMN- See Also:
-
overviewViewer
-
autoRefresh
protected boolean autoRefresh -
running
protected org.eclipse.swt.graphics.Image running -
completed
protected org.eclipse.swt.graphics.Image completed -
sortChildrenTargetsByTime
protected boolean sortChildrenTargetsByTime -
showAggregatedWork
protected boolean showAggregatedWork -
targetSummaries
-
rootTargets
-
-
Constructor Details
-
ProfilerView
public ProfilerView()The constructor.
-
-
Method Details
-
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:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classorg.eclipse.ui.part.WorkbenchPart
-
createDetailsTree
protected void createDetailsTree() -
createTargetsTable
protected void createTargetsTable() -
createRulesTable
protected void createRulesTable() -
setFocus
public void setFocus()Passing the focus request to the viewer's control.- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
targetStarted
- Specified by:
targetStartedin interfaceIProfilerListener
-
targetStopped
- Specified by:
targetStoppedin interfaceIProfilerListener
-
refresh
public void refresh()- Specified by:
refreshin interfaceIProfilerListener
-
isAutoRefresh
public boolean isAutoRefresh() -
setAutoRefresh
public void setAutoRefresh(boolean autoRefresh) -
getViewer
public org.eclipse.jface.viewers.TableViewer getViewer() -
isSortChildrenTargetsByTime
public boolean isSortChildrenTargetsByTime() -
setSortChildrenTargetsByTime
public void setSortChildrenTargetsByTime(boolean sortChildrenTargetsByTime) -
isShowAggregatedWork
public boolean isShowAggregatedWork() -
setShowAggregatedWork
public void setShowAggregatedWork(boolean showAggregatedWork)
-