fr.umlv.gramofone.ui
Class GMTask
java.lang.Object
fr.umlv.gramofone.ui.GMTask
public class GMTask
- extends java.lang.Object
Cytoscape task for the plugin
- Author:
- fsikora
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMTask
public GMTask(CyNetwork network,
MyPattern pattern)
getTitle
public java.lang.String getTitle()
halt
public void halt()
run
public void run()
setTaskMonitor
public void setTaskMonitor(TaskMonitor taskMonitor)
throws java.lang.IllegalThreadStateException
- Throws:
java.lang.IllegalThreadStateException
updateStatus
public void updateStatus(int nbResults)
- update the taskStatus with the number of current results found
- Parameters:
nbResults -
updateStatusText
public void updateStatusText(java.lang.String action)
updatePercent
public void updatePercent(float percent)
getResults
public java.util.ArrayList<SubGraphResult> getResults()
- get the list of results found by the solver
- Returns:
- a sorted list of subgraph results
setStartTime
public void setStartTime()
getStartTime
public long getStartTime()