edu.iastate.metnet.ui
Class PathwayObjectWorker

java.lang.Object
  extended by EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
      extended by edu.iastate.metnet.utils.SwingWorker2
          extended by edu.iastate.metnet.ui.PathwayObjectWorker
All Implemented Interfaces:
java.lang.Runnable

public class PathwayObjectWorker
extends SwingWorker2


Nested Class Summary
 
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.iastate.metnet.utils.SwingWorker2
get, getException, getTimeout, interrupt, isReady, run, start, timedGet
 
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
 

Field Detail

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?

Constructor Detail

PathwayObjectWorker

public PathwayObjectWorker(java.util.Collection pbidList,
                           java.util.Vector sink,
                           boolean includeEmpty)
default constructor

Parameters:
pbidList - the pathway blockid list
sink - the result
Method Detail

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