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
Modifier and TypeFieldDescriptionprotected boolean
protected static final int
protected org.eclipse.swt.graphics.Image
protected static final int
protected static final int
protected OverviewViewer
protected List<ProfilerTarget>
protected org.eclipse.swt.graphics.Image
protected boolean
protected boolean
protected static final int
protected List<ProfilerTargetSummary>
protected static final int
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
createPartControl
(org.eclipse.swt.widgets.Composite parent) This is a callback that will allow us to create the viewer and initialize it.protected void
protected void
org.eclipse.jface.viewers.TableViewer
boolean
boolean
boolean
void
refresh()
void
setAutoRefresh
(boolean autoRefresh) void
setFocus()
Passing the focus request to the viewer's control.void
setShowAggregatedWork
(boolean showAggregatedWork) void
setSortChildrenTargetsByTime
(boolean sortChildrenTargetsByTime) void
targetStarted
(String task) void
targetStopped
(String task) 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, 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.core.runtime.IAdaptable
getAdapter
Methods 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:
createPartControl
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in 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:
setFocus
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in classorg.eclipse.ui.part.WorkbenchPart
-
targetStarted
- Specified by:
targetStarted
in interfaceIProfilerListener
-
targetStopped
- Specified by:
targetStopped
in interfaceIProfilerListener
-
refresh
public void refresh()- Specified by:
refresh
in 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)
-