Poseidon for UML: User Guide
Prev | Chapter 7. Setting Properties | Next

# 7.2. Project Tab

The properties set in this tab are stored within the project itself in the .proj file within the .zuml bundle.

## 7.2.1. General

Figure 7-16. The General Project settings tab.

- Project Name - Name under which the current project has been saved. If the project has not yet been saved, this will be 'Untitled'.

- Saving Location - Path to the location of the saved project. This will be blank if the project has not yet been saved.

- Creating Version - The version of Poseidon which was used to create the project originally.

- Last Modifying Version - The version of Poseidon which was last used to edit the project.

- Project Description - A short, user-defined description of the current project.

## 7.2.2. Profiles

Figure 7-17. The Project Profile settings tab.

- Activated Profiles - Checked profiles are available to the project.

## 7.2.3. Import

### 7.2.3.1. Java/Jar Import

Figure 7-18. The Project Java/Jar Import settings tab.

- Java attributes modelled as - Select either attributes or associations. If you select associations, be aware that primitive types and types from the packages java.net, java.io, java.util, and java.lang are always imported as attributes.

- Arrays are modelled - Select either as data types or with a multiplicity of 1..n

- Import classpath - Add classpaths by clicking the 'Add' button and navigating to the classpath in the browser that opens automatically.

- Classes generally imported as attributes - Classes from this list will be imported as attributes, regardless of the setting of 'Java attributes modelled as'.

### 7.2.3.2. MDL Import

The options available in the import tab depend on the type of project to be imported. Below is an example of the import settings when an mdl file is being imported.

- Show classifiers' packages - Hides or displays the package of a classifier

- Create diagrams - When unchecked, only the elements will be imported. When checked, all corresponding diagrams will be created.

- Create Root View Nodes - When checked, nodes are created for top level Rose views.

- Use Poseidon default size for imported objects - When checked, an imported element will be of the same size as a new element of the same type created in Poseidon.

- Scale down diagrams to [%] - Automatically resizes diagrams to the specified percentage for easier readability

## 7.2.4. Roundtrip

### 7.2.4.1. Roundtrip Settings

Figure 7-19. The Roundtrip settings tab

- Roundtrip is enabled - This checkbox toggles roundtripping on and off. This is the same as using the roundtrip button on the toolbar.

- Roundtrip imports are undoable - When selected, actions in history before and including a roundtrip import may be undone with the undo command. A dialog will open to inform you that the model and sourcecode will be inconsistent after the undo. When deselected, only those actions occuring in history after the roundtrip import may be reverted with the undo button.

- Show information about roundtrip settings while trying to enable roundtrip - When checked, an informational dialog will appear to display the current roundtrip settings.

- Automatically hide code generation log dialog after generation - When checked, the code generation status dialog will close when generation is complete.

- Project Root - Specifies the root location of the project.

- Roundtrip sourcepaths - Indicates where Poseidon will generate the source code. Projects may have more than one sourcepath, and these are assigned to classifiers in the Section 7.2.4.2 tab. Source directories are relative to the project root and must initially be empty.

  - Add folder

  - Change folder

  - Deactivate folder

  - Browse files

### 7.2.4.2. Classifier Mapping

Figure 7-20. The Roundtrip Classifier Mapping settings tab

From this tab you can assign a sourcepath for each of the classifiers appearing in the project. Assignations are made by first selecting the classifier from the list in the upper field, then double-clicking on the desired sourcepath in the lower field. When a classifier has been assigned, it will change from red to black. The list of available sourcepaths is editable from the Section 7.2.4.1 tab.

### 7.2.4.3. Import and Code Generation Settings

These statements are merely informational and let you know where roundtrip is getting certain parameters. The buttons next to each statement open the appropriate tab in order to edit these parameters.

Figure 7-21. The Roundtrip Import and Code Generation settings tab

- Roundtrip is re-using all Java Import settings, e.g. classpath - Click the 'Import Settings...' button to open the 'Settings | Project | Import | Java/Jar' tab to make changes.

- Roundtrip is re-using Java code generation settings, except the compiler - Click the 'Generation Settings...' button to open the 'Settings | General | Code Generation | Java Settings' tab to make changes.

Prev | Home | Next
Setting Properties | Up | Model Reference