wt.clients.folderexplorer
Class WindchillExplorerFrame.WorkThread

java.lang.Object
  extended byjava.lang.Thread
      extended bywt.util.WTThread
          extended bywt.clients.folderexplorer.WindchillExplorerFrame.WorkThread
All Implemented Interfaces:
Runnable
Enclosing class:
WindchillExplorerFrame

class WindchillExplorerFrame.WorkThread
extends WTThread

Internal class used to launch work threads to perform context dependent or long running actions.


Field Summary
(package private)  int action
           
(package private)  CabinetBased contextObj
           
(package private)  Class createClass
           
(package private)  String createClassString
           
(package private)  boolean withView
           
 
Fields inherited from class wt.util.WTThread
CREATED, DONE, PROGRESS_COUNT, PROGRESS_PERCENT, RUNNING, STATE, STATUS
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WindchillExplorerFrame.WorkThread(ThreadGroup threadGroup, int action)
           
WindchillExplorerFrame.WorkThread(ThreadGroup thread_group, int action, boolean with_view)
           
WindchillExplorerFrame.WorkThread(ThreadGroup thread_group, int action, CabinetBased obj)
           
WindchillExplorerFrame.WorkThread(ThreadGroup thread_group, int action, Class new_class)
           
WindchillExplorerFrame.WorkThread(ThreadGroup thread_group, int action, String new_class)
           
 
Method Summary
 CabinetBased getContextObject()
           
 void run()
          Run method.
 void setContextObject(CabinetBased obj)
           
 
Methods inherited from class wt.util.WTThread
addPropertyChangeListener, cancel, currentProgressCount, currentProgressPercent, currentStatus, firePropertyChange, firePropertyChange, getProgressCount, getProgressPercent, getState, getStatus, interrupt, isInterrupted, ready, removePropertyChangeListener, setInterruptHandler, setProgressCount, setProgressPercent, setStatus, start
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

action

int action

createClass

Class createClass

createClassString

String createClassString

contextObj

CabinetBased contextObj

withView

boolean withView
Constructor Detail

WindchillExplorerFrame.WorkThread

public WindchillExplorerFrame.WorkThread(ThreadGroup threadGroup,
                                         int action)

WindchillExplorerFrame.WorkThread

public WindchillExplorerFrame.WorkThread(ThreadGroup thread_group,
                                         int action,
                                         Class new_class)

WindchillExplorerFrame.WorkThread

public WindchillExplorerFrame.WorkThread(ThreadGroup thread_group,
                                         int action,
                                         String new_class)

WindchillExplorerFrame.WorkThread

public WindchillExplorerFrame.WorkThread(ThreadGroup thread_group,
                                         int action,
                                         CabinetBased obj)

WindchillExplorerFrame.WorkThread

public WindchillExplorerFrame.WorkThread(ThreadGroup thread_group,
                                         int action,
                                         boolean with_view)
Method Detail

setContextObject

public void setContextObject(CabinetBased obj)

getContextObject

public CabinetBased getContextObject()

run

public void run()
Description copied from class: WTThread
Run method. This method overrides the default run method to fire property change events for the state property.

Supported API: true

Specified by:
run in interface Runnable
Overrides:
run in class WTThread