Poseidon for UML Users Guide

Dr. Marko Boger

Thorsten Sturm

Erich Schildhauer

Elizabeth Graham


Table of Contents
1. About Gentleware and Poseidon for UML
Our Vision
Innovation
Cooperation
How to get in touch with us
New Features in Version 2.0
About this document
2. Editions
Community Edition
Standard Edition
Professional Edition
Enterprise Edition
Embedded Edition
Edition Comparison
3. Prerequisites
4. Installation and First Start
Install using InstallAnywhere
Install through Java Web Start
Install from a ZIP file
Environment Variables
5. Keys and Registration
Types and Terminology
Community Edition
Evaluation Copy
Premium Version Purchase
Keys for Plug-ins
6. A Short Tour of Poseidon for UML
Opening the Default Example
Introducing the Work Area
The Navigation Pane
The Diagram Pane
The Details Pane
The Overview Pane
Navigation
Navigating with the Navigation pane
Navigating in the Properties Tab
Modify Elements
Change Element
Create Element
Delete Elements
7. Working with Diagrams
The Diagram Pane
Diagram Pane Toolbar
Viewing Diagrams
The Details Pane
Zooming
Creating New Diagrams
Creating New Elements
Diagram Pane Toolbar
The Rapid Buttons
Editing Elements
Inline Editing Text Values
Editing via the Details pane
Editing via the Context menu
Editing Diagrams
Drag and Drop
Changing Namespaces
Layout functions
Removing and Deleting Elements
Undo/Redo
8. Working with Models
Creating new Models
Saving and Loading Models
Importing Files
Importing Models
Exporting Models
Exporting Graphics and Printing
9. A Walk through the Diagrams
Use Case Diagrams
Diagram Elements
Toolbar
Class Diagrams
Stereotypes
Associations
Attributes
Operations
Diagram Elements
Toolbar
Object Diagrams
Diagram Elements
Toolbar
Activity Diagrams
Diagram Elements
Toolbar
State Diagrams
Diagram Elements
Toolbar
Sequence Diagrams
Diagram Elements
Toolbar
Collaboration Diagrams
Diagram Elements
Toolbar
Component Diagrams
Diagram Elements
Toolbar
Deployment Diagrams
Diagram Elements
Toolbar
10. Panes
Navigation Pane
Add a tab
Delete a tab
Delete a diagram
Diagram Pane
Open Diagrams
Remove Tabs
Create Diagrams
Edit Diagrams
Change properties of the Diagram Pane
Overview Pane
Birdview Tab
Critique tab
Details Pane
Properties Tab
Style Tab
To Do Items Tab
Documentation Tab
Source Code Tab
Constraints Tab
Tagged Values Tab
11. Setting Properties
General
Appearance
Modeling
Diagram Display
Environment
User
Project
Optimizing
12. Code Generation and Round-trip Engineering
Generating Code
Fine-tuning code generation
Reverse-Engineering Code
Round-Trip Engineering
13. Documentation Generation (UMLdoc)
UMLdoc
Code generation settings
Supported javadoc tags
14. Advanced Features
Constraints with OCL
Critiques
Searching for Model Elements
15. Plug-ins and Profiles
The Plug-in Manager
Plug In Guides
Poseidon C# Code Generation Plugin Guide
Poseidon CORBA IDL Code Generation Plugin Guide
Poseidon VB.Net Code Generation Plugin Guide
Poseidon PHP4 Code Generation Plugin Guide
Poseidon Delphi Code Generation Plugin Guide
Poseidon Perl Code Generation Guide
Poseidon SQL DDL Code Generation Plugin Guide
Available Plug Ins
JAR Import
RoundTrip UML/Java
Statechart-to-Java
OCL Code Generation
Refactoring Browser
MDL Import
Profile Manager
16. More on Code Generation
The Velocity Template Language
References
Directives
Comments
Examples
Working with the Standard Templates
The Code Generation API
17. Epilogue
List of Tables
2-1. Edition Comparison
List of Figures
6-1. Poseidon for UML application work area.
6-2. Navigation Pane in the Stattauto model.
6-3. Class Diagram 'Container Class Analysis-Packages'
6-4. Change a View in the Navigation Pane
6-5. Add a Navigation View Tab
6-6. Delete a Navigation View Tab
6-7. The Diagram pane displaying the diagram 'Entity Class Model Overview'.
6-8. The Details Pane with class 'Reservation' selected.
6-9. Class diagram as seen in the Birdview Tab
6-10. Critiques of the Stattauto example in the ByPriority Tab
6-11. The Navigation Pane in a Diagram Centric View.
6-12. Select class 'Reservation' from Diagram Centric View
6-13. The Details Pane with the class 'Reservation' selected.
6-14. The Properties tab with the attribute 'number' selected.
6-15. Change Operation Name in a Diagram
6-16. Change Operation Name from the Details Pane
6-17. Add a Package to a Diagram with the Rapid Buttons
6-18. Delete an Element from a Model
6-19. Remove an Element from a Diagram
7-1. Adding a note through a context menu
7-2. A new note
7-3. Add a Waypoint to a Rectangle
7-4. Open and Closed Lines
7-5. Changing Opacity
7-6. Properties tab displaying class 'Reservation'
7-7. Properties tab with Operation 'Member' Selected.
7-8. Zooming by changing the properties of a diagram.
7-9. Rapid Buttons for a class element.
7-10. Additional rapid buttons for a class element.
7-11. Add a new attribute or operation to a class inline
7-12. Properties tab for a class
7-13. Style tab for a class
7-14. Context menu options for a Use Case
7-15. Selecting multiple elements with the mouse.
7-16. Adding Waypoints.
7-17. Moving Adornments.
8-1. Export Project to XMI
8-2. Watermarked Community Edition Diagram Graphic
8-3. Premium Edition Diagram Graphic Without Watermark
9-1. A Use Case Diagram.
9-2. A Class Diagram.
9-3. A Class Diagram making use of Stereotypes.
9-4. Stereotype Dialog
9-5. Properties tab for an Association.
9-6. Properties tab for an Association End.
9-7. Highlight hints for associations.
9-8. The rapid button for self-associations (lower right).
9-9. Properties of an Attribute.
9-10. 'Remove Attributes' Setting
9-11. Properties of an Operation.
9-12. An Activity Diagram.
9-13. A State Diagram
9-14. A Sequence Diagram.
9-15. Selecting the action of a stimulus in a sequence diagram.
9-16. Selecting an operation and attaching arguments to it.
9-17. A Component Diagram.
9-18. A Deployment Diagram.
10-1. Grid Settings Dialog
10-2. Properties tab with Zoom
10-3. Drill-down Navigation
10-4. Style tab for a class element
10-5. Documentation Tab for a class
10-6. Source code tab for a class
10-7. New constraint in the Constraints Tab
10-8. Syntax Assistant in the Constraints Tab
10-9. Documentation stored in the Tagged Values Tab
11-1. The General settings tab.
11-2. The Appearance settings tab.
11-3. The Modeling settings tab.
11-4. The Diagram display settings tab.
11-5. The Environment settings tab.
11-6. The User settings tab.
11-7. The Project settings tab.
11-8. The Optimizing tab.
12-1. Code Generation Dialog — Java.
12-2. Generated UMLdoc opened in Netscape.
12-3. Import Files Dialog.
12-4. Select File Check Interval.
12-5. Java Code Generation — Settings.
13-1. Editing a method documentation.
13-2. UMLdoc Code Generation — Settings.
14-1. A Constraints tab.
14-2. Edit Constraints.
14-3. Critiques Pane.
14-4. Find Dialog
14-5. Searching a Class
15-1. The Profile Manager
List of Examples
16-1. Simple HTML Template
16-2. Simple Java Template