org.argouml.uml.reveng
Class Import.ImportRun
java.lang.Object
|
+--org.argouml.uml.reveng.Import.ImportRun
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- Import
- class Import.ImportRun
- extends java.lang.Object
- implements java.lang.Runnable
This class parses each file in turn and allows the GUI to refresh
itself by performing the run() once for each file.
This class also listens for a "Stop" message from the
ImportStatusScreen, in order to cancel long import runs.
Constructor Summary |
Import.ImportRun(java.util.Vector f,
boolean critic,
boolean doLayout)
|
Method Summary |
private void |
cancel()
|
private boolean |
isCancelled()
|
void |
run()
Called once for each file to be parsed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
private Logger cat
- logger
_filesLeft
java.util.Vector _filesLeft
_countFiles
int _countFiles
_countFilesThisPass
int _countFilesThisPass
_nextPassFiles
java.util.Vector _nextPassFiles
_st
SimpleTimer _st
cancelled
boolean cancelled
criticThreadWasOn
boolean criticThreadWasOn
doLayout
boolean doLayout
Import.ImportRun
public Import.ImportRun(java.util.Vector f,
boolean critic,
boolean doLayout)
run
public void run()
- Called once for each file to be parsed.
To refresh the GUI it calls itself again using the
SwingUtilities.invokeLater(Runnable)
method.
- Specified by:
run
in interface java.lang.Runnable
cancel
private void cancel()
isCancelled
private boolean isCancelled()