edu.iastate.metnet.ui
Class PathwayObjectWorker
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
edu.iastate.metnet.utils.SwingWorker2
edu.iastate.metnet.ui.PathwayObjectWorker
- All Implemented Interfaces:
- java.lang.Runnable
public class PathwayObjectWorker
- extends SwingWorker2
| 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) boolean |
includeEmpty
inlcude empty structure? |
(package private) java.util.Vector |
pathwaySink
the pathway object result for this thread |
(package private) java.util.Collection |
pbidList
the pathway blockid for query |
| Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
threadFactory_ |
|
Constructor Summary |
PathwayObjectWorker(java.util.Collection pbidList,
java.util.Vector sink,
boolean includeEmpty)
default constructor |
|
Method Summary |
protected java.lang.Object |
construct()
call remote finder |
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 |
pathwaySink
java.util.Vector pathwaySink
- the pathway object result for this thread
pbidList
java.util.Collection pbidList
- the pathway blockid for query
includeEmpty
boolean includeEmpty
- inlcude empty structure?
PathwayObjectWorker
public PathwayObjectWorker(java.util.Collection pbidList,
java.util.Vector sink,
boolean includeEmpty)
- default constructor
- Parameters:
pbidList - the pathway blockid listsink - the result
construct
protected java.lang.Object construct()
throws java.lang.Exception
- call remote finder
- Specified by:
construct in class SwingWorker2
- Throws:
java.lang.Exception
finished
protected void finished()
- save the result to main sink
- Overrides:
finished in class SwingWorker2