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

public class ProfilerView extends org.eclipse.ui.part.ViewPart implements IProfilerListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected 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 static final int
     

    Fields inherited from interface org.eclipse.ui.IWorkbenchPart

    PROP_TITLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    The constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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
     
    void
    setAutoRefresh(boolean autoRefresh)
     
    void
    Passing the focus request to the viewer's control.
    void
    setShowAggregatedWork(boolean showAggregatedWork)
     
    void
    setSortChildrenTargetsByTime(boolean sortChildrenTargetsByTime)
     
    void
     
    void
     

    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

      protected OverviewViewer 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

      protected List<ProfilerTargetSummary> targetSummaries
    • rootTargets

      protected List<ProfilerTarget> 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 interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      createPartControl in class org.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 interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      setFocus in class org.eclipse.ui.part.WorkbenchPart
    • targetStarted

      public void targetStarted(String task)
      Specified by:
      targetStarted in interface IProfilerListener
    • targetStopped

      public void targetStopped(String task)
      Specified by:
      targetStopped in interface IProfilerListener
    • refresh

      public void refresh()
      Specified by:
      refresh in interface IProfilerListener
    • 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)