verinec.gui
Class VerinecStudio.FindClassThread

java.lang.Object
  extended by java.lang.Thread
      extended by verinec.gui.VerinecStudio.FindClassThread
All Implemented Interfaces:
Runnable
Enclosing class:
VerinecStudio

 class VerinecStudio.FindClassThread
extends Thread

Thread that searches for IVerinecModules

Author:
Dominik Jungo

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  VerinecStudio.ModulesConfig moduleC
           
private  VerinecStudio.SearchingDialog sdialog
           
private  boolean search
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
VerinecStudio.FindClassThread(VerinecStudio.ModulesConfig moduleC)
          Instanciate the thread
 
Method Summary
private  void cancelSearch()
           
 void run()
          Searches for the IVerinecModules and updates them in the Config Dialog.
private  void setDialog(VerinecStudio.SearchingDialog sdialog)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

moduleC

private VerinecStudio.ModulesConfig moduleC

search

private boolean search

sdialog

private VerinecStudio.SearchingDialog sdialog
Constructor Detail

VerinecStudio.FindClassThread

public VerinecStudio.FindClassThread(VerinecStudio.ModulesConfig moduleC)
Instanciate the thread

Parameters:
moduleC - the Config Dialog
Method Detail

cancelSearch

private void cancelSearch()

setDialog

private void setDialog(VerinecStudio.SearchingDialog sdialog)

run

public void run()
Searches for the IVerinecModules and updates them in the Config Dialog. The Thread can be cancelled by calling cancelSearch() . The callceled thread continues to run searching but doesn't update it's results.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.run()

Copyright © 2005 Verinec, DIUF