edu.usp.ime.hipo.screens
Class ExecutionThread

java.lang.Object
  extended by edu.usp.ime.hipo.screens.ExecutionThread
All Implemented Interfaces:
java.lang.Runnable

public class ExecutionThread
extends java.lang.Object
implements java.lang.Runnable

Thread para a execu??o dos programas

Author:
Rafael Crivellari Saliba Schouery (schouery@gmail.com)

Field Summary
static int DEBUGMODE
           
private  EditTab e
           
private  In in
           
private  int initialPosition
           
private  HipoMemory memory
           
(package private)  int mode
           
private  javax.swing.JPanel othercomponents
           
private  Out out
           
(package private)  int pos
           
private  HipoProcessor processor
           
static int RUNMODE
           
private  StepBuffer s
           
private  javax.swing.JTable t
           
 
Constructor Summary
ExecutionThread(EditTab tab, StepBuffer s)
          Cria a thread
 
Method Summary
 void debug(int IAR)
          Depura o programa
 void run()
          Roda o programa (normal ou em modo de depura??
 void setInitialPosition(int pos)
           
 void setMode(int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pos

int pos

mode

int mode

RUNMODE

public static final int RUNMODE
See Also:
Constant Field Values

DEBUGMODE

public static final int DEBUGMODE
See Also:
Constant Field Values

e

private EditTab e

memory

private HipoMemory memory

othercomponents

private javax.swing.JPanel othercomponents

in

private In in

out

private Out out

processor

private HipoProcessor processor

t

private javax.swing.JTable t

initialPosition

private int initialPosition

s

private StepBuffer s
Constructor Detail

ExecutionThread

public ExecutionThread(EditTab tab,
                       StepBuffer s)
Cria a thread

Parameters:
tab - A Tab que contem?o programa a ser executado
s - O StepBuffer a ser usado
Method Detail

setInitialPosition

public void setInitialPosition(int pos)

run

public void run()
Roda o programa (normal ou em modo de depura??o)

Specified by:
run in interface java.lang.Runnable

setMode

public void setMode(int mode)

debug

public void debug(int IAR)
Depura o programa

Parameters:
IAR - O IAR inicial a ser usado