|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.
$Id: Import.java,v 1.34 2003/06/30 21:59:34 linus Exp $
Field Summary | |
static java.lang.String |
separator
Deprecated. As of ArgoUml version 0.13.5, don't use this! |
Constructor Summary | |
Import()
Creates dialog window with chooser and configuration panel. |
Method Summary | |
void |
disposeDialog()
Close dialog window. |
void |
doFile()
This method is called by ActionImportFromSources to start the import run. |
javax.swing.JComponent |
getConfigPanel(Import importInstance)
Get the panel that lets the user set reverse engineering parameters. |
Project |
getProject()
Deprecated. As of ArgoUml version 0.13.5, don't use this! |
ProjectBrowser |
getProjectBrowser()
Deprecated. As of ArgoUml version 0.13.5, don't use this! |
java.lang.String |
getSrcPath()
|
boolean |
isCreateDiagramsChecked()
Check, if "Create diagrams from imported code" is selected. |
boolean |
isDiscendDirectoriesRecursively()
Check, if "Discend directories recursively" is selected. |
boolean |
isMinimiseFigsChecked()
Check, if "Minimise Class icons in diagrams" is selected. |
boolean |
needsSave()
If we have modified any diagrams, the project was modified and should be saved. |
void |
parseFile(Project p,
java.lang.Object f)
Parse 1 Java file, using JavaImport. |
void |
setSrcPath(java.lang.String path)
Set path for processed directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String separator
Constructor Detail |
public Import()
Method Detail |
public Project getProject()
public ProjectBrowser getProjectBrowser()
public void disposeDialog()
public javax.swing.JComponent getConfigPanel(Import importInstance)
public void doFile()
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.
public void setSrcPath(java.lang.String path)
public java.lang.String getSrcPath()
public void parseFile(Project p, java.lang.Object f) throws java.lang.Exception
Parse 1 Java file, using JavaImport.
f
- The file to parse.
Parser
- exception.
java.lang.Exception
public boolean isCreateDiagramsChecked()
public boolean isDiscendDirectoriesRecursively()
public boolean isMinimiseFigsChecked()
public boolean needsSave()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030829) | ArgoUML Project Home | ArgoUML Cookbook |