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:
IAdaptable,IExecutableExtension,IPersistable,IViewPart,IWorkbenchPart,IWorkbenchPart2,IWorkbenchPart3,IWorkbenchPartOrientation
-
Field Summary
FieldsFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartControl(Composite parent) voiddispose()static StringgetDurationString(long duration) voidstatic voidopenEditor(Object resource, int lineNumber) Opens the given resource in an editor.voidsetFocus()voidMethods inherited from class org.eclipse.ui.part.ViewPart
getViewSite, init, init, saveState, setInitializationDataMethods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyMethods inherited from class java.lang.Object
equals, 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, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Field Details
-
VIEW_ID
- See Also:
-
TEST_STATUS_PROPERTY
- See Also:
-
-
Constructor Details
-
UnitTestView
public UnitTestView()
-
-
Method Details
-
openEditor
Opens the given resource in an editor. Needs to be run from the UI thread.- Parameters:
resource- resource to openlineNumber- line number to jump to in editor
-
createPartControl
- Specified by:
createPartControlin interfaceIWorkbenchPart- Specified by:
createPartControlin classWorkbenchPart
-
setFocus
public void setFocus()- Specified by:
setFocusin interfaceIWorkbenchPart- Specified by:
setFocusin classWorkbenchPart
-
getFileTreeViewer
-
getTableViewer
-
notifyEngineCreation
-
getDurationString
-
dispose
public void dispose()- Specified by:
disposein interfaceIWorkbenchPart- Overrides:
disposein classWorkbenchPart
-
terminateSuite
public void terminateSuite() -
getCurrentEngine
- Returns:
- the currentEngine
-
getCurrentTestSuite
-