net.bpelunit.framework.client.eclipse.views
Class BPELUnitView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
net.bpelunit.framework.client.eclipse.views.BPELUnitView
- All Implemented Interfaces:
- net.bpelunit.framework.model.test.ITestResultListener, 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 BPELUnitView
- extends org.eclipse.ui.part.ViewPart
- implements net.bpelunit.framework.model.test.ITestResultListener
The BPELUnit Test Runner View.
- Version:
- $Id$
- Author:
- Philip Mayer
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
| 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, 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.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
BPELUnitView
public BPELUnitView()
- The constructor.
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
createProgressCountPanel
protected org.eclipse.swt.widgets.Composite createProgressCountPanel(org.eclipse.swt.widgets.Composite parent)
createImage
public static org.eclipse.swt.graphics.Image createImage(String path)
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart- Overrides:
dispose in class org.eclipse.ui.part.WorkbenchPart
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
registerLaunchSession
public void registerLaunchSession(TestRunSession session)
- Registers a new launch session. This updates the view and registers it to
the new suite as a listener.
deregisterLaunchSession
public void deregisterLaunchSession(TestRunSession session)
progress
public void progress(net.bpelunit.framework.model.test.report.ITestArtefact testArtefact)
- Specified by:
progress in interface net.bpelunit.framework.model.test.ITestResultListener
testCaseEnded
public void testCaseEnded(net.bpelunit.framework.model.test.TestCase testCase)
- Specified by:
testCaseEnded in interface net.bpelunit.framework.model.test.ITestResultListener
testCaseStarted
public void testCaseStarted(net.bpelunit.framework.model.test.TestCase testCase)
- Specified by:
testCaseStarted in interface net.bpelunit.framework.model.test.ITestResultListener
getImage
public org.eclipse.swt.graphics.Image getImage(net.bpelunit.framework.model.test.report.ITestArtefact element)
handleSelected
public void handleSelected(net.bpelunit.framework.model.test.report.ITestArtefact testElement)
Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.