gui.workSpace
Class WorkspaceManager

java.lang.Object
  extended by gui.workSpace.WorkspaceManager
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener

public class WorkspaceManager
extends java.lang.Object
implements javax.swing.event.ChangeListener

Version:
1.0
Author:
Oscar Flores

Field Summary
 Context exeCon
           
 Identifier id
           
protected  javax.swing.event.EventListenerList listenerList
           
 Matrix refMat
           
 Workspace ws
           
 
Constructor Summary
WorkspaceManager(Workspace workspace)
           
 
Method Summary
 void addDoneTestListener(DoneTestListener listener)
           
private  void changeTest(int idTest, int resTest)
           
private  void doTest(int idTest, int resTest)
           
 void exportLog()
           
protected  void fireDoneTest(EventDoneTest evt)
           
 void recalculateAll()
          Recalculates all the context
 void removeDoneTestListener(DoneTestListener listener)
           
 void showLog()
           
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenerList

protected javax.swing.event.EventListenerList listenerList

ws

public Workspace ws

id

public Identifier id

refMat

public Matrix refMat

exeCon

public Context exeCon
Constructor Detail

WorkspaceManager

public WorkspaceManager(Workspace workspace)
                 throws DataException,
                        CoreException
Throws:
DataException
CoreException
Method Detail

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

doTest

private void doTest(int idTest,
                    int resTest)
             throws CoreException
Throws:
CoreException

changeTest

private void changeTest(int idTest,
                        int resTest)
                 throws CoreException
Throws:
CoreException

recalculateAll

public void recalculateAll()
                    throws CoreException
Recalculates all the context

Throws:
CoreException

showLog

public void showLog()

exportLog

public void exportLog()

addDoneTestListener

public void addDoneTestListener(DoneTestListener listener)

removeDoneTestListener

public void removeDoneTestListener(DoneTestListener listener)

fireDoneTest

protected void fireDoneTest(EventDoneTest evt)