Importing Files

Poseidon provides a slick dialog to assist with the importation of source code. You can save any changes you make to the settings, such as modeling Java attributes as UML associations, by clicking the 'Apply' button in the lower right section of the dialog.

Several options are available when importing code:

General Tab

Java Tab

Should the import fail because needed files have not been located, an error dialog will appear. If you would like to continue without adding to the classpath and create dummy classes instead, click 'Yes'. To return to the previous dialog and add the necessary files to the classpath, click 'No'.

Once the import has begun, a dialog will appear asking if you would like to generate diagrams. A tree of the project is also presented, so that you can choose which packages and classes you would like to include in the diagrams. By default, any packages that contain new classes are automatically selected.

MDL Import Tab

The MDL Import tab is used to import diagrams saved to the Rational Rose format.

Here is an example of what an imported Java class looks like in the Navigation Pane and in the Diagram pane, as well as showing a bit of the source code: