Pramati Technologies Home

Using ArgoUML Tool

Overview

ArgoUML is a Java based modelling tool that helps the user to design, develop and document object oriented applications. It can save most of the standard UML diagrams. It can reverse compilation of Java code and generate corresponding UML diagrams. It supports:

ArgoUML Modelling Tool has the following features:

Working with ArgoUML in Studio

To start working with ArgoUML tool in Studio, go to <install_dir>/lib/pramati/umltoolkit.jar. It contains the following files:

Extract the files in umltoolkit.jar to lib\pramati directory of Studio installation directory or into a temporary folder in lib\pramati directory.

For more information on ArgoUML, visit http://www.argouml.org.

Using ArgoUML Modelling Tool

Creating a model, generating source and adding to desk

To create a new model, open an existing desk or create a new desk using Studio.

  1. Select Tools > ArgoUML > New Model to open a new project with a default template.
  2. Create the model in ArgoUML. For more information, go to http://www.argouml.org

  3. Select File > Save Project As to save the new model with zargo extension. Add the saved file to the desk under UML Models module.
  4. To generate source for a new model for example, Supply, create a module, orderApp and add the model, Supply to it.
  5. Right click on Supply.zargo and select Generate Source. The xmi file is extracted from Supply.zargo and parsed. The following panel displays model packages and desk modules:

  6. Map the packages to appropriate modules.
  7. Click Generate Source. A source is generated for the selected model and added to the chosen module.
  8. Select Compile and Build All Classes to compile the generated source. This is optional.

Creating a UML Model for a Desk Module

  1. Select ArgoUML > Show Model. The following panel enables the user to select the desk module to be modelled:

  2. Select the required module and click OK. This displays the model in the ArgoUML Window.
  3. Select File > Save Project from the ArgoUML file menu to save the project.

Opening an existing ArgoUML project from desk

  1. Open the required desk.
  2. Select Tools > ArgoUML > Open Model to open an existing model. The following panel enables the user to select from the available zargo files:

  3. Select the required zargo file. The model appears in the ArgoUML Window.

Note: The Generate Source option is also available at the menu bar Select Tools > ArgoUML > Generate Source. Open Model is also available as a Right clicking on a zargo file UML models module.

Pramati Technologies  © Copyright

 Home