Altova UModel 2025 Basic Edition

The Model Tree window enables you to view and manipulate all items (packages, classes, diagrams, relationships, and so on) in the UModel project.

um_default_packages

Model Tree window

When you create a new UModel project, two packages are available by default, the "Root" and "Component View" packages. These two packages are the only ones that cannot be renamed or deleted. The "Root" package serves as starting point for modeling all other elements, while the "Component View" package is required for code engineering.

 

You can create additional packages, classes, diagrams, and their hierarchy either from this window or directly from a diagram, see Creating Elements. For additional operations that you can take against items in the Model Tree, see the How to Model... chapter.

 

Note:UModel includes several example projects that you can explore in order to learn the modeling basics and the graphical user interface. These can be found at the following path: C:\Users\<username>\Documents\Altova\UModel2025\UModelExamples.

 

Showing, hiding, and sorting items in the Model Tree

To configure what should be displayed in the Model Tree window, as well as the sorting options, right-click inside the window, and then select the required menu option. To view all actions that can be taken against items displayed in the Model Tree window, right-click the item and observe the context menu options.

 

Collapsing and expanding items in the Model Tree

To expand items (for example, packages) in the Model Tree window:

 

Press the * (asterisk) key to expand the current item and all child items

Press the + (plus) key to expand the current item only.

 

To collapse the packages, press the - (dash) keyboard key. To collapse all items, click the "Root" package and press - (dash). Note that you can use both the standard keyboard keys and the numeric keypad keys to achieve this.

 

Identifying active diagram items

When a diagram is open in the Diagram pane, the Model Tree window shows some items with a light-blue dot at their base. These are items that are displayed in the active diagram (like "BankView" and "Java Profile" in the example below):

um_active_diagram_items

 

Icon reference

The Model Tree window may display a large number of icons which correspond to elements and diagrams in your project, the code engineering packages, as well as the imported profiles or subprojects. Specifically, it may display the following package types:

 

Icon

Description

ic-mod-package

Standard UML Package

ic-java-non-ns

Java namespace root package. Used to generate or reverse engineer Java code

ic-csharp-ns

C# namespace root package. Used to generate or reverse engineer C# code

um_ic_vb_package

Visual Basic namespace root package. Used to generate or reverse engineer VB.NET code

ic-xsd-pack

XML Schema namespace root package. Used to generate XML schemas from the model, or import them into the model, see XML Schema Diagrams.

ic-code-pack

A namespace package (a package with the <<namespace>> stereotype applied to it)

um_ic_profile

A UML profile

 

The diagrams that can appear in the Model Tree window are listed below.

 

Icon

Description

ic-d-activity

Activity Diagram

ic-mod-diagram

Class Diagram

ic-d-commun

Communication Diagram

ic-comp-diag

Component Diagram

ic-d-compstr

Composite Structure Diagram

ic-mod-node-diag

Deployment Diagram

ic-d-interOv

Interaction Overview Diagram

ic-mod-object

Object Diagram

ic-d-package

Package Diagram

ic-d-profile

Profile Diagram

um_ic_protocol_state_machine_diagram

Protocol State Machine Diagram

ic-seq-diag

Sequence Diagram

ic-d-statem

State Machine Diagram

ic-d-timing

Timing Diagram

ic-d-usecase

Use Case Diagram

ic-d-schema

XML Schema Diagram

 

Below are some examples of UML modeling elements that can appear in the Model Tree window. For more information about UML elements and the diagram types where they occur, see the UML Diagrams chapter.

 

Icon

Description

ic-mod-class-not-ins

Class

ic-mod-property

Property

ic-mod-operation

Operation

ic-mod-param-auto

Parameter

ic-actor2

Actor

ic-mod-usecase

Use Case

ic-mod-component

Component

ic-mod-node

Node

ic-mod-artifact

Artifact

ic-mod-interface

Interface

ic-mod-obj-instance

Class Instance (Object)

ic-slot

Class instance slot

ic-mod-relations

Relations

ic-constraint

Constraints

© 2018-2024 Altova GmbH