Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      ProfilerView()
      The constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void createDetailsTree()  
      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 createRulesTable()  
      protected void createTargetsTable()  
      org.eclipse.jface.viewers.TableViewer getViewer()  
      boolean isAutoRefresh()  
      boolean isShowAggregatedWork()  
      boolean isSortChildrenTargetsByTime()  
      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​(java.lang.String task)  
      void targetStopped​(java.lang.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 Detail

      • 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
    • Constructor Detail

      • ProfilerView

        public ProfilerView()
        The constructor.
    • Method Detail

      • 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
      • 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)