Chapter 17. Poseidon in Eclipse

Table of Contents

1. Installing Poseidon within Eclipse
2. Start Poseidon in Eclipse
2.1. New Eclipse Project, New Poseidon Model
2.1.1. Create a Project from Scratch
2.2. Existing Poseidon Model
2.3. Existing Eclipse Project
3. Working with Projects
3.1. Importing Source Code
3.1.1. Roundtrip Import - Roundtrip is enabled
3.1.2. Normal Import - Roundtrip is disabled
3.2. Generating Source Code
3.2.1. Add Additional Source Directories
3.2.2. Generate Source Code with Roundtrip
3.2.3. Generate Source Code without Roundtrip.
3.3. General
3.3.1. Drag and Drop
3.3.2. Working with the UML Model outside of Eclipse
3.3.3. Saving the UML Model
3.4. Summary
3.4.1. Edit Projects with Roundtrip Engineering
3.4.2. Edit Projects with Roundtrip Disabled
4. Interface
4.1. Poseidon Entries in the Eclipse Toolbar
4.2. UML Menu
4.3. The Java Perspective
4.4. The UML Perspective

There are lots of ways to create UML projects and even more ways to write code, including standing at a whiteboard. But it isn't just a question of how to capture this information, it is what you can do with it once it has been created. Poseidon's integration into the Eclipse IDE means that the most intuitive UML tool can exchange data directly with one of the most flexible development environments. Code and model become integrated into one project.

Throughout the development process, both the UML model and the source code evolve and grow. Optimally, the two should always be synchronized. Previously this meant importing and exporting changes between tools based on a common denominator. Now with the push of a single button, Eclipse and Poseidon can seamlessly integrate the textual information that is Eclipse's specialty with the visual data Poseidon is expert at creating into one comprehensive project.

This is not a comprehensive guide to Eclipse, but highlights some of the more important features of Eclipse that are relevant to Poseidon. More information about Eclipse, including download mirrors, is available at the Eclipse Website. Full Eclipse Documentation is also available.

Much of the functionality of Poseidon within Eclipse is based on the Roundtrip Engineering that is available from the standalone version of Poseidon for UML. Many of the dialogs presented here are discussed in more detail in Section 1.3, “Roundtrip Engineering”. We suggest that you review this section before beginning with Eclipse.

Please note that Poseidon in Eclipse is available in the Professional Edition only.