edu.iastate.metnet.ui
Class CompileWorker
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
edu.iastate.metnet.utils.SwingWorker2
edu.iastate.metnet.ui.CompileWorker
- All Implemented Interfaces:
- java.lang.Runnable
public class CompileWorker
- extends SwingWorker2
network compilation thread
- Author:
- Jie Li
| Nested classes/interfaces inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser.DefaultThreadFactory |
|
Field Summary |
(package private) java.util.Vector |
alignmentSink
alignment result sinker, should from the parent window |
(package private) org._3pq.jgrapht.DirectedGraph |
directedGraph
query graph |
(package private) java.util.Collection |
pbidList
compilation list |
| Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
threadFactory_ |
|
Constructor Summary |
CompileWorker(java.util.Collection pbidList,
org._3pq.jgrapht.DirectedGraph directedGraph,
java.util.Vector sink)
XXX !!! to prevent any conflict, using deepCopy to send the parameter except the sink |
|
Method Summary |
protected java.lang.Object |
construct()
call remote compilation |
protected void |
finished()
save the result to main sink |
| Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
getThreadFactory, setThreadFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
alignmentSink
java.util.Vector alignmentSink
- alignment result sinker, should from the parent window
pbidList
java.util.Collection pbidList
- compilation list
directedGraph
org._3pq.jgrapht.DirectedGraph directedGraph
- query graph
CompileWorker
public CompileWorker(java.util.Collection pbidList,
org._3pq.jgrapht.DirectedGraph directedGraph,
java.util.Vector sink)
- XXX !!! to prevent any conflict, using deepCopy to send the parameter except the sink
- Parameters:
pbidList - the pathway blockid listdirectedGraph - the directed graphsink - the result sink
construct
protected java.lang.Object construct()
throws java.lang.InterruptedException
- call remote compilation
- Specified by:
construct in class SwingWorker2
- Throws:
java.lang.InterruptedException
finished
protected void finished()
- save the result to main sink
- Overrides:
finished in class SwingWorker2