uk.ac.mrc.hgmp.embreo
Class EmbreoPendingResults
java.lang.Object
|
+--uk.ac.mrc.hgmp.embreo.EmbreoPendingResults
- public class EmbreoPendingResults
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbreoPendingResults
public EmbreoPendingResults(EmbreoParams mysettings)
numCompleted
public int numCompleted()
numRunning
public int numRunning()
resetCount
public void resetCount()
addResult
public void addResult(EmbreoResult res)
getCurrent
public java.lang.String getCurrent()
- Gives which of the available datasets is currently
being looked at by the gui
setCurrent
public void setCurrent(java.lang.String s)
- Save the name of a dataset, marking it as the current dataset
- Parameters:
s
- The name of the dataset
removeResult
public void removeResult(EmbreoResult res)
descriptionHash
public java.util.Hashtable descriptionHash()
statusHash
public java.util.Hashtable statusHash()
updateJobStats
public void updateJobStats()
jobStatus
public java.lang.String jobStatus()
updateStatus
public void updateStatus()
- Connect to the embreo server, and update the status of the jobs
in the list. If a statusPanel is active, updates the text on that.
updateMode
public void updateMode()
- Updates the mode on the combo box to reflect the current state
updateMode
public void updateMode(java.lang.String s)
- Updates the mode on the combo box to reflect the
requested value
statusPanel
public javax.swing.JPanel statusPanel(javax.swing.JFrame f)
- A panel with appropriate gadgets to show the status of any jobs
and to view them, and to set the mode.
- Parameters:
f
- The parent frame, to which dialogs will be attached.
showPendingResults
public void showPendingResults(javax.swing.JFrame f)