|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.uml.reveng.Import
This is the main class for all import classes.
It provides JPanels for tailoring the import run in the FileChooser.
The Import run is started by calling doFile(Project, File)
Supports recursive search in folder for all .java classes.
$Revision: 1.17 $
$Date: 2003/03/07 07:52:54 $
Constructor Summary | |
Import()
|
Method Summary | |
static void |
doFile(Project p,
java.io.File f)
This method is called by ActionImportFromSources to start the import run. |
static javax.swing.JComponent |
getConfigPanel()
Get the panel that lets the user set reverse engineering parameters. |
static java.lang.String |
getSrcPath()
|
static boolean |
isCreateDiagramsChecked()
Check, if "Create diagrams from imported code" is selected. |
static boolean |
needsSave()
If we have modified any diagrams, the project was modified and should be saved. |
static void |
parseFile(Project p,
java.io.File f)
Parse 1 Java file, using JavaImport. |
static void |
realDoFile(org.argouml.uml.reveng.ImportStatusScreen iss,
Project p,
java.util.Vector files)
This method is no longer used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Import()
Method Detail |
public static javax.swing.JComponent getConfigPanel()
public static void doFile(Project p, java.io.File f)
This method is called by ActionImportFromSources to start the import run.
The method that for all parsing actions. It calls the actual parser methods depending on the type of the file.
p
- The current Argo project.f
- The file or directory, we want to parse.public static void realDoFile(org.argouml.uml.reveng.ImportStatusScreen iss, Project p, java.util.Vector files)
This method is no longer used.
old notes [This method does all the actual importing. Normally it runs in another thread.]
iss
- is the status screen that is called for updates.p
- is the projectfiles
- is a Vector of the files to be imported.public static java.lang.String getSrcPath()
public static void parseFile(Project p, java.io.File f) throws java.lang.Exception
Parse 1 Java file, using JavaImport.
f
- The file to parse.Parser
- exception.public static boolean isCreateDiagramsChecked()
public static boolean needsSave()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML (c) 1996-2002 |