Class UnitTestView

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ease.lang.unittest.ui.views.UnitTestView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, 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 UnitTestView extends org.eclipse.ui.part.ViewPart
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from interface org.eclipse.ui.IWorkbenchPart

    PROP_TITLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createPartControl(org.eclipse.swt.widgets.Composite parent)
     
    void
     
     
     
    static String
    getDurationString(long duration)
     
    org.eclipse.jface.viewers.TreeViewer
     
    org.eclipse.jface.viewers.StructuredViewer
     
    void
     
    static void
    openEditor(Object resource, int lineNumber)
    Opens the given resource in an editor.
    void
     
    void
     

    Methods inherited from class org.eclipse.ui.part.ViewPart

    getViewSite, init, init, saveState, setInitializationData

    Methods inherited from class org.eclipse.ui.part.WorkbenchPart

    addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy

    Methods inherited from class java.lang.Object

    equals, 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, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
  • Field Details

  • Constructor Details

    • UnitTestView

      public UnitTestView()
  • Method Details

    • openEditor

      public static void openEditor(Object resource, int lineNumber)
      Opens the given resource in an editor. Needs to be run from the UI thread.
      Parameters:
      resource - resource to open
      lineNumber - line number to jump to in editor
    • createPartControl

      public void createPartControl(org.eclipse.swt.widgets.Composite parent)
      Specified by:
      createPartControl in interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      createPartControl in class org.eclipse.ui.part.WorkbenchPart
    • setFocus

      public void setFocus()
      Specified by:
      setFocus in interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      setFocus in class org.eclipse.ui.part.WorkbenchPart
    • getFileTreeViewer

      public org.eclipse.jface.viewers.TreeViewer getFileTreeViewer()
    • getTableViewer

      public org.eclipse.jface.viewers.StructuredViewer getTableViewer()
    • notifyEngineCreation

      public void notifyEngineCreation(TestSuiteScriptEngine engine)
    • getDurationString

      public static String getDurationString(long duration)
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.ui.IWorkbenchPart
      Overrides:
      dispose in class org.eclipse.ui.part.WorkbenchPart
    • terminateSuite

      public void terminateSuite()
    • getCurrentEngine

      public TestSuiteScriptEngine getCurrentEngine()
      Returns:
      the currentEngine
    • getCurrentTestSuite

      public ITestSuite getCurrentTestSuite()