public final class SubmissionView extends org.eclipse.ui.part.ViewPart implements ISubmissionListener, org.eclipse.jface.viewers.IDoubleClickListener
Modifier and Type | Class and Description |
---|---|
private class |
SubmissionView.StateContentProvider |
private class |
SubmissionView.StateLabelProvider |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
currentSubmission |
private SubmissionException |
error |
static java.lang.String |
ID |
private org.eclipse.swt.widgets.ProgressBar |
indicator |
private static int |
INPUT |
private static java.lang.String[] |
LABEL |
private static int |
MAXIMUM |
private static int |
MINIMUM |
private static int |
OUTPUT |
private static int |
RUNNING |
private int |
state |
private org.eclipse.jface.viewers.TreeViewer |
viewer |
Constructor and Description |
---|
SubmissionView() |
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
private void |
createProgressBar(org.eclipse.swt.widgets.Composite parent) |
private void |
createView(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
void |
doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event) |
void |
errorCaught(ISubmission submission,
SubmissionException exception)
Notify this listener that the given submission has thrown
the given error.
|
void |
executionFinished(ISubmission submission)
Notify this listener that the given submission
execution has finished.
|
void |
executionStarted(ISubmission submission)
Notify this listener that the given submission
execution has started.
|
void |
setFocus() |
void |
submissionFinished(ISubmission submission)
Notify this listener that the given submission
has finished.
|
void |
submissionStarted(ISubmission submission)
Notify this listener that the given submission
has started.
|
private void |
update() |
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String ID
private static final int INPUT
private static final int RUNNING
private static final int OUTPUT
private static final java.lang.String[] LABEL
private static final int MINIMUM
private static final int MAXIMUM
private org.eclipse.swt.widgets.ProgressBar indicator
private org.eclipse.jface.viewers.TreeViewer viewer
private int state
private java.lang.String currentSubmission
private SubmissionException error
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
private void createProgressBar(org.eclipse.swt.widgets.Composite parent)
parent
- private void createView(org.eclipse.swt.widgets.Composite parent)
parent
- public void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
doubleClick
in interface org.eclipse.jface.viewers.IDoubleClickListener
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
private void update()
public void submissionStarted(ISubmission submission)
submissionStarted
in interface ISubmissionListener
submission
- Target submission that have started.public void submissionFinished(ISubmission submission)
submissionFinished
in interface ISubmissionListener
submission
- Target submission that have finished.public void executionStarted(ISubmission submission)
executionStarted
in interface ISubmissionListener
submission
- Target submission that have it execution started.public void executionFinished(ISubmission submission)
executionFinished
in interface ISubmissionListener
submission
- Target submission that have it execution finished.public void errorCaught(ISubmission submission, SubmissionException exception)
errorCaught
in interface ISubmissionListener
submission
- Submission that has been throwing an error.exception
- Error caught.