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

# Project Tab

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

## General

Figure 7-15. 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.

## Profiles

Figure 7-16. The Project Profile settings tab.

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

## Import

### Java/Jar Import

Figure 7-17. 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'.

### 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.

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

## Roundtrip

### Roundtrip Settings

Figure 7-18. 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.

- 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 the Section called Classifier Mapping tab. Source directories are relative to the project root and must initially be empty.

  - Add folder

  - Change folder

  - Deactivate folder

  - Browse files

### Classifier Mapping

Figure 7-19. 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 the Section called Roundtrip Settings tab.

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