Using Enterprise Architect
Using Enterprise Architect
Publisher
Sparx Systems
Managing Editor
Geoffrey Sparks
Technical Editors
Simon McNeilly
Bill Mioch
Brad Maxwell
Contents
Table of Contents
Foreword
Start Enterprise
...................................................................................................................................
Architect
3
The User Interface
................................................................................................................................... 4
The Start Page
................................................................................................................................... 6
Remove Recent
..........................................................................................................................................................
Projects
Model Templates
................................................................................................................................... 9
Business..........................................................................................................................................................
Process Model Template
Requirements
..........................................................................................................................................................
Model Template
Use Case..........................................................................................................................................................
Model Template
Domain Model
..........................................................................................................................................................
Template
Class Model
..........................................................................................................................................................
Template
Database..........................................................................................................................................................
Model Template
Component
..........................................................................................................................................................
Model Template
Deployment
..........................................................................................................................................................
Model Template
Testing Model
..........................................................................................................................................................
Template
Maintenance
..........................................................................................................................................................
Model Template
Project Model
..........................................................................................................................................................
Template
10
10
11
11
13
13
14
14
16
17
17
The Project
...................................................................................................................................
Browser
19
Order Package
..........................................................................................................................................................
Contents
Set Default
..........................................................................................................................................................
Behavior
Project Browser
..........................................................................................................................................................
Toolbar
Project Browser
..........................................................................................................................................................
Icon Overlays
Model (Root
..........................................................................................................................................................
Node) Context Menu
Package
.........................................................................................................................................................
Control Sub-Menu
Package ..........................................................................................................................................................
Menu
Add Sub-Menu
.........................................................................................................................................................
Documentation
.........................................................................................................................................................
Sub-Menu
Code.........................................................................................................................................................
Engineering Sub-Menu
Execution
.........................................................................................................................................................
Analyzer Sub-Menu
Import/Export
.........................................................................................................................................................
Sub-Menu
Contents
.........................................................................................................................................................
Sub-Menu
Element Menu
..........................................................................................................................................................
- Project Browser
Add Sub
.........................................................................................................................................................
Menu
Diagram ..........................................................................................................................................................
Menu - Project Browser
Operation..........................................................................................................................................................
Menu - Project Browser
20
21
22
23
23
25
25
27
27
28
28
29
29
30
31
31
32
The Main...................................................................................................................................
Menu
33
The File Menu
..........................................................................................................................................................
Print .........................................................................................................................................................
Preview
Save.........................................................................................................................................................
Model Copy or Shortcut
Create Copy.........................................................................................................................................
Or Shortcut
Capture Current
.........................................................................................................................................
Work Environment
Encrypt Repository
.........................................................................................................................................
Password
The Edit Menu
..........................................................................................................................................................
Paste.........................................................................................................................................................
Elements Submenu
The View..........................................................................................................................................................
Menu
View .........................................................................................................................................................
Submenus
The Project
..........................................................................................................................................................
Menu
Documentation
.........................................................................................................................................................
Submenu
Source
.........................................................................................................................................................
Code Engineering Submenu
Execution
.........................................................................................................................................................
Analyzer Submenu
35
35
36
37
38
40
40
41
41
42
44
44
45
46
II
Contents
Database
.........................................................................................................................................................
Engineering Submenu
Transformations
.........................................................................................................................................................
Submenu
Model
.........................................................................................................................................................
Validation Submenu
Web .........................................................................................................................................................
Services Submenu
XML .........................................................................................................................................................
Schema Submenu
Security
.........................................................................................................................................................
Submenu
Version
.........................................................................................................................................................
Control Submenu
Import/Export
.........................................................................................................................................................
Submenu
The Diagram
..........................................................................................................................................................
Menu
The Element
..........................................................................................................................................................
Menu
Inline.........................................................................................................................................................
Features Submenu
Advanced
.........................................................................................................................................................
Submenu
Source
.........................................................................................................................................................
Code Engineering Submenu
Appearance
.........................................................................................................................................................
Submenu
Position
.........................................................................................................................................................
Submenus
The Tools..........................................................................................................................................................
Menu
Data .........................................................................................................................................................
Management Submenu
Manage
.........................................................................................................................................................
.EAP File Submenu
The Customize
.........................................................................................................................................................
Dialog
Customize Commands
.........................................................................................................................................
Customize Toolbars
.........................................................................................................................................
Custom Tools
.........................................................................................................................................
...................................................................................................................................
Open External
Tools
...................................................................................................................................
Pass Parameters
to Applications
Customize Keyboard
.........................................................................................................................................
Customize Menu
.........................................................................................................................................
Customize Options
.........................................................................................................................................
The Add-Ins
..........................................................................................................................................................
Menu
The Settings
..........................................................................................................................................................
Menu
The Window
..........................................................................................................................................................
Menu
The Help ..........................................................................................................................................................
Menu
47
47
47
47
48
48
48
49
49
51
52
52
53
53
53
54
55
55
56
57
58
60
62
63
64
66
67
67
68
69
70
The Enterprise
...................................................................................................................................
Architect Toolbox
71
UML Toolbox
..........................................................................................................................................................
Appearance Options
UML Toolbox
..........................................................................................................................................................
Shortcut Menu
Common..........................................................................................................................................................
Group
Use Case..........................................................................................................................................................
Group
Class Group
..........................................................................................................................................................
Object Group
..........................................................................................................................................................
Composite
..........................................................................................................................................................
Group
Communication
..........................................................................................................................................................
Group
Interaction
..........................................................................................................................................................
Group
Timing Group
..........................................................................................................................................................
State Group
..........................................................................................................................................................
Activity Group
..........................................................................................................................................................
Component
..........................................................................................................................................................
Group
Deployment
..........................................................................................................................................................
Group
Profile Group
..........................................................................................................................................................
Metamodel
..........................................................................................................................................................
Group
Analysis ..........................................................................................................................................................
Group
Custom Group
..........................................................................................................................................................
Requirement
..........................................................................................................................................................
Group
Maintenance
..........................................................................................................................................................
Group
User Interface
..........................................................................................................................................................
Group
WSDL Group
..........................................................................................................................................................
XML Schema
..........................................................................................................................................................
Group
Data Modeling
..........................................................................................................................................................
Group
73
75
77
79
79
80
81
81
82
82
83
83
84
85
86
87
88
89
90
90
91
92
92
93
Workspace
...................................................................................................................................
Toolbars
94
Default Tools
..........................................................................................................................................................
Toolbar
Project Toolbar
..........................................................................................................................................................
95
95
Contents
III
Code Generation
..........................................................................................................................................................
Toolbar
96
UML Elements
..........................................................................................................................................................
Toolbar
97
Diagram ..........................................................................................................................................................
Toolbar
98
Current Element
..........................................................................................................................................................
Toolbar
98
Current Connector
..........................................................................................................................................................
Toolbar
99
Format Toolbar
.......................................................................................................................................................... 99
Workspace
..........................................................................................................................................................
Layouts
100
Status Bar
.......................................................................................................................................................... 103
Rich Text
..........................................................................................................................................................
Notes Toolbar
104
Diagram...................................................................................................................................
Tabs
106
View Options
................................................................................................................................... 107
Diagram..........................................................................................................................................................
View
Element..........................................................................................................................................................
List
Element
.........................................................................................................................................................
List Options
Model Views
..........................................................................................................................................................
Model
.........................................................................................................................................................
Views Toolbar
Model
.........................................................................................................................................................
Views Context Menus
Model
.........................................................................................................................................................
Views Operations
Diagram
.........................................................................................................................................................
Slide Show
Model Search
..........................................................................................................................................................
Use.........................................................................................................................................................
the Model Search
Work
.........................................................................................................................................................
On Objects In Search
Search
.........................................................................................................................................................
Definitions
Create Search
.........................................................................................................................................
Definitions
Pre-defined
.........................................................................................................................................
Searches
Add Filters.........................................................................................................................................
Fields and...................................................................................................................................
Conditions
107
108
111
113
114
115
117
119
121
123
124
125
128
131
132
133
The Web...................................................................................................................................
Browser
135
Arrange...................................................................................................................................
Windows and Menus
136
Dock Windows
..........................................................................................................................................................
Autohide
..........................................................................................................................................................
Windows
Tear Off..........................................................................................................................................................
Menus
136
138
139
Dockable
...................................................................................................................................
Windows
140
The Properties
..........................................................................................................................................................
Window
The System
..........................................................................................................................................................
Window
The Resources
..........................................................................................................................................................
Window
Favorites
.........................................................................................................................................................
The Source
..........................................................................................................................................................
Code Viewer
The Scripter
..........................................................................................................................................................
Window
Scripts
.........................................................................................................................................................
Tab
Script Group
.........................................................................................................................................
Properties
Console
.........................................................................................................................................................
Tab
The Element
..........................................................................................................................................................
Browser
The Relationships
..........................................................................................................................................................
Window
The Scenarios
..........................................................................................................................................................
& Requirements Window
The Traceability
..........................................................................................................................................................
Window
The Notes
..........................................................................................................................................................
Window
The Tagged
..........................................................................................................................................................
Values Window
Assign
.........................................................................................................................................................
a Tagged Value to an Item
Assign
.........................................................................................................................................................
Notes to a Tagged Value
Show
.........................................................................................................................................................
Duplicate Tags
The Project
..........................................................................................................................................................
Management Window
The Output
..........................................................................................................................................................
Window
The Tasks
..........................................................................................................................................................
Pane Window
The Pan..........................................................................................................................................................
& Zoom Window
Diagram..........................................................................................................................................................
Filters Window
140
142
143
145
145
148
149
152
152
154
157
158
160
160
162
164
165
166
167
168
168
170
170
Code Editors
................................................................................................................................... 173
1998-2010 Sparx Systems Pty Ltd
IV
Contents
Intellisense
..........................................................................................................................................................
Code Editor
..........................................................................................................................................................
Key Bindings
Code Editor
..........................................................................................................................................................
Context Menu
Script Editor
..........................................................................................................................................................
176
177
182
183
The Quick
...................................................................................................................................
Linker
186
Create New
..........................................................................................................................................................
Elements
Create Connectors
..........................................................................................................................................................
186
188
Defaults...................................................................................................................................
and User Settings
189
Configure
..........................................................................................................................................................
Local Options
General
.........................................................................................................................................................
Standard
.........................................................................................................................................................
Colors
Diagram
.........................................................................................................................................................
Appearance
.........................................................................................................................................
...................................................................................................................................
Set Default
Fonts
Behavior .........................................................................................................................................
Sequence .........................................................................................................................................
Objects
.........................................................................................................................................................
Element Visibility
.........................................................................................................................................
Links
.........................................................................................................................................................
Communication
.........................................................................................................................................................
Message Colors
XML.........................................................................................................................................................
Specifications
Visual Styles
..........................................................................................................................................................
189
190
192
193
195
196
198
199
201
202
203
204
206
207
Keyboard
...................................................................................................................................
Shortcuts
208
Team Review
................................................................................................................................... 213
Context..........................................................................................................................................................
Menu
Add a New
..........................................................................................................................................................
Category
Add a New
..........................................................................................................................................................
Topic
Add a New
..........................................................................................................................................................
Post
Reply to..........................................................................................................................................................
a Post
Edit an Item
..........................................................................................................................................................
Team Review
..........................................................................................................................................................
Editor
Add Object
..........................................................................................................................................................
Links
Team Review
..........................................................................................................................................................
Resources
Search Team
..........................................................................................................................................................
Review
Copy Path
..........................................................................................................................................................
to Clipboard
Team Review
..........................................................................................................................................................
Options
Team Review
..........................................................................................................................................................
Connections
214
216
217
217
219
219
220
221
221
222
222
223
223
Spell Checking
................................................................................................................................... 225
Using the
..........................................................................................................................................................
Spell Checker
Correcting
..........................................................................................................................................................
Words
Select a..........................................................................................................................................................
Different Language
Index
225
226
227
229
Foreword
Foreword
This guide describes the Enterprise Architect
user interface facilities and tools.
This section provides a detailed exploration of the Enterprise Architect UML Modeling tools and features for
modeling software systems and business processes, including:
Workspace Components
This section outlines the components of the Enterprise Architect Application Workspace. To obtain further
information on specific features, follow the hyperlinks in each description.
Context Menus
Throughout Enterprise Architect, if you right-click on work areas, lists and objects, Enterprise Architect
displays a menu of options specific to the work context. For examples, see:
Key Combinations
Many main menu and context menu options have alternative key combinations to perform the same operation.
Instead of displaying a menu and selecting the required option, you can press the key combination. See
Keyboard Shortcuts 208 for a full list of key combinations and their functions, or display the Help Keyboard 212
dialog (select the Help | Keyboard Accelerator Map menu option). You can also customize 64 these function
keys.
Diagram View
The large central area of the Enterprise Architect display is the Diagram View 107 . This is where you can
arrange new model elements and set their characteristics in a model diagram. Note that when you first open
Enterprise Architect there is no active diagram; you must create and/or open the required diagram.
Project Browser
The Project Browser 19 is used to navigate your project. Double-click on package icons to open them and
display the diagrams and elements they contain. Similarly, double-click on elements to open them, and on
diagrams to display them in the Diagram View. You can drag elements from the Project Browser to add them
to diagrams. (See UML Modeling with Enterprise Architect UML Modeling Tool.)
Model Views
You can set up tailored views of your model, containing sections or organizations of your model that are of
particular relevance to you or your team. Model Views 113 are stored in the model and are visible to all users.
You can set up Favorites folders to give you easy access (hyperlinks) to commonly-used packages and
elements. You also have a My Views model stored locally on your machine and only visible to you, and
Technology-defined views that are read only and stored with MDG technologies. You can associate each view
with a query-built search that you can run by either double-clicking or expanding it.
Visual Style
You can configure the look and feel 207 of Enterprise Architect to suit your working environment. Options
range from a classic windows application to an enhanced XP appearance.
Arranging Windows
You can rearrange windows and some menus to adapt the screen space to your work habits. You can:
Dock 136 windows against any edge of the workspace, or move them freely (float them) as you work; for a
list of dockable windows, see Dockable Windows 140
Autohide 138 windows so that they display only when you are actually using them.
When you start Enterprise Architect, the first page displayed is the Start Page.
Use to
Search
Locate an object in Enterprise Architect. Type the name of the object in this field
and click on the [ ... ] button. Enterprise Architect displays the results of the
search on the Model Search 121 screen.
Click on an item in the search results to highlight it in the Project Browser
19
Display the Open Project dialog, which you use to open an existing project
(where you have more project files than can be listed in the Recent panel).
(For information on this option and the next three options, see UML Model
Management.)
Connect to Server
Specify a Data Source name to connect to. MySQL, SQL Server, Oracle 9i, 10g
and 11g, PostgreSQL, MSDE, Adaptive Server Anywhere, Access 2007 and
Progress OpenEdge repositories are supported.
Note:
This feature is available in the Corporate, Business and Software Engineering,
Systems Engineering and Ultimate editions.
Option
Use to
Getting Started
Open the Tasks Pane 168 , to display useful topics and guides for various areas of
work in Enterprise Architect.
Configure Options
Display the Help on the Options 189 dialog 189 , which enables you to define how
Enterprise Architect displays and processes information.
Open the Resources page of the Sparx Systems website, which provides access
to a wide range of Enterprise Architect and UML tutorials, demonstrations,
examples, Add-Ins and advice.
Enterprise Architect
Community
Access the Sparx Systems Enterprise Architect Community Site, which contains
a range of articles, discussions, tools and resources provided by both Sparx
Systems and the Enterprise Architect user community.
You must register to use the facilities of the site; you can also register as an
author and submit material yourself, for others to read and use.
Recent
Select from a list of the most recently used Enterprise Architect projects (both .
EAP files and DBMS connections). Click on the required project to open it.
If you have created and used shortcuts 36 to your models, a model might have
two entries - one for the model accessed through Enterprise Architect and one
for the model accessed through the desktop shortcut. These open the same
model, although the shortcut entry also enacts any view profile you have defined.
To remove a hyperlink to a project from this list, see Remove Recent Projects
.
If your model has a default diagram set (see UML Modeling with Enterprise Architect UML Modeling Tool),
the default diagram opens immediately over the top of the Start Page. You can still access the Start Page from
the diagram tabs 106 below the diagram. However, if you have set a shortcut view profile, that overrides the
default diagram setting.
1. Select File | Open Project from the menu bar or press [Ctrl]+[O]. The Open Project dialog displays.
Note:
Removing the hyperlink to a project from the Start Page only removes the link to the project and does not
remove the .EAP file from the file system.
Model Templates |
4 Model Templates
The model templates contained in Enterprise Architect are designed to assist in the creation of projects and
models for both new and experienced users. Each template provides a framework on which you can create
your model. You create models based on the selected templates using the Model Wizard (see UML Model
Management).
Template Format
All the model templates provided with Enterprise Architect follow the format described below.
Note
The note introduces you to the model template and outlines its purpose.
Help Links
Help hyperlinks provide further information on how to use the model. Depending on the model template, links
to examples and other useful information are also provided.
Template
The Template section in the model template provides a framework for creating your own model.
The topics listed below provide an introduction to the terminology and icons used in the model templates, and
give you a quick guide to the UML concepts important to the templates and how they are applied in Enterprise
Architect.
10
10
Model Templates |
If you are a Technology Developer, you can also create and distribute custom templates as part of your own
MDG Technology (see SDK for Enterprise Architect).
Online Resources
The Business Process Model
Online Resources
Requirements Management in Enterprise Architect
11
Online Resources
The Use Case Model
12
13
Online Resources
The Logical Model
14
Online Resources
UML Database Modeling
Online Resources
The Component Model
15
Online Resources
The Physical Model
16
Online Resources
Testing Support in Enterprise Architect
See Also (in Project Management with Enterprise Architect)
Testing
Test Case element
Show Test Scripts
17
Online Resources
Project Manager
18
19
The Project Browser enables you to navigate through the Enterprise Architect project space. It displays
packages, diagrams, elements and element properties.
You can drag and drop elements between folders, or drop (paste) elements from the Project Browser directly
into the current diagram.
If you right-click on an item in the Project Browser, you can perform additional actions such as adding new
packages, creating diagrams, renaming items, creating documentation and other reports, and deleting model
elements. You can also edit the name of any item in the Project Browser by selecting the item and pressing
[F2].
20
Tip:
The Project Browser is the main view of all model elements in your model; use the mouse to navigate the
project.
Note:
You can hide and show the Project Browser by pressing [Alt]+[0].
Views
The Project Browser can be divided into Views, each of which contains diagrams, packages and other
elements. A default View hierarchy is described below, but you can create different Views to suit your
requirements:
View
Description
The functional and early analysis View. Contains Business Process and Use Case
models.
Dynamic View
Contains State Charts, Activity and Interaction diagrams. The dynamics of your system.
Logical View
Component View A View for your system components. The high level view of what software is to be built
(such as executables, DLLs and components).
Deployment
View
The physical model; what hardware is to be deployed and what software is to run on it.
Custom View
A work area for other Views, such as formal requirements, recycle bin, interview notes
and non-functional requirements.
Selective Collapse
When you are working on an expanded project in the Project Browser, you might want to locate the parent
element or package of an item, and/or collapse the structure under that parent element or package. To do this,
follow the steps below:
1. Position the cursor on an item within the element or package.
2. Press [!] on the keyboard to highlight the parent.
3. Press the key again to collapse the structure under that parent element or package.
See Also
Project Browser Icon Overlays
23
21
Double-click Behavior
In the Double click on browser panel, select the appropriate radio button.
Shows Properties - double-clicking an item in the Project Browser opens a Property dialog (if available)
for that element
Opens Branch - double-clicking an item in the Project Browser expands the tree to show the item's
children; if there are no children, nothing happens
Opens Branch & Diagram - as above, but also opens the first diagram beneath the item, if applicable.
Show Stereotypes
1. On the Options dialog, in the Project Browser panel, select the Show Stereotypes checkbox.
2. When prompted, shut down and restart Enterprise Architect to enable this change to take effect.
As shown in the above screen, when a stereotype is defined for an element, the stereotype name then
1998-2010 Sparx Systems Pty Ltd
22
The functions of each icon in the toolbar are, from left to right:
Create a new Model Package in the project, from a predefined UML or Technology pattern (see UML Model
Management)
Create a new child package under the selected package (see UML Modeling with Enterprise Architect
UML Modeling Tool)
Create a new child diagram under the selected package or element (see UML Modeling with Enterprise
Architect UML Modeling Tool)
Create a new child element under the selected package or element (see UML Modeling with Enterprise
Architect UML Modeling Tool)
Perform a simple search for a text string in the Project Browser
Provide options to generate an RTF report, HTML report or Diagram Only report on the selected package in
the Project Browser (see Report Creation in UML Models)
Provide options to generate source code or DDL, import a source directory, binary module or database
schema, generate package contents to synchronize with package code, or reset the source code language,
all for the selected package (see Code Engineering Using UML Models)
Move the selected package or element further up the Project Browser, within its parent package
Move the selected package or element further down the Project Browser, within its parent package
23
Indicates that...
This package is controlled and is represented by an XMI file on disk. Version control
either is not being used or is not available. You can edit the package.
This package is version controlled and checked out to you, therefore you can edit the
package.
This package is version controlled and not checked out to you, therefore you cannot edit
the package (unless you check the package out).
This package is version controlled, but you checked it out whilst not connected to the
version control server. You can edit the package but there could be version conflicts
when you check the package in again.
This package is a namespace root. It denotes where the namespace structure starts;
packages below this point are generated as namespaces to code.
<MDG Add-In
icon>
MDG Add-Ins specify their own icon to denote that this branch of the model belongs to
that Add-In. All packages connected to an MDG Add-In correspond to a namespace root,
so the namespace root icon is not displayed.
For information on Version Control, see Version Control Within UML Models Using Enterprise Architect.
Similarly, the Project Browser indicates attribute and operation scope status with icons. The following table
describes what each indicator icon means.
Icon Overlay
Indicates that...
The attribute or operation is scoped as protected.
In the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions, if Project
User Security is on, the Project Browser also has element locking indicators (red and blue exclamation marks)
that indicate the lock status of individual elements and packages. The availability of these elements for editing
depends on whether user locks are required or not. For further information, see the Locked Element Indicators
topic in User Security in UML Models.
Use to
Add-In
Access the facilities of each Add-In currently enabled for the project.
Scripts
List the scripts enabled for execution directly from the Project Browser
.
(Does not display if no Project Browser scripts exist.)
24
Use to
Package Control
Rename Model
New View
Add further models using the Model Wizard (see UML Model
Management).
Paste a package from the clipboard into the selected package (see
UML Modeling With Enterprise Architect - UML Modeling Tool).
Expand Branch
Collapse Branch
Import a model from an XMI file (see XMI Import and Export in UML
Model Management).
Export a model to XMI (see XMI Import and Export in UML Model
Management).
HTML Report
[Shift]+[F8]
Produce a diagrams only report (in RTF) for the model (see Other
Documents in Report Creation in UML Models).
Copy Reference
25
submenu.
Delete the Model node and all subordinate Views and packages.
Help
25
Use to
Add-In
Access the facilities of each Add-In currently enabled for the project.
Scripts
152
26
Use to
Package Control
Add
Add
27
Create or display a linked document for the package or view (see UML
Modeling with Enterprise Architect UML Modeling Tool).
Delete the linked document attached to the package. The system prompts
you to confirm the deletion.
Paste Diagram
If you have copied a diagram from another package, paste the diagram into
the currently-selected package.
Documentation
Code Engineering
Execution Analyzer
Build, run
Import/Export
Transform Current
Package
[Ctrl]+[Shift]+[H]
Contents
Bookmarks
Bookmark all elements in the selected folder (see Project Management with
Enterprise Architect).
Copy Reference
28
28
27
in RTF format.
functions.
29
27
Use to
Paste a package from the clipboard into the selected package (see UML
Modeling With Enterprise Architect - UML Modeling Tool).
Paste elements copied to the clipboard into the selected package (see UML
Modeling With Enterprise Architect - UML Modeling Tool).
Save the selected package as a Profile (see Extending UML With Enterprise
Architect).
Change the display icon for the selected package (View level).
Move up
Move down
Delete <packagename>
Help
28
29
Use to
Expand Branch
Collapse Branch
30
Use to
Add-In
Access the facilities of each Add-In currently enabled for the project.
Scripts
152
Custom Properties
[Ctrl]+[Shift]+[Enter]
Add
Rule Composer
For a Rule Task element, invoke the Rule Composer tab in Business Rule
Modeling. (See the Business Modeling section in Extending UML With
Enterprise Architect.)
Attributes
Operations
Create workbench variables from the selected Class. When you select this
option, Enterprise Architect prompts you to name the variable. It then
displays in the Workbench window. (See the Object Workbench topics in
Visual Execution Analyzer in Enterprise Architect.)
Generate the source code for this element. See Generate Source Code in
Code Engineering Using UML Models.
Synchronize the element in the diagram with the source code. See Reverse
Engineer and Synchronizing in Code Engineering Using UML Models.
In Diagrams [Ctrl]+[U]
Linked Document
[Ctrl]+[Alt]+[D]
Copy Element(s) to
Clipboard
145
of the element.
Use to
Copy Reference
31
Move Down
Move the element down in the list of elements within this package.
Help
Use to
Add-In
Access the facilities of each Add-In currently enabled for the project.
Scripts
152
Open
Copy Diagram
Copy the diagram for pasting into another location (see Copy a Diagram in
UML Modeling with Enterprise Architect UML Modeling Tool).
Copy a bookmark in RTF format to the clipboard (see Report Creation in UML
Models).
108 ,
32
Use to
Add this diagram as a cross reference to other elements (see UML Modeling
with Enterprise Architect UML Modeling Tool).
Print Diagram(s)
Copy Reference
Move up
Move down
Move the diagram down in the list of diagrams within this package.
Help
Use to
Add-In
Access the facilities of each Add-In currently enabled for the project.
Scripts
152
Operation Properties
Copy Reference
145
Help
You can display an equivalent context menu for an attribute by right-clicking on the attribute in the Project
Browser.
33
The Enterprise Architect Main menu provides mouse-driven access to many high-level functions related to the
project life cycle, along with administration functions.
File 35 menu
Edit 40 menu
View 41 menu
Project 44 menu
Diagram 49 menu
Element 51 menu
Tools 54 menu
Add-Ins 67 menu
Settings 68 menu
Window 69 menu
Help 70 menu.
The above topics provide an overview of the functions available from the Main menu, and their general
purposes.
Additionally, if you right-click on the Toolbar area just under the menu bar, a composite context menu displays
providing options to display the toolbars and the more significant windows and views.
34
35
Use to
Open any type of source file (code, XML, DDL) for editing
Close Project
Save Project As
36
147 .
Print Setup
Page Setup
Print Preview
Preview
Print [Ctrl]+[P]
35
Exit
36
121
Notes:
For searches operating on the current tree selection, a diagram in the target package must be opened
first.
If you use a custom SQL search, the SQL must include
type.
128
A specific diagram
The Relationship Matrix with a saved profile (See UML Modeling with Enterprise Architect UML Modeling
Tool)
The default Team Review 213 .
You can define more than one diagram to open (but not more than one search, Team Review or Relationship
Matrix profile). Enterprise Architect opens the appropriate windows in the sequence in which you list the
options, displaying the last view in the list. For example, you might create your shortcut to open, in sequence:
A Development module
The Model Search for a simple search on the term Issue
The module Issues diagram
37
49
A shortcut does not affect the original Enterprise Architect .exe file or icon, or any other shortcut you might
have defined. You can use all of these independently.
When you use a shortcut to access a project that you have recently opened in Enterprise Architect, the
Recent list on the Enterprise Architect Start Page has two entries for the project - one created when you
opened the project in Enterprise Architect and one created when you used the desktop shortcut.
To create a copy of your model or a shortcut to your model, you have two options:
Define each view 37 to open (for example, if you are specifying a working environment in advance,
perhaps for other users)
Capture the current Enterprise Architect work environment 38 to access the model at exactly the same
point in exactly the same environment when you resume work.
3. Click on the [ ... ] (Browse) button at the end of the Target File field. The Save Project As dialog
displays.
4. Browse for the appropriate file location (such as C:\Documents and Settings\<username>\Desktop) and, in
the File name field, type an appropriate filename. All shortcuts are .EAP files, regardless of whether the
model itself is a .EAP file or a DBMS model.
5. Click on the Save button to return to the Save As dialog.
6. Click on one of the following:
The Copy radio button to create a direct copy of the model, and click on the OK button to save the
copy and end the procedure
The Shortcut radio button to create a desktop shortcut for the model
1998-2010 Sparx Systems Pty Ltd
38
Note:
These radio buttons display only if the model is a .EAP file. If the model is a DBMS file, the target file
can only be a shortcut. See the Encrypt Repository Password 40 topic.
7. Click on the Add Other button and select the required option to define:
A diagram to open
A Relationship Matrix profile to open
The Team Review
A Model Search to perform.
The appropriate browser or dialog displays to define the view to display. Enter the details and click on
the OK button.
8. Repeat step 7 for as many views as you require. Each entry is automatically selected, with a tick in the
checkbox.
To delete an entry, click on the checkbox to remove the tick. The entry is deleted when you save the
shortcut.
9. To change the sequence and/or make a different view display first in the Diagram View, click on the
appropriate entry and click on the 'Up Hand' or 'Down Hand' buttons.
10. Click on the OK button to save the shortcut.
When you subsequently open the Save As dialog, it lists the currently-opened views in the order in which they
were opened. You can add further views or remove them from the shortcut.
39
6. If you accessed Enterprise Architect via a shortcut, the Target File field displays the file location of that
shortcut. If you intend to update the shortcut, go to step 10.
7. Otherwise, click on the [ ... ] (Browse) button at the end of the Target File field. The Save Project As
dialog displays.
8. Browse for the appropriate file location (such as C:\Documents and Settings\<username>\Desktop) and, in
the File name field, type an appropriate filename. All shortcuts are .EAP files, regardless of whether the
model itself is a .EAP file or a DBMS model.
9. Click on the Save button to return to the Save As dialog.
10. Click on one of the following:
The Copy radio button to create a direct copy of the model, and click on the OK button to save the
copy and end the procedure.
The Shortcut radio button to create a desktop shortcut for the model.
Note:
These radio buttons display only if the model is a .EAP file. If the model is a DBMS file, the target file
can only be a shortcut. See the Encrypt Repository Password 40 topic.
11. If you decide not to have a view in the shortcut, click on the checkbox to remove the tick. The entry is
deleted when you save the shortcut.
12. If you decide to change the sequence and/or make a different view display first in the Diagram View,
click on the appropriate entry and click on the 'Up Hand' or 'Down Hand' buttons.
11. Click on the OK button to save the shortcut.
Note:
If you open the Save As dialog when no views are open, the Actions when model is opened field is empty.
You can save the shortcut like this to totally clear it. Alternatively, if views are listed that you do not want to
use again, click on the Include None button and save the shortcut.
40
You can create the shortcut actions as described in the Create Copy or Shortcut 37 topic and, if necessary,
select the checkbox to encrypt the database connection string. You distribute the shortcut file to the database
users who are to access the model. The users then have an encrypted string such as:
EAConnectString: ora10_db --- DBType=3;ConnectEx=+wkIE;B?e
52+H`"e?r-pb_ZyAI3a]Vsfh8p];Co\d/bnX$5<(;'US"^GxvbbRsK{*%AwL4y1{P<je.%R1
?AY;y'!7pw$X%)_EwLXWpKg7tzLF=T
Use to
Undo [Ctrl]+[Z]
Undo the last action performed; note that some actions cannot be undone.
(See UML Modeling With Enterprise Architect - UML Modeling Tool.)
Redo [Ctrl]+[Y]
Copy [Ctrl]+[C]
Paste Element(s)
Paste clipboard elements into current diagram. See the Paste Elements
submenu.
Select All
Select By Type
Clear Selection
File Search
Display the File Search window, to search for text in code files and scripts.
123
41
41
Use to
Delete Selected Element(s) Delete the selected element from the diagram.
[Ctrl]+[D]
Use to
as Link [Shift]+[Insert]
Paste the element in the buffer as a link (that is, a reference) to the element.
(See UML Modeling with Enterprise Architect UML Modeling Tool.)
If there are images in the MS Windows clipboard and none in the Enterprise
Architect clipboard, you can:
Paste an image from the MS Windows clipboard into a new element as
the appearance of the new element or
Paste an image from the MS Windows clipboard into the diagram as a
new boundary's appearance.
as New [Ctrl]+[Shift]+[V]
Paste the element in the Enterprise Architect Clipboard into the same
diagram or a different diagram, as a metafile (that is, a definition of the
element) as many times as is necessary.
If you paste the element into a different diagram, the classifier identifies the
source diagram for the element.
19
window.
Team Review
[Ctrl]+[Alt]+[U]
Relationship Matrix
213
113
window.
42
Diagram Filters
Display the Diagram Filters 170 window, for selecting the elements to
show or hide on a diagram.
Display the Pan & Zoom 170 window for panning across a diagram to
display sections at greater magnification.
Layout Tools
Display the Layout Tools window, for reformatting your diagram in one of
a range of layouts (see UML Modeling with Enterprise Architect - UML
Modeling Tool).
Element Browser
Traceability
[Alt]+[9]
71
[Ctrl]+[Shift]+[4] Show or hide the Traceability 160 window, for tracing the relationships of
an element through the model.
Testing [Alt]+[3]
Execution Analyser
Scripting
Add-In Windows
140
148
168
43
for the
window.
window.
Tagged Values
[Ctrl]+[Shift]+[6]
Toolbars
Visual Style
Workspace Layouts
Displays the Workspace Layout dialog for changing the content and
layout 101 of the Enterprise Architect workspace.
43
160
window.
162
window.
43
43
Default Tools 95
Project 95
Code Generation 96
UML Elements 97
Diagram 98
Current Element 98
Current Connector 99
Format Tool 99
Workspace Layouts 100
Status Bar 103 .
44
107
Use to
Create a new diagram in the current package. (See UML Modeling with
Enterprise Architect UML Modeling Tool.)
Create a new element on the current diagram. (See UML Modeling with
Enterprise Architect UML Modeling Tool.)
Documentation
Execution Analyzer
Database Engineering
Transformations
Model Validation
47
Web Services
XML Schema
Security
Version Control
Import/Export
Set Use Case Metrics to assist in estimating project size. (See Project
Management with Enterprise Architect.)
Project Statistics
48
44
47
48
46
45
.
47
47
.
.
49
48
Use to
Generate a report for the currently selected package in Rich Text Format.
(See Report Creation in UML Models.)
45
Use to
Testing Report
Issues
Glossary
Implementation Details
Dependency Details
Testing Details
Use to
Generate Package
Source Code
[Ctrl]+[Alt]+[K]
Synchronize Package
Contents
[Ctrl]+[Alt]+[M]
Import Source
Directory
[Ctrl]+[Shift]+[U]
Import ActionScript
Files
Import C Files
Import C# Files
Import code written in the C# programming language with the file extension .CS.
Import code written in the C++ programming language with the file extension .H, .
HPP or .HH.
Import code written in the Delphi programming language with the file extension .
PAS.
46
Use to
Import code written in the Java programming language with the file extension .
JAVA.
Import code written in PHP with the file extension .PHP, .PHP4, .INC.
Import code written in the Visual Basic programming language with the file
extension .FRM, .CLS, .BAS or .CTL.
Import code written in the VB.Net programming language with the file extension .
VB.
Use to
Build [Ctrl]+[Shift]
+[F12]
Build the application for your current script. Execute the Build command in the
Build Scripts dialog.
Test [Ctrl]+[Alt]+[T]
Execute the Test command you configured in the Build Scripts dialog.
Run [Ctrl]+[Alt]+[N]
Execute the Run command you configured in the Build Scripts dialog.
Deploy [Ctrl]+[Shift]
+[Alt]+[F12]
Execute the Deploy command you configured in the Build Scripts dialog.
Run the application and Debug the Run command in the Build Scripts dialog.
Debug Pause
Start Debug Recording Start recording your trace for a debug session.
Stop Debug Recording
Autorecord your debug session. The Stack Trace History, Stack tab and Source
Code Editor dynamically update to reflect the current execution sequence for the
thread; Stack Trace Recording ends when the thread ends or when you click on
the Stop button.
Show/Hide Execution
Display the executing code when a thread has encountered a breakpoint. The
option presents the source code file in an editor window with the current line of
code highlighted for the thread that has the current focus.
Use to
Create Sequence
Diagram
47
Use to
Generate a Package DDL script to create the tables in the currently selected
package.
Use to
Cancel Validation
Configure
Use to
Import WSDL
Reverse engineer a Web Service Definition Language (WSDL) file as a UML Class
48
Menu Option
Use to
model.
Generate WSDL
Use to
Reverse engineer a W3C XML Schema (XSD) file as a UML Class model.
Forward engineer a UML Class model to a W3C XML Schema (XSD) file.
Use to
Manage Users
Manage Groups
Manage Locks
Change Password
My Locks [Ctrl]+[Shift]+[L]
Enable Security
Encrypt Password
49
Use to
Configure Current
Package
[Ctrl]+[Alt]+[P]
Specify whether this package (and its children) is controlled and, if so, which file
it is controlled through.
Version Control
Settings
Specify the options required to connect to a Source Code Control (SCC) provider.
Validate Configurations Validate the version control configuration of each package in the model.
Work Offline
Use to
CSV Import/Export
[Ctrl]+[Alt]+[C]
CSV Import/Export
Specifications
Use to
Properties [F5]
View and edit the <type> Diagram: <name> dialog for the current diagram.
Layout Diagram
Lock Diagram
Prevent the diagram from being edited, or release the locked diagram for
editing.
Note:
This does not apply in the Corporate, Business and Software Engineering,
Systems Engineering and Ultimate editions if security is enabled. In that
case, see Lock Model Elements in User Security in UML Models.
Save [Ctrl]+[S]
50
Use to
Copy an image of the current diagram to the clipboard. The image can be in
metafile or bitmap format; you set the format on the Options 190 dialog.
Add, modify and delete swimlanes or the swimlanes matrix for the current
diagram.
Property Note
Sequence Messages
Make the current diagram the default diagram opened when the current model
is re-opened.
To cancel a Model Default diagram, either:
Create a dummy diagram, set it as the Model Default and delete it, or
Delete the original diagram (if it is no longer relevant).
Change Type
Show Grid
Snap To Grid
Zoom
51
Use to
Properties [Alt]+[Enter]
Attributes [F9]
Operations [F10]
View and edit the operations (methods) for the selected element.
Inline Features
Advanced
52
52
Rich Text Format (RTF) Report Generate a report for the currently selected package in rich text format.
(See Report Creation in UML Models.)
Source Code Engineering
Open the source code of the selected Class in the default external editor
for that language. (Source code must have been generated, and the
selected element must be a Class - see Code Engineering Using UML
Models.)
Find the currently selected element in the Project Browser window. (If no
element is selected, finds the current diagram in the Project Browser
window.)
Appearance
53
53
Alignment
Make Same
53
Z Order
Size
Move
Space Evenly
52
Use to
View Properties
Open the dialog containing details of the selected element feature, or the
element if no feature is selected.
Add a Note element linked to the selected item, reflecting the content of that
item.
Other options that are available while in editing elements mode in a diagram (when an attribute or operation is
highlighted) include:
Key
Use to
[Enter]
[Ctrl]+[Enter]
Accept current changes and open a new slot to add a new item.
[Esc]
[Shift]+[F10]
[Ctrl]+[L]
Use to
Set Parents and Interfaces [Ctrl] Manually set the element's parents or an interface that it realizes.
+[I]
Embedded Elements [Ctrl]
+[Shift]+[B]
Change Type
53
Use to
Generate source code for the currently selected element. (See Code
Engineering Using UML Models.)
Use to
Autosize [Alt]+[Z]
Default Appearance
[Ctrl]+[Shift]+[E]
Set border, font and background color and border thickness for the selected
element, as its default appearance.
Alternate Image
[Ctrl]+[Shift]+[W]
Set Font
Use to
Left [Ctrl]+[Alt]+[Left]
Right [Ctrl]+[Alt]+[Right]
54
Use to
Top [Ctrl]+[Alt]+[Up]
Bottom [Ctrl]+[Alt]+[Down]
Centers
Down [Alt]+[=]
Use to
Spell check
225
Spell check
225
Spelling Language
Data Management
Run Patch
Execute an SQL patch. For further information on this and the following two
options, see UML Model Management.
Import reference data from XML files for convenient model updating.
55
55
Use to
Import Technology
Generate MDG
Technology File
Display the MDG Technology Wizard. See SDK for Enterprise Architect.
Wordpad
Open Wordpad.
Windows Explorer
Customize
Customize
Options [Ctrl]+[F9]
56
55
dialog
190 .
Project Transfer
Note:
You cannot move a project from a source .EAP file of a version earlier
than 3.5.0.
Project Compare
Use to
Repair an Enterprise Architect project. If a project has not been closed properly, in
rare cases it might not open correctly. This option attempts to repair such projects.
Note:
All users must be logged off the project while it is being repaired.
Make a design master project; this is the master project for creating replicas.
56
Menu Option
Use to
Synchronize
Replicas
Remove Replication
Resolve Replication
Conflicts
Resolve any conflicts caused when multiple users have changed the same element
between synchronization points.
43
Note:
If a documented toolbar icon, keyboard combination or menu option does not appear to be available, select
the appropriate tab and click on the Reset or Reset All button. This restores the toolbar, menu or key
settings to the defaults.
However:
Be aware that this also removes any customized icons, options or combinations you might have set, because
it is possible that the customization itself has displaced or affected the default setting.
57
To add a command to a toolbar, click on the category in the Categories: panel and select the command from
the list for that category in the Commands: panel. Drag the command on top of the toolbar to add it to.
If you right-click on the command icon in the toolbar while the Customize dialog is open, a context-sensitive
menu displays. This menu offers options for deleting commands from a toolbar, and for changing the
appearance of commands.
To remove a command from the toolbar, right-click on the command graphic or text and select the Delete
menu option.
To change the appearance of a command graphic, right-click on the command graphic or text and select the
Button Appearance context menu option. The Button Appearance dialog displays, which you can use to add
graphical icons to commands that do not have them by default.
Note:
Some commands do not come with a convenient icon, which results in an empty toolbar button. Either avoid
placing these commands on toolbars or use the context-sensitive menu to select an appropriate icon for the
command.
58
Tip:
Read the Create a New Toolbar and Populate it with Commands
topic.
58
4. In the Toolbar Name field, type a name for your new toolbar and click on the OK button. Your new
toolbar is created.
59
Note:
You can select the Show text labels checkbox to display textual descriptions of toolbar items.
5. Now add commands to your toolbar. Click on the Commands tab. This forces the new toolbar behind
the Customize dialog, so you might have to drag the Customize dialog to the side to find your new
toolbar.
7. Find the command to add to your toolbar in the Commands list. The Categories list on the left
represents the Enterprise Architect menu structure and the Commands list updates each time you click
on a different category.
8. Drag the selected command from the list into the new toolbar. If you selected the Show text labels
checkbox, your toolbar should now look like this:
60
If you did not select the Show text labels checkbox, your toolbar should look like this:
You can add as many commands to your toolbar as required. Your new toolbar behaves the same way as
other toolbars; you can position it next to the other toolbars at the top of the application workspace, dock it to
the side of the workspace or close it.
3. Click on the New icon (left of the red X ). A blank field displays in the Menu contents list.
61
62
7. Close the Customize dialog. Your tool should have now been added to the Tools menu as shown
below.
62
Example 1
This example opens the file c:\Temp\Customer Account.cls using Wordpad. If you save from within Wordpad the
initial directory is c:\Temp.
Tip:
If there are any spaces in the paths in the Command, Arguments or Initial Directory fields, you must
enclose the whole path in double quotes. For example: "c:\Temp\Customer Account.cls" must have quotes but c:
\Temp\CustomerAccount.cls does not have to have quotes.
Example 2
This example opens the file c:\Temp\Customer Account.cls using VB. As VB is not installed with the operating
system, the whole file path for VB must be included in the Command field; you can select this using the [ ... ]
(Browse) button to locate the VB executable. If you save from within VB the initial directory is c:\Temp.
63
64
Parameter
Description
Notes
$f
Project Name
$F
Enterprise Architect.
$p
Current Package ID
$P
Package GUID
$d
Diagram ID
$D
Diagram GUID
$e
$E
Tip:
For more information on using the Automation Interface, visit www.sparxsystems.com/AutIntVB.htm.
65
Note:
Press the actual keys to use. For example, to use [F5] press the [F5] key, don't type F then 5.
Note:
In the example above, the Assign button is disabled. This is because [F5] is already a shortcut to view
diagram properties. If this occurs you must select a different shortcut key.
5. Once you have selected an available shortcut, click on the Assign button to apply the change. In the
example below, the new shortcut is [N].
6. This has added a new shortcut so that both [N] and [Ctrl]+[N] create a new Enterprise Architect project.
66
Context Menus
Currently this feature is disabled.
Menu Animations
The following menu animations can be selected from the Menu animations drop-down list:
Menu Shadows
Menu shadows can be toggled on or off by selecting or clearing the Menu shadows checkbox.
67
You can toggle the following options by selecting or clearing the checkboxes:
Show Screen Tips on toolbars
Show shortcut keys in Screen Tips
Use Large Icons.
Use to
Connect External
Project
List external Add-Ins and, when you select one of them, open a project list for the Addin. If there is only one active project available, the Add-In might automatically go on to
open that project.
<Add-In Name>
Manage Add-Ins
Display the Manage Add-Ins dialog, which you use to enable or disable Add-Ins for
use.
68
68
Menu Option
Use to
Any technology loaded by an Add-In is automatically enabled; if you do not want to
use it, you can disable it on the dialog.
For further information, see SDK for Enterprise Architect.
Add-In Submenu
Menu Option
Use to
<Add-In specific
options>
List options to perform various functions specific to the Add-In. For example, the MDG
Technology For Zachman Framework, as an Add-In, has the options Open Example
Model and Insert New Framework Model.
Help
About
Display information on the Add-In installation, such as version, registration details and
copyright statement.
Use to
People
Display the People dialog, which enables you to configure the authors, clients,
resources and roles for your project. (See UML Model Management.)
General Types
Display the General Types dialog, which enables you to configure requirements,
status types, constraints and scenarios for your project. (See UML Model
Management.)
Maintenance
Display the Maintenance dialog, which enables you to track problem types and
test types. (See UML Model Management.)
Project Indicators
Define the project indicators (risks, efforts and metrics) used in Resource
Management. (See Project Management with Enterprise Architect.)
Estimation Factors
Display the Estimation factors dialog, which enables you to configure estimation
factor types (Technical Complexity Factors, Environmental Complexity Factors,
and Default Hour Rate) for your project. (See Project Management with
Enterprise Architect.)
UML
Configure stereotypes, Tagged Value Types and the cardinality list for your
project. (See UML Model Management.)
MDG Technologies
Display the MDG Technologies dialog, which enables you to load in and use
MDG Technology files. (See Extending UML With Enterprise Architect.)
Namespaces
Locate and delete model namespaces. (See Code Engineering Using UML
Models.)
Template Package
Configure or change the default element template directory. (See UML Modeling
with Enterprise Architect UML Modeling Tool.)
Local Paths
Configure local directories and paths. (See Code Engineering Using UML Models
.)
Configure automatic naming for elements. (See UML Modeling with Enterprise
Architect UML Modeling Tool.)
69
Use to
Code Datatypes
Add, modify and delete programming languages datatypes. (See UML Model
Management.)
Database Datatypes
Add, modify and delete database datatypes. (See Code Engineering Using UML
Models.)
Preprocessor Macros
Add and delete preprocessor macros. (See Code Engineering Using UML Models
.)
Code Generation
Templates
[Ctrl]+[Shift]+[P]
Modify code generation templates using the Code Templates Editor. (See Code
Engineering Using UML Models.)
Transformation
Templates
[Ctrl]+[Alt]+[H]
Images
Open the Image Manager. (See UML Modeling with Enterprise Architect UML
Modeling Tool.)
Colors
Configure the custom colors for the project. There are two options:
Get Project Custom Colors - get the custom colors
Set Project Custom Colors - set the custom colors
Custom colors are as used in the Appearance dialog. (See UML Modeling with
Enterprise Architect UML Modeling Tool.)
Use to
Full Screen
Reset the display to full screen so that only the work area and main menu
are shown - no toolbars or windows.
To return to your normal working display, either click on the Full Screen
option again or click on the Close Full Screen pop-up menu option.
You can also restore individual menus and toolbars using the View menu
options.
Autohide
138
Autohide
138
Refresh the current view. (See Version Control Within UML Models Using
Enterprise Architect.)
Close All
70
Use to
Always on Top
Make the current view the active one, so that key strokes immediately act
on that view.
Use to
About EA
Configure and manage the license keys used to register the name and
keys for Enterprise Architect and its Add-Ins. For more information see
Getting Started with Enterprise Architect.
Read Me
View the Readme.txt file, which details the changes and enhancements in
Enterprise Architect, build by build.
Ordering Information
Help Contents
View the keyboard accelerator map. You can customize your keyboard
shortcuts 64 , if required.
On-Line Resources
See below.
Use to
Request-a-Feature
Automation Interface
Introducing UML
Pricing and Purchase Options Purchase or upgrade Enterprise Architect over the internet.
71
To display specific pages in the Toolbox, select the More Tools option at the top of the Toolbox and select the
appropriate UML, Extended or customized diagram type from the menu.
In most cases, three pages display: <type> elements, <type> Relationships and Common. If you select the
<default> option, you display only the Common page.
72
73
73
Note:
On a Toolbox page for an MDG Technology or UML Profile, if you right-click directly on a profile element an
additional option - Synchronize Stereotype - is available at the end of the context menu. This enables you
to synchronize the Tagged Values and constraints for all elements created from the selected profile element.
(See Extending UML With Enterprise Architect.)
To hide the element or relationship labels (and subsequently redisplay them), select the Hide Labels (or
Show Labels) context menu option. The icons in the page then 'wrap' within the page, without text labels.
When you hide the labels, you can display the label of an individual element or relationship by moving the
cursor over the icon.
To 'pin' the page so that it displays for any group in the Toolbox, select the Pin in Toolbox menu option.
(This is not available on the Common page, which displays in all groups anyway.)
For example, if you 'pinned' the Class elements page, and switched to the Communication pages, the
Toolbox would include a collapsed Class elements page underneath the Communication pages.
To unpin the page so that it displays only in its own Toolbox group, right-click on it and select the Unpin
from Toolbox context menu option.
To collapse a page to just show the heading (<type> elements, <type> Relationships or Common), click on
the 'minus' box at the left of the page heading. To expand the page again, click on the heading.
Alternatively, collapse the page by right-clicking on the page and selecting the Collapse context menu
option.
74
2. By default, the dialog lists the element pages only, in the order: UML pages, Extended pages, MDG
Technology pages. To include the corresponding relationship pages, select the Show Relationship
Pages checkbox at the bottom of the dialog.
3. For each page to display on the Toolbox, select the Visible checkbox. Deselect the checkbox if you no
longer require a page to be displayed.
4. When you have defined the list of pages to display, click on the OK button. The pages you have
selected are pinned to the Toolbox in a collapsed state, underneath the current diagram-type pages.
5. To expand a page, click on the heading. You can remove a page individually by expanding it, rightclicking on it and selecting the Unpin from Toolbox context menu option.
75
Note:
MDG Technologies can impose their own Toolbox page visibility. For example, if ICONIX is the active
technology, all six ICONIX pages are automatically exposed in the Toolbox. If the active Technology pages
duplicate UML or Extended pages (as the ICONIX pages do) then the pinned Technology pages override and
replace the pinned UML and Extended pages.
For example, if ICONIX is active and you have pinned the Extended Analysis page, the Analysis page in the
list is the ICONIX-defined page, not the Extended Analysis page.
Elements specific to the current diagram type (Use Case in the example shown below)
Relationships specific to the current diagram type
Elements and relationships from any pages pinned in the Toolbox
Common elements and relationships
Elements and connectors for other diagram types.
76
The advantage of using the UML Toolbox shortcut menu is that it provides an increased amount of the
workspace to be used for diagramming rather than to display fixed (instead of pop-up) menus.
To use the UML Toolbox shortcut menu, follow the steps below:
1. Open a diagram.
2. Either:
Click on the diagram background and press [Insert] or [Spacebar]
77
Common Connectors
78
Common Elements
Common Connectors
79
80
The Class group is used for creating Class models and database models. Class
modeling is done using the Class and Interface elements, as well as occasional
use of the Object element to model Class instances. You can add Association
or Aggregation relationships. See the Class Model 13 for an example of this.
Use the Table element to insert a stereotyped Class for use in database
modeling. See the Data Modeling topic in Code Engineering Using UML Models
for more details.
To add an element to the current diagram, click on the required icon and drag it
into position on the diagram. Set an element name and other properties as
prompted.
To add a relationship, click on the required icon, click on the start element in
the diagram and drag to the end element.
For more information on these diagram, connector and element types, see the
UML Dictionary.
81
82
83
84
Activity elements enable you to describe the dynamics of the system from the
point of view of activities and flows between them. Activities can be
stereotyped as a process to display a business process icon.
To add an element to the current diagram, click on the required icon, and drag
it into position on the diagram. Set an element name and other properties as
prompted.
To add a relationship, click on the required icon, then click on the start
element in the diagram and drag to the end element.
For more information on these diagram, connector and element types, see
the UML Dictionary.
85
86
87
88
89
90
Display
Functional
Performance
Printing
Report
Testing
Validate.
91
The following diagram illustrates the GUI elements from the Toolbox, within a Screen element.
92
93
94
Workspace Toolbars |
8 Workspace Toolbars
Enterprise Architect provides you with a selection of toolbars that you can drag and dock within the application
frame. These toolbars provide convenient shortcuts to common tasks. You can also float toolbars over the
application by dragging them off the application toolbar section; this is useful when you are using a certain set
of functions a lot in a particular area.
You can customize toolbars by deleting and reordering the default button set. See Customize Commands 57
for more information. You can customize which toolbars are active by right-clicking on the toolbar background
and selecting the required items at the end of the context menu.
Note:
You can dock toolbars to the edge of the Enterprise Architect workspace by dragging them by the title bar
and placing them against the appropriate edge. The example below shows the Default Tools toolbar docked
to the left side of the workspace:
Workspace Toolbars |
95
The Default Tools toolbar provides quick access to the following functions (in order):
New project [Ctrl]+[N]
Open a project [Ctrl]+[O] - click on the folder icon to display the Open Project dialog (see UML Model
Management), which enables you to open files or connect to a server, or click on the drop-down arrow to
display a list of recently-opened projects and select one of those
Save current diagram [Ctrl]+[S]
Cut selected element(s) from diagram [Ctrl]+[X] (the element is not removed from the source diagram until
it is pasted from the clipboard into another diagram)
Copy to Enterprise Architect clipboard [Ctrl]+[Space]
Paste from Enterprise Architect clipboard as instance [Shift]+[Insert]
Undo last action [Ctrl]+[Z]
Redo last undone action [Ctrl]+[Y]
Print Preview (for generated documents and diagrams)
Page setup
Print [Ctrl]+[O]
Show Element List for currently-selected package or diagram [Ctrl]+[Alt]+[R]
Open Model Search [Ctrl]+[Alt]+[A]
Select the layout of docked windows, toolbars and the Enterprise Architect UML Toolbox (<default> is
Enterprise Architect, other options display for any MDG Technologies you have enabled - see Extending
UML With Enterprise Architect)
Help [F1].
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
can hide or show the toolbar by clicking on the View | Toolbars | Default Tools menu option.
The Project toolbar provides quick access to the following functions (in order):
Reload current project [Ctrl]+[Shift]+[F11] (see Version Control Within UML Models Using Enterprise
Architect)
New diagram
New package [Ctrl]+[W]
1998-2010 Sparx Systems Pty Ltd
96
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
can hide or show the toolbar by clicking on the View | Toolbars | Project menu option.
The Code Generation toolbar provides quick access to the following functions (in order):
97
Import Code
To select a language for code generation, click on the drop-down arrow for the Import button.
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
can hide or show the toolbar by clicking on the View | Toolbars | Code Generation menu option.
The UML Elements toolbar provides quick access to the following functions (in order):
Insert new element - displays a list of elements matching the content of the current Toolbox pages, with an
Other option to list other elements (see UML Modeling with Enterprise Architect UML Modeling Tool)
Insert new System Boundary element (see the UML Dictionary)
Insert new Note (see UML Modeling with Enterprise Architect UML Modeling Tool)
Insert new Text element (see UML Modeling with Enterprise Architect UML Modeling Tool)
Insert new diagram note (see UML Modeling with Enterprise Architect UML Modeling Tool)
Insert diagram Legend (see UML Modeling with Enterprise Architect UML Modeling Tool)
Insert new hyperlink (see the UML Dictionary)
Insert new note link (see the UML Dictionary).
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
1998-2010 Sparx Systems Pty Ltd
98
77
The Diagram toolbar provides quick access to the following functions (in order):
Align selected elements to the left [Ctrl]+[Alt]+[!]
Align selected elements to the right [Ctrl]+[Alt]+["]
Align selected elements to the top [Ctrl]+[Alt]+[#]
Align selected elements to the bottom [Ctrl]+[Alt]+[$]
Bring selected element to top of Z order
Move selected element to bottom of Z order
Go to previous diagram [Alt]+[!]
Go to next diagram [Alt]+["]
Go to default diagram
Zoom In
Zoom Out
Zoom to fit diagram
Zoom to fit page
Zoom to 100%
Auto-layout diagram (not for Behavioral diagrams) in the Digraph layout (see UML Modeling with Enterprise
Architect UML Modeling Tool)
Show diagram properties [F5]
Paste appearance as copied into the Painter from an element's Appearance context menu (see UML
Modeling with Enterprise Architect UML Modeling Tool)
Delete selected element(s) [Ctrl]+[D]
Any actions that result in a change in diagram content and appearance (including Zoom) can be saved as
changes to the diagram.
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
can hide or show the toolbar by clicking on the View | Toolbars | Diagram menu option.
The Current Element toolbar provides quick access to the following functions (in order):
99
The Current Connector toolbar provides quick access to the following functions (in order):
View and modify properties for the current connector
Set the connector line style
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
can hide or show the toolbar by clicking on the View | Toolbars | Current Connector menu option.
Use the Format toolbar to change the appearance of a selected element (or several selected elements) in the
current diagram; this does not affect any other occurrence of the selected elements anywhere else in the
model.
100
Notes:
To set the global appearance of all elements throughout a model, use the Options dialog. Select the Tools
| Options menu option, then select Standard Colors 192 and Diagram | Appearance 195 from the options
tree.
To override the global appearance and define a default appearance of a selected element (or several
selected elements) on all diagrams on which it occurs, right-click on the element and select the
Appearance | Default Appearance context menu option. The Default Appearance dialog displays (see
UML Modeling with Enterprise Architect UML Modeling Tool).
The Format toolbar provides quick access to the following functions (in order):
Text font, style, size and effects, through the Font dialog
Text Color (drop-down color palette)
Fill Color (drop-down color palette)
Border or Connector Line Color (drop-down color palette)
Border or Connector Line Width (arrows increase/decrease between 1 and 5)
Apply Style to Element(s)
Copy Style from Element
Style list for selecting saved styles
Save style (see below).
If you click on the drop-down arrow for the Save Style (pencil) button, you can select an option from the
following list:
The Fill Color button can be used in conjunction with the Project Custom Colors menu options to enable
users to have access to custom-defined project colors. To activate this feature select the Tools | Options |
Standard Colors menu option and ensure that the Show Project Custom Colors in Element Format
checkbox is selected. To define a set of custom colors see the Get and Set Project Colors topic in UML
Modeling with Enterprise Architect UML Modeling Tool.
You can move this toolbar to any dockable position and it retains that position in subsequent sessions. You
can hide or show the toolbar by clicking on the View | Toolbars | Format Tool menu option.
The Workspace Layouts toolbar provides a range of facilities for changing the content and layout of the
Enterprise Architect workspace. You can move this toolbar to any dockable position and it retains that position
in subsequent sessions. You can hide or show the toolbar by clicking on the View | Toolbars | Workspace
Layouts menu option.
From left to right, the facilities on the toolbar are described in the following paragraphs.
101
Custom Workspace Layout dialog, type a name for the layout. Click on the Save button. The layout is added
to the Available Custom Workspace Layouts list.
You can also select an existing workspace layout from the list and save the new layout under the existing
name.
In the Existing Workspace Layout panel at the bottom of the dialog, the Based On: field identifies the defined
layout that the current workspace layout was derived from - you might have moved or closed windows since
applying that layout. The highlighted (Copy of existing Workspace Layout) at the top of the Workspace Layout
dialog is a capture of the workspace layout immediately before you opened the dialog.
Change Layout
You can now change the layout in the Existing Workspace Layout panel to:
The original layout (as identified by the Based On: field), discarding any changes you might have made
The Copy of existing Workspace Layout, preparatory to saving the changes in a new named layout
One of the other named layouts.
To change the layout in use, either:
Double-click on the required layout name
Click on the layout name and click on the Apply button or OK button, or
Right-click on the layout name and select the Apply context menu option.
When the layout in use changes, the layout name in the toolbar Workplace Layout Selection field also
changes.
Copy Layout
To copy a layout (such as the one at the top of the list), either:
Change the layout in use to the required layout (as above) and click on the Save As button, or
Right-click on the layout name and select the Save As context menu option.
1998-2010 Sparx Systems Pty Ltd
102
In the Custom Workspace Layout Name field, type a name for the layout. Again, by selecting an existing
name you can change an existing layout to something different. Click on the Save button.
If you already have tailored windows or views that you want to include in your selected layout, select the
Include active custom views checkbox.
Delete Layout
To delete a workspace layout, right-click on the layout name and select the Delete context menu option.
Enterprise Architect prompts you to confirm or cancel the deletion.
103
Note:
When you upgrade your system to a new edition of Enterprise Architect, the new edition might contain
window or toolbar layout changes made by Sparx Systems. These changes might impact your previouslycustomized workspace layouts. In such cases, when you select each of your customized layouts in the
Selection field, the following prompt displays:
Click on the OK button to ensure that your customized layout contains the system upgrades.
Views
Clicking on the drop-down arrow for the Views icon lists options for displaying various views of information on
model content, such as the Element List 108 , Model Search 121 and Relationship Matrix (see UML Modeling
with Enterprise Architect UML Modeling Tool). Click on the appropriate option to display the required view
screen.
Windows
Clicking on the drop-down arrow for the Windows icon lists options for opening each of the Enterprise
Architect windows (as on the View 41 menu options). Click on the appropriate option to open the required
window, or to transfer control to the window if it is already open.
Toolbars
Clicking on the drop-down arrow for the Toolbars icon lists options for opening or hiding each of the nine
Enterprise Architect main toolbars 94 and the diagram Status Bar 103 . Click on the appropriate option to hide
or display the required toolbar.
Full Screen
Click on this icon to switch the Enterprise Architect display to Full Screen 69 mode. A small dialog displays to
enable you to switch back to normal mode. Alternatively, click on the Window | Full Screen menu option.
104
Indicates the status of [Caps Lock], [Num Lock], [ScrLk] (scroll lock) and the WAN Optimizer (bold
indicates 'in use', pale indicates 'off')
Indicates, by the presence of a triangle in the bottom right corner, that the screen is not maximized; you
can drag the screen corner to increase the size of the window.
If you right-click on the Status bar, a context menu displays that enables you to hide or show the element
name, element coordinates, zoom slider or status indicators.
You can hide or show the Status bar from the View | Toolbars | Status Bar menu option, but you cannot dock
it in any other position.
Although it is not an independent toolbar that you can pin to the screen top or sides, or float in your work area,
the Rich Text Notes toolbar appears in many places across Enterprise Architect in the Notes and Description
fields of:
The element Properties dialog:
General tab
Requirements tab
Scenario tab
Hyperlink Notes
The Diagram Properties dialog
The Connector Properties dialog
The Message Properties dialog
The Operations and Attributes Properties dialogs
The Testing Window descriptions
The Notes window
The Rules and Scenarios Window for:
Requirements
Linked Requirements
Scenarios.
Notes:
If the toolbar is displayed but grayed out, the text field is read-only and cannot be edited. Other
Description or Notes fields in Enterprise Architect might not have the toolbar, in which case the Rich Text
Notes facility is not available for those fields.
For any Notes text that is displayed on a diagram, you must select the Render Formatted Notes checkbox
on the Feature Visibility dialog in order to reproduce the formatting (see UML Modeling with Enterprise
Architect UML Modeling Tool).
You can create a Project Glossary term and definition from text in any field that has the Rich Text Notes
toolbar. See The Notes Window 160 .
The options of this toolbar operate on selected text and any new text continuing from the formatting. The
options (with some keyboard shortcuts) are, from left to right:
Make text bold [Ctrl]+[B]
Make text italic [Ctrl]+[I]
105
106
Diagram Tabs |
9 Diagram Tabs
Diagram Tabs are located at either the bottom or the top of the diagram area, above the status bar. The
default location is at the bottom of the diagram area; for details of how to place the diagram tabs at the top,
see the Configure Local Options | General 190 topic. Each time you open a diagram, the diagram name and
diagram type symbol are shown in the tab for easy identification and access.
Notice that the Component View tab is white with bold text; this means that the current diagram is the
Component View diagram.
Also notice that the Use Case View tab has an asterisk. This means that there are unsaved changes in the
Use Case View diagram. To save the changes see below.
Use to
Save All
1. Reopen the diagram without the unsaved changes; that is, revert to the
state before any changes were made.
2. Refresh the diagram from the repository, to show any changes made by
other users in a shared model (see Version Control Within UML Models
Using Enterprise Architect).
Close the diagram; Enterprise Architect prompts you to save changes to the
diagram.
Close All
Close all open diagrams; Enterprise Architect prompts you to save any
diagrams with unsaved changes.
Close all diagrams except for '<tab name>'; Enterprise Architect prompts you to
save any diagrams with unsaved changes.
(Where several views of the same type can be opened at the same time, such
as diagrams, RTF documents, or text editors.)
Close all views of the same type as the selected tab, leaving views of other
types still open.
View Options |
107
10 View Options
Models in Enterprise Architect are viewed in different ways in the application workspace, either in the Diagram
View 107 or the Element List 108 . You can also develop tailored views of your model or project in the Model
Views 113 window.
See Also
Relationship Matrix (see UML Modeling with Enterprise Architect UML Modeling Tool)
Model Search 121
Across the top of a diagram is the diagram caption bar, containing the diagram statistics.
This caption bar also enables you to switch or close the diagram. The caption bar provides the:
Icon and text label for the diagram type
Diagram name
1998-2010 Sparx Systems Pty Ltd
108
Use the Diagram View to build model relationships and elements. Within the diagram, you can create new
elements, drag in existing elements and generally organize the elements and relationships. Most work is
carried out on elements in the Diagram View, so understanding how it works and how to manipulate elements
is essential. Use the example project supplied with Enterprise Architect to explore the capabilities and
behavior of the Diagram View.
Tip:
You can also use the Element List
108
to manipulate elements.
Add new elements 71 to the diagram using the Enterprise Architect UML Toolbox
Add existing elements to the diagram by dragging them from the Project Browser
Add connectors 71 between elements using connectors from the Enterprise Architect UML Toolbox
Copy elements in a diagram to link or copy elsewhere
Zoom a diagram to different magnifications
Use the Diagram toolbar forward and back 98 arrows to display the previous or next diagram (you can also
click on the required diagram tab 106 , or use the drop-down menu on the caption bar, described above)
Align and resize multiple elements
Delete elements from the diagram (but not the project)
Double-click on the diagram background to open the diagram Properties dialog and set diagram properties
Print and print preview 35 diagrams
Save the diagram image to file
Save the diagram image to the clipboard.
For details of these operations, see UML Modeling with Enterprise Architect UML Modeling Tool.
) in the toolbar:
User-Defined format - as shown below, where you determine how the element information is structured on
the screen, using the value-grouping 111 band below the toolbar
109
Model Hierarchy format - as shown below, where the package and element hierarchies are represented in
the display.
110
111 .
111
The View header defines the columns of information that are presented by the
Element List, and the order in which data items are presented. By right-clicking
on the header you display the Field Chooser context menu option, which in turn
displays the Field Chooser dialog. This enables you to add or remove columns
from the output. Between them, the View header and Field Chooser dialog show
the full range of column headers available.
To add a column heading to the View header, drag it from the Field Chooser
dialog onto the header, to the position you want the column of data to display.
When you have selected the column headings you require, click on the red
cross in the top right corner of the Field Chooser dialog to close it. If you want to
remove a column from the output, drag the column heading to below the View
header.
You can also change the sequence of columns, by dragging column headers left
or right.
Value Grouping
You can organize the reported data according to the value of one or more of the column categories. As in the
illustration at the start of this topic, you might organize the data by Type, and within each Type by Name. If you
then click on any of the other column headings, the data within this grouping is further sorted with the values of
the selected column (for example, Created) in ascending or descending order.
To set up the value grouping, drag the column heading representing the primary grouping (such as Type) onto
the Drag a column header here to group by that column field. Then drag the column heading for the next
level of grouping (such as Name) to the right of the first heading. The two heading titles display as connected
blocks, as shown below.
You can, if required, add further levels of grouping by dragging other column headings onto the hierarchy
(such as Status), and restructure the order by dragging existing or additional headings into the level you want
them to hold. For example, you could make Type the secondary grouping by dragging it to the right of Name,
or drop Status between Type and Name.
To remove a grouping level, drag the appropriate column heading out of the sequence and below the View
header. Any subordinate groupings move up a level.
- add a new element to the diagram and/or package ([Ctrl]+[N]) (see UML Modeling with Enterprise
Architect UML Modeling Tool)
- display the Notes window, to add or edit notes for the selected element ([Ctrl]+[Space])
- display the Generate RTF Documentation dialog, to create an RTF report on the selected element(s)
(see Report Creation In UML Models)
- select the appropriate element type from a list (click on the drop-down
arrow), or All to list all objects; the report then lists only elements of that specific type
- select a UML, Extended or MDG Toolbox category to specify the category of elements shown in the
filter list (above)
1998-2010 Sparx Systems Pty Ltd
112
- toggle between including child packages and their contents in the list, and showing only the firstlevel contents of the selected diagram or package
- toggle the display between model hierarchy format and user-defined value-grouping
110
format
- display a short menu from which you can select to hide the contents of the Notes compartment of
each element, display the first few words, or display the full text.
- display Help on the Element List.
Audit History
In the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of
Enterprise Architect, if Auditing is turned on and the Element List is open, you can view a history of changes to
any selected element or connector, in the Audit History tab of the Output 168 window. (If security is enabled,
you must have at least Audit View permissions to display the audit history). For information on the Auditing
facility, see Auditing UML Models.
Use to
Properties
Add New
If the Filter List field in the toolbar is set to All, display the New Element dialog,
through which you create an element of the required type.
If the Filter List field is set to a specific element type, this option adds an element
of that type to the package or diagram in the Element List, the Project Browser and
the Diagram View.
Switch to Diagram
View
If you have opened the list for a diagram in the Project Browser, show the elements
as the diagram instead of as the Element List.
Find in Diagrams
Display the diagram that uses the element or, if the element is used in multiple
diagrams, display the Element Usage dialog, which lists the diagrams that contain
the element. (See UML Modeling with Enterprise Architect UML Modeling Tool.)
Find In Project
Browser
Bookmark Item
Delete an existing linked document. (Only displays if the element has a linked
document.)
Documentation
113
Use to
Diagram Properties
Sort Contents
In Model Hierarchy format, synchronize the list with the Project Browser hierarchy,
to ensure that all element and package hierarchies and sequences are - if
necessary - updated. (Normally changes are updated automatically, but there can
be delays if changes are made outside the Element List).
Reload
Reload the element list to refresh the order and content with any recent changes.
Delete Selected
Subordinate Folders
Under the My Views root node you can add a single level of View folders, which enable you to group Search
View folders as best suit your requirements.
A Search View is a folder of elements or structures that you assemble by assigning a model search to the
folder. When you double-click or expand the folder, the search runs and refreshes the folder contents.
You can also set a search to refresh at a defined interval, and to notify you if new results 117 are
found.
Under a Model View root node you can create Views folders that can contain Search View folders, Slideshow
folders and Favorites folders.
A Slideshow folder contains diagrams only, which you can display as a slide show 119 with diagrams being
shown in the sequence in which they are listed in the folder. One folder represents one slide show. You can
run the slide show automatically or manually; in either case the diagrams are closed after they have been
displayed.
A Favorites folder gives you easy access to commonly-used items in the Project Browser. To create
hyperlinks in a Favorites folder to the required items in the Project Browser, drag items from the Project
Browser into the Favorites folder.
You can also export 118 all of the View folders containing Views from any root section as an XML file, and
import 118 a Views XML file as an additional, editable Model View root node.
Note:
These are single-level items; if you drag a package into the Favorites folder, you cannot expand that package
there. To select specific items inside a package, expand it in the Project Browser and then drag the items into
the Favorites folder.
114
114
The availability of the Model Views toolbar options depends on the type of object selected. The options are,
from left to right:
115
Displays the appropriate Properties dialog for the item selected. Alternatively, double-click on the
item, or press [Enter].
Locates the selected object in any diagrams in which it has been used in the model, and either
displays the single diagram with the object highlighted or lists the several diagrams in which the
object has been located.
Locates and highlights the selected object in the Project Browser.
Creates a new Model View root node, and displays the New Model View dialog in which you enter
the root node name.
Creates a new Views folder in the currently-selected root node.
Creates a new Favorites folder in the currently-selected Views folder.
Creates a new Slideshow
119
Creates a new View in the currently-selected Views folder, and displays the Create New View
dialog to define the search 117 that populates the View.
Refreshes the selected Model Views root node, folder, View or Favorites. For a View, this runs the
Model Search defined in the View properties. 117
Moves the currently-selected object up or down within its type; you cannot move - for example - a
package below a diagram, or a View above a Favorites folder.
Displays a prompt to confirm deletion of the selected object and - if appropriate - its contents. You
cannot delete the original Model Views, My Views or Recent Discussions root nodes, or any
technology-defined Views.
Displays Help on Model Views.
Use to
Properties
Display the appropriate Properties dialog for the selected object. (Not the My Views,
Recent Discussions, initial Model Views or Technology-defined root nodes.)
You can edit any of the properties, if required. Changes to objects populated from the
model are reflected in all other views (Properties window, diagrams, reports) of that
object.
The Properties option for the Recent Posts folder displays the Recent Post Options
dialog, which enables you to specify the number of days back from which to extract
postings from the Team Review, and the number of postings to list.
The Properties option for a Slideshow folder displays the Slideshow Properties 119
dialog, which enables you to automate the slide show and set the number of seconds for
which each diagram is displayed.
If you deselect the Enable checkbox, you must press [Spacebar] to display each
diagram.
New Views
Folder
Display a prompt for the Views folder name and create the folder in the selected root
node. (Root node only.)
Import Views
From XML 118
Prompt for the XML file location and create a new Model Views node to hold the imported
Views. (Root node only.)
Export to XML
(Views Only)
Prompt for a file path and name, and copy all Views under the selected root node to an
XML file at that location. (Root node only.)
118
Remove Model
Display a prompt to delete the selected user-defined Model View and, if confirmed, delete
116
Menu Option
Use to
View
the root node and all contents. (Not for the My Views, initial Model Views or Technologydefined root nodes.)
New Search
Folder
Display the Create New View dialog (similar to the View Properties dialog) for you to
define the search that populates the View 117 . (View folder only.)
New Favorites
Folder
Display the Create a new favorites based folder dialog, which prompts for the folder
name. (View folder only.)
New Slideshow Display the Create a new slideshow 119 dialog, in which you type the name of the slide
show. You must use the Properties dialog to define the properties of the slide show.
(Model View, View folder only)
Open Search
Display the Model Search tab in the main work area, listing the full results of the search
and giving access to all the facilities of the Model Search 123 (View only).
Alternatively, press [Shift]+[Space].
Refresh
Refresh the search and opens the View or Postings Repository to show the elements or
Posts retrieved by the search.
Alternatively, press [Space].
Double Click
Opens Search
Enable you to perform the Open Search function by double-clicking on the View.
Find Post
Open the Project Team Review and highlights the selected post.
Open Team
Review
Edit
Connections
Remove Folder
Display a prompt to delete the selected Views folder and, if confirmed, delete the folder
and all contents. (View folder only.)
Remove View
Display a prompt to delete the selected View and, if confirmed, delete the View and all
contents.
Remove
Favorites
Display a prompt to delete the selected Favorites folder and, if confirmed, delete the
folder and all contents.
Remove
Slideshow
Display a prompt to confirm deletion of the selected slide show and, if confirmed, delete
the slide show and all its diagrams.
Run Slideshow
119
Run Slideshow
Full Screen
119
in full screen mode, so that the slide show fills the whole screen.
If you deselect this option, double-click refreshes the search and opens the View to show
the elements retrieved by the search.
119
223
In Project
Browser
Highlight the selected item in the Project Browser. (Element / Diagram / Package object
only.)
In Diagrams
Locate the selected object in any diagrams in which it has been used in the model, and
either display the single diagram with the object highlighted or list the several diagrams in
which the object has been located.(Element / child Package object only.)
Remove Linked Display a prompt to delete the selected object and, if confirmed, remove the object from
the folder. This has no effect on the object in the Project Browser or any diagrams.
Item
(Element / Diagram / Package object only.)
Menu Option
117
Use to
Note:
You would not delete an object in a View, as it is replaced the next time the View is
refreshed.
Help
118
Export/Import Views
You export Views to create an XML file that you can:
Import into another model as a user-created Model View or
Call from an MDG Technology Selection (MTS) file to access the Technology-defined View provided by the
active MDG Technology.
The export and import functions are available from the Model Views root-node context menus.
When you use the export function, it acts on the complete set of View folders in the selected My Views root
node, Model Views root node, or user-generated root node. You cannot export individual Views, nor can you
export Favorites folders. The function displays the Save As dialog, on which you browse for the directory
location for the exported XML file, and specify the file name.
When you use the import function, it displays the Select Import Filename dialog on which you browse for the
directory and XML file you want to import. The import creates a new Model View folder with the same name as
the copied root node.
119
You create each slide show as a folder 114 within a Views folder under a Model View node. When you run a
slide show, it displays the diagrams in the folder in the sequence in which they are listed in the folder. After
each diagram has been displayed, it is closed.
136
the Project Browser window separately from the Model Views window.
6. Drag the diagrams to be displayed as part of the slide show from the Project Browser into the new slide
show folder. Organize the diagrams in the order in which they are to be displayed.
Note:
The diagram items in the slide show folder are links to the diagrams in the Project Browser, not copies
of the diagrams or the diagrams themselves. Any actions you take in the slide show have no impact on
the original diagrams.
7. Close the folder.
You can reorganize the diagrams in the slide show using the up/down green arrows
toolbar.
114
To remove a diagram that is not required, right-click on it in the slide show folder and select the Remove
Linked Item context menu option.
120
3. If you intend to automate the slide show, select the Enable checkbox. To run the slide show manually,
deselect the checkbox.
4. If you intend to automate the slide show, in the Time field type the number of seconds that each
diagram is to remain on display.
5. Click on the OK button.
5. Control the slide show using the toolbar icons and other aids, as follows:
To:
To:
121
123
topic.
When you have generated your search results, you can print them or generate an RTF report
124
on them.
122
The Toolbar
The Model Search toolbar enables you to quickly select a number of operations on the search list as a whole,
or selected items.
The View header defines the columns of information that are presented by the Model Search, and the order in
which data items are presented. By right-clicking on the header you display the Field Chooser context menu
option, which in turn displays the Field Chooser dialog. This enables you to add columns from the output.
Between them, the View header and Field Chooser dialog show the full range of column headers available.
123
To add a column heading to the View header, drag it from the Field Chooser
dialog onto the header, to the position you want the column of data to display.
When you have selected the column headings you require, click on the red
cross in the top right corner of the Field Chooser dialog to close it.
To remove a column from the output, drag the column heading downwards out
of the View header. A black cross displays on the heading as you move it, and
then both heading and cross disappear when you release the mouse button.
You can also change the sequence of columns, by dragging column headers left
or right.
You can organize the reported data hierarchically according to the value of one
or more of the column categories. For example, you could organize the data by
Type, and within each Type by Status. If you then click on any of the other
column headings, the data within this grouping is further sorted with the values
of the selected column (for example, Created) in ascending or descending order.
To set up the hierarchical grouping, drag the column heading representing the
primary grouping (such as Type) onto the Drag a column header here to
group by that column field. Then drag the column heading for the next level of
grouping (such as Status) to the right of the first heading. The two heading titles
display as connected blocks, as shown below.
You can, if required, add further levels of grouping by dragging other column headings onto the hierarchy, and
restructure the hierarchy by dragging existing or additional headings into the level you want them to hold. For
example, you could make Type the secondary grouping by dragging it to the right of Status, or extend the
hierarchy by dropping Object between Type and Status.
To remove a grouping level, drag the appropriate column heading out of the hierarchy and below the View
header. Any subordinate groupings move up a level.
124
128 .
1. Click on the arrow button to the right of the Options button. The search manager panel
above the search results panel.
125
displays just
See
A Login Shortcut
An Add-In
A Hyperlink
36
Note:
Not all options are available for a diagram.
Menu Option
Use to
Properties
125
Menu Option
Use to
Copy Selected to
Clipboard
Copy the selected item to the MS Windows clipboard so that it can be pasted to a
document, spreadsheet or email.
Documentation
Create Linked
Document [Ctrl]
+[Alt]+[D]
(Edit Linked
Document)
128
Create (or edit) a linked document (Corporate, Business and Software Engineering,
Systems Engineering and Ultimate editions).
See the Linked Documents topic in UML Modeling with Enterprise Architect UML
Modeling Tool.
Delete Linked
Document
Delete an existing linked document. (Only displays if the element has a linked
document.)
Clear Results
Find in Diagrams
Display the diagram that uses the element or, if the element is used in multiple
diagrams, display a list of diagrams to choose from.
Find in Project
Browser
Bookmark Selected
Delete Selected
Close
Help
123 .
The search
126
Search filters enable you to perform customized searches on a Search Term in order to locate model
elements having specific characteristics. The Search drop-down list provides several pre-defined searches
.
For ease of use, the list of available searches is separated into built-in searches, user-defined searches
and Add-In searches.
131
128
The default is a Simple search, which searches all elements, looking at the Name and Notes fields only. If the
search term is found in the Name field or the Notes field, those elements are displayed.
Important:
The fields listed in a search have an OR relationship when none of the Required checkboxes are ticked; that
is, if the search term is found in any one of those fields, then the element is displayed.
If the search definition includes one field only, the Required checkbox must be selected, otherwise the
search produces incorrect results.
In the Simple search below, the Name and Notes fields both have the Required checkbox ticked, so the two
fields have an AND relationship. The search displays only those elements that contain the search term in both
the Name and Notes fields.
127
Note:
Any field having the Required checkbox ticked overrides fields where the Required checkbox is not ticked.
The following search finds elements that must have the search term in the Name field and that might or might
not have the search term in the Notes field.
The search manager toolbar enables you to configure the system-provided searches, and to create and edit
your own searches. The toolbar icons, from left to right, provide access to the following functions:
Option
Use to
New Search
Create a new search definition, with new search criteria. See Create Search Definitions
128 .
Save Search
Copy Search
Restore Default
Delete Search
Add Filter
Remove Filter
Export Search
Display a selection box that enables you to select searches to export to an external
directory as an XML Search file.
Import Search
Display the Windows Directory Explorer Open dialog to enable you to import searches
as XML Search files from an external directory.
Search Options
Display the Advanced Options dialog, to define where the search should operate and
how the search should match filters.
132
You use the main body of the search manager panel to configure the element search filters that are contained
in the selected search. A filter item consists of the element field name (Search In), the conditions placed on
the field value, the actual value or delimiting value to search on, and whether the filter item is required
(mandatory). The components are defined in greater detail in the following table:
128
Column
Use to
Search In
Select the type and name of each element feature to search on.
Condition
Look for
133
133
Required
Select the condition of the search parameter. The available options are Contains, Equal
To, Not Equals and One Of.
Specify the search term to perform the conditional search on. This value can pertain to
the selected element type. For example, the value could be a date for DateCreated or a
text value for other fields. The search term can contain multiple values, separated by
commas.
Indicate that the search results must include elements with your search term in that field.
You add the filters by clicking on the Add Filter toolbar icon, to display the Add Filters dialog.
Advanced Options
When you click on the Search Options icon on the Manage Searches toolbar, the Advanced Options dialog
displays.
125
are created using the search manager panel. To display this panel:
1. On the Model Search tab, click on the arrow button to the right of the Options button
manager panel displays underneath the Search Term and Search fields.
To create a new search definition, follow the steps below:
123 .
The search
129
1. Click on the New Search icon in the toolbar. The Create New Search Query dialog displays.
2. In the Search Name field, type a name for your new search.
3. Select the radio button for the type of search you require:
The Query Builder 129 option provides an interface that enables you to design your own search.
The SQL Editor 129 option enables advanced users to directly write SQL Select statements.
The Add-In Search 131 option enables you to supply the name of your Add-In and a method (for
example MyAddin.RunThisMethod). This method is called whenever the search is run. This search
can be exported and distributed as a part of your Add-In. For more information, see Add-Ins in SDK
for Enterprise Architect.
4. Click on the OK button.
Note:
User-defined searches are stored in the Program Files directory, and not in the project repository.
Query Builder
Your search definition now appears as being selected in the Search drop-down field. You can now click on
the Add Filter toolbar icon to Add Filters 132 .
SQL Editor
The Custom SQL dialog displays, enabling you to input your SELECT statement. The SQL editor is based on
the common Code Editor, and provides an intellisense autocompletion list populated with Enterprise
Architect's repository structure. You can display the autocompletion list by pressing [Ctrl]+[Spacebar].
For more details on intellisense and the common Code Editor, see the Code Editors
173
topic.
130
Enterprise Architect also enables you to use #xxx# macros as string replacers in WHERE statements, so that
the same search can be used by different people in different environments. These macros include:
#WC# - Gets the appropriate wild card for the current database, and so enables the search to be
performed on models on different databases; for example, t_object.Name LIKE '#WC#Test#WC#'
#Author# - Takes the value of the Author field in the Options dialog General page, and enables the defined
search to be performed on objects created by that user (this value can be manually re-set in the Options
dialog)
#DB=<DBNAME># where <DBNAME> can be one of the following:
MYSQL
JET
ORACLE
SQLSVR
ASA
OPENEDGE
POSTGRES.
For example, #DB=ORACLE# t_object.ModifiedDate >= (SYSDATE - INTERVAL '<Search Term>'
DAY)
#UserName# - Gets the name of the person logged into version control; for example,
t_package.PackageFlags LIKE '#WC#VCCFG=#WC#CheckedOutTo=#UserName##WC#' (this is from
Enterprise Architect's built in search My Checked Out Packages).
Note:
For all Enterprise Architect functions in which you use a custom SQL statement (such as RTF reporting or
Model Views) the statement must return the guid and type of the object found so that Enterprise Architect can
search for the selected item in the Project Browser. For example:
SELECT ea_guid AS CLASSGUID, Object_Type AS CLASSTYPE, Name FROM t_object
You can extend the usability of your SQL searches using the aliases CLASSGUID and CLASSTYPE. These
enable Enterprise Architect to display the Properties dialog and icon for elements, connectors, attributes or
operations, as well as selecting them in the Project Browser. Some simple examples for using these aliased
fields are provided below:
SELECT ea_guid AS CLASSGUID, Object_Type AS CLASSTYPE, Name FROM t_object
SELECT ea_guid AS CLASSGUID, Connector_Type AS CLASSTYPE, Name FROM t_connector
SELECT ea_guid AS CLASSGUID, 'Operation' AS CLASSTYPE, Name FROM t_operation
SELECT ea_guid AS CLASSGUID, 'Attribute' AS CLASSTYPE, Name FROM t_attribute.
When you have defined the SELECT statement, click on the Save button to save this search. The search is
then available from the Search drop-down list.
131
Add-In Search
Type in the field the name of your Add-In, a period (full stop) and then the name of the method to be called (for
example, MyAddin.RunThisMethod). Your search is automatically saved and available from the Search dropdown list.
132
Option
Use to
Search On
If you are adding filters to an existing search, the list contains only items appropriate
to the initial filter. For example, if the initial filter is on diagram properties, the list for
any subsequent filters for the search only contains the Diagram option.
Include
Select each field item to include in your search (select the checkbox).
Field
Identify the name of the field to search. See Fields and Conditions
presents items specific to the filter Search On item.
133 .
The list
Option
Use to
Condition
Specify the condition of the search parameter. See Fields and Conditions
Value
Type a value pertaining to the selected element field. For example, the value could
be a date for DateCreated or a text value for other fields. The search term can
contain multiple values separated by commas; see Fields and Conditions 133 .
Required
Select a particular field to generate a result set that must contain your search term in
that field.
Check All
Uncheck All
Deselect all the items to omit them from the search definition.
OK
Apply the filter. The fields selected are added to the search definition.
133
133 .
You can add multiple search definitions as necessary. Note that if you select the Required field in multiple
definitions the search rapidly becomes impractical. Multiple search definitions are better for 'and/or' searches.
See Also
Create Search Definitions
128
134
See Also
Create Search Definitions
Add Filters 132
128
135
To access the:
Email exchange server, click on the 'envelope' icon in the toolbar; the email login window displays
Web search engine (such as Google), click on the 'spyglass' icon in the toolbar; the search engine screen
displays
Home web site, after displaying other web pages, click on the 'house' icon in the toolbar.
To go directly to another website or email server (your internet security permitting), in the Address field type
or select the website http address and click on the Go button.
136
Enterprise Architect enables you to rearrange the windows and some menus to suit your work habits. For
example, you can:
Dock Windows 136
Autohide Windows
138
Floating Windows
To float a window anywhere on the screen, just drag the window by its title bar to the required position.
2. Drag the window onto a compass point. The screen display shades the area where the window is to be
placed.
3. Release the mouse button over the compass point to confirm the position; this docks the window.
In the example below, when the mouse button is released the Model Views window is docked into the shaded
area.
137
138
You can do this with all dockable windows. The following example shows the Testing, Project Browser,
Resources, Model Views and Tagged Values windows all in one frame.
To separate a window from a combined frame, click on the window tab at the bottom of the frame and drag it
away.
To turn off the autohide for a particular set of windows within a frame, click on the
button.
139
Hover the cursor over a window symbol to expand both the tab and the associated window.
Tip:
You can also use the View | Visual Style | Animate Autohide Windows menu option to animate windows
that have been automatically hidden.
A tear off menu can be dragged out of the menu structure into its own window. Simply click on the bar at the
top and drag it away. The menu detaches itself as shown here:
Once detached, the menu can also be docked in the toolbar section at the top of the screen, or on the edges
of the workspace.
140
Dockable Windows |
13 Dockable Windows
136
Project Browser 19
Properties 140
System 142
Testing (see Project Management with Enterprise Architect)
Maintenance (see Project Management with Enterprise Architect)
Enterprise Architect UML Toolbox 71
Resources 143
Source Code Viewer 145
Scripter window 148
Debug (see Visual Execution Analyser in Enterprise Architect)
Tasks Pane 168
Notes 160
Traceability 160
Tagged Values 162
Project Management 167
Output 168
Model Views 113
Element Browser 154
Relationships 157
Rules and Scenarios 158
Pan & Zoom 170
Layout Tools (see UML Modeling With Enterprise Architect - UML Modeling Tool)
Team Review 213
Diagram Filters 170 .
Tip:
If the text in a window panel is too small to read comfortably, click on it, press and hold [Ctrl] and use the
mouse wheel to expand and reduce the text size.
Note:
On the Testing, Maintenance and Project Management windows, any descriptive, history, input or results text
for a selected item is also displayed in the Notes window. You cannot edit this text in the Notes window.
141
Tip:
The Properties window can be a quick method of setting a single property (such as Phase or Status). To
access and edit all properties of an element, double-click on the element in a diagram or in the Project
Browser.
Properties Sections
The Properties window is divided into three expandable sections:
<Element type> Settings - for the basic element details
Project - for general housekeeping settings
Advanced - only active for generalizable elements.
Notes:
When you click on a field name, a brief explanation of that field displays at the bottom of the Properties
window, unless you have selected the Hide Properties Info Section 190 checkbox on the General page of
the Options dialog (as for the above screen illustration).
If you click on the field value for an editable field, a drop-down arrow displays that enables you to select a
different value.
142
143
Note:
Right-clicking in the System window displays a context menu that has options for filtering tasks/issues by
status, and glossary by term. You can also rearrange the sort-order by clicking in the title bar of the column
that the items are to be indexed on.
For more information concerning project tasks, issues and Glossary, see Project Management with Enterprise
Architect.
144
MDG Technologies, UML Profiles and UML Patterns provide a convenient way to insert complex new
elements and features without having to retype or reconfigure each element (see Extending UML With
Enterprise Architect)
Note:
From release 7.5 of Enterprise Architect, the method of importing MDG Technologies into the Resources
window is available but not recommended. However, you might previously have imported Technologies
into the Resources window, and these are still available until you specifically delete them (right-click on
the Technology and select the Delete Technology context menu option).
You can also synchronize the Tagged Values and constraints for any elements created from a profile
element in the Resources window (see Extending UML With Enterprise Architect).
Templates provides a range of templates for creating HTML (web) reports, RTF reports in either the legacy
report generator or the extended RTF report generator (see Report Creation in UML Models), linked
documents (see UML Modeling with Enterprise Architect UML Modeling Tool) and MDG Technology
reports; you can create, edit, copy and delete your own (model) templates, and view and copy systemsupplied or technology-supplied templates using context menu options
Documents provides a shortcut to saved RTF documents (see Report Creation in UML Models)
145
Tip:
To add a document to the shortcut list, select the Project | Documentation | Rich Text Format (RTF)
Report menu option. Once you have defined your document click on the Resource Document button and
type in a name. The document name then displays in the Resources window. By right-clicking on the
document name you can regenerate documents individually or as a batch, or open them directly from
Enterprise Architect. (See the Resource Documents topic in Report Creation in UML Models.)
Matrix Profiles provides quick access to saved Relationship Matrix profiles; double-click on a profile to
load the matrix with the saved settings and source-target packages (see UML Modeling with Enterprise
Architect UML Modeling Tool)
Favorites 145 provides a shortcut to elements that you configure as a shortcut
Stylesheets enables you to import XSL Style sheets, which are then available in the drop-down list on the
XML Export dialog.
Note:
If you select a style sheet on export, Enterprise Architect applies that style sheet to the XMI generated
before saving to file. This makes it convenient to generate other forms of output from the base XMI
content. Combined with UML Profiles, this is a powerful means of extending Enterprise Architect to
generate almost any content required.
13.3.1 Favorites
The Resources window contains a Favorites folder. Here you can hyperlink to any UML element from the
model as a whole, and conveniently drag and drop instances or links to this element into other diagrams. This
is particularly useful where certain elements - such as the list of Actors in a system - are re-used again and
again, and switching to the Actors folder is not convenient. In cases like this, using the Favorites folder makes
managing and creating your model much easier.
146
If you are editing an XML file, the structure tree is presented in a folder hierarchy rather than a Class structure
hierarchy, as follows:
147
External Files
If you intend to edit external code, XML and DDL files (that is, code not selected from the Project Browser) use
the File | Open Source File menu option, or press [Ctrl]+[Alt]+[O].
If you try to close the window or select another file, the editor prompts you to save your changes.
File Parsing
The Source Code viewer parses files for a number of reasons. The first is to enable it to jump to the location in
the file at which the currently selected item is found (but not when editing external files).
Additionally, parsing displays a structure tree showing an overview of the file in a similar fashion to the main
Project Browser. You can also select anything in that and jump to the appropriate line in the editor.
The viewer cannot parse DDL, and therefore does not show the structure tree for a DDL file.
Structure Tree - shows or hides the element hierarchy panel (the left panel of the Source Code viewer)
Line Numbers - shows or hides the line numbers against the lines of code
Source Code Engineering Properties - displays the Source Code Engineering page of the Options
dialog, from which you can configure display and behavior options for source code engineering
Editor Functions - provides quick access to the following functions:
Open Corresponding File - opens the header or implementation file associated with the currentlyopen file
Go to Matching Brace - for a selected opening or closing brace, highlights the corresponding
closing or opening brace in the pair
Go to Line - displays a small dialog on which you select the number of the line to highlight; click on
the OK button to move the cursor to that line
Cursor History Previous - the Source Code viewer keeps a history of the previous 50 cursor
positions, creating a record when the cursor is moved either more than 10 lines away from its
previous position, or in a find-and-replace operation; the menu option moves the cursor to the
position in the immediately-previous cursor history record
Cursor History Next - moves the cursor to the position in the immediately-following cursor history
record
Toggle Line Comment - comments out (//) or re-establishes the code for each full line in which text
1998-2010 Sparx Systems Pty Ltd
148
is highlighted
Toggle Stream Comment - inserts a stream comment (/* */) at the cursor position or comments out
the highlighted characters and lines, or re-establishes the commented text as code
Toggle Whitespace Characters - shows or hides the spacing characters: --> (tab space) and .
(character space)
Toggle EOL Characters - shows or hides the end-of-line characters: CR (carriage return) and LF
(line feed)
Save Source and Resynchronize Class - saves the source code and resynchronizes the Class
Code Templates - accesses the Code Templates Editor (see Code Engineering Using UML Models)
Find in Project Browser - for a selected line of code, highlights the appropriate structure in the Project
Browser; if there is more than one possibility the Possible Matches dialog displays, listing the occurrences
of the appropriate structure from which you can select the required one
Search in Files - searches for the selected object name in associated files and displays the results of the
search on the File Search window (see Visual Execution Analyzer in Enterprise Architect)
Search in Model - searches for the selected text throughout the model, and displays the results of the
search on the Model Search 121 window.
Go to Declaration - locates the declaration of a symbol in the source code
Go to Definition - locates the definition of a symbol in the source code (applicable to languages where
symbols are declared and defined in separate files e.g. C++, Delphi)
Autocomplete List - displays the autocompletion list of possible values; double-click on a value to select it
Parameter Information - when the cursor is between the parentheses of an operation's parameter list,
displays the operation's signature, highlighting the current parameter
Find Current Class in Project Browser - displays the name of the currently-selected Class in the code,
and highlights that name in the Project Browser; if there is more than one possibility the Possible Matches
dialog displays, listing the occurrences of the Class from which you can select the required one
Find Member - displays the name of the currently-selected attribute or method in the code, and highlights
that name in the Project Browser; if there is more than one possibility the Possible Matches dialog displays,
listing the occurrences of the feature from which you can select the required one.
Context Menu
See the Code Editor Context Menu
182
topic.
149
Scripts are managed in groups. The first group in the list is always Local Scripts, which are available to any
model. You cannot create, edit, drag-and-drop or delete these scripts. Local Scripts are files in the Scripts
subdirectory of the Enterprise Architect installation - any instance of Enterprise Architect that has a currently
open model can see these scripts.
All other groups are User Scripts, which you create yourself. A user group can be one of four types 152 , each
of which applies a template and certain conditions to the scripts you create within that group. User scripts are
only visible inside the model in which they were created; the contents of the scripts are stored with the model,
although they can be saved to the file system easily using the Script Editor 183 .
150
To execute a script, press [Ctrl] while you double-click on the script name.
To write or edit a user script, double-click on the script name to display the Script Editor 183 . This usually
displays a script template, determined by the user group type as assigned on the Script Group Properties
dialog 152 .
You can move or copy a script from one user scripts folder to another. To:
Move a script, highlight it in the Scripts tab and drag it into the user scripts folder it now belongs to
Copy a script, highlight it in the Scripts tab and press [Ctrl] while you drag it into the user scripts folder in
which to duplicate it.
151
Use to
Create a new script group. The new group is added to the end of the list in the Scripter window, with
the 'New group' text highlighted so that you can type in the group name.
Create a new script file in the selected script group; displays a short menu of the types of script you
can create, namely:
VBScript (
JScript (
)
)
JavaScript (
The new script is added to the end of the list in the selected group, with the 'New script' text
highlighted so that you can type in the script name.
Refresh the script tree in the Scripter window.
Compile and execute the selected script. The output from the script is written to the Script tab of the
Output window, which you display using the View Script Output button 151 .
Stop an executing script. The icon is disabled if no script is executing.
Delete a script from the model. You cannot use this icon to delete a script group (see the Context
Menu 151 section, below), scripts in the Local Scripts group, or a script that is executing.
Important:
The system prompts you to confirm the deletion only if the Confirm Deletes checkbox is selected
in the Project Browser panel of the General page 190 of the Options dialog. If this option is not
selected, no prompt is displayed. Script deletion is permanent - scripts cannot be recovered.
Display the Output window with the results of the most recently executed script displayed in the
Script tab.
Context Menus
The script groups and their scripts also have context menus that provide some or all of the following options:
Group Properties - to display or edit script group properties in the Script Group Properties 152 dialog
Run Script - to execute the selected script
Rename Script - to change the name of the selected group or script
New VBScript/JScript/JavaScript - add a new script to the selected user group
Import Workflow Script - to display the Browser dialog through which you locate and select a workflow
script source (.vbs) file to import into the Workflow script folder
Delete Group/Script - to delete the selected user group or script.
Note:
If you select to delete a script group that contains scripts, the system always prompts you to confirm the
action regardless of any system settings for delete operations. Be certain that you intend to delete the group
and its scripts before confirming the deletion - deletion of script groups and scripts is permanent.
152
The Script Group Properties dialog enables you to set the following properties of the script group:
Name - The name of the script group; the dialog also displays the automatically-assigned GUID of the
group
Group Type - The type of scripts contained in the group. This can be one of:
Normal - (
) Ordinary scripts
Project Browser - (
Script context menu
) Scripts that are listed in and can be executed from the Project Browser
25
Workflow - (
) Scripts executed by Enterprise Architect's workflow engine; you can create only VB
scripts of this type (see User Security in UML Models)
Search - (
) Scripts that can be executed as model searches
Search field of the Model Search window.
Notes - Your own notes on the script group.
121 ;
153
You type the commands in the field at the bottom of the tab; when you press the [Enter] key, the script
console executes the commands and displays any output immediately.
You can input two types of command:
Console commands
Script commands.
Console Commands
Console commands are preceded by the ! character and instruct the console to perform an action. The
available console commands are listed below; to list these commands on the Console tab itself (as shown
above) type? in the console field (without the preceding ! character) .
c(lear) - clears the console display
sa(ve) - saves the console display to a file
h(elp) - prints a list of commands, as for ?
VB - opens a VBScript console
JA - opens a JavaScript console
JS - opens a JScript console
st(op) - closes any script running console
i(nclude) name - executes the named script item; name is of the format GroupName.ScriptName (spaces
are allowed in names)
? - (without the !) lists commands
?name - Outputs the value of a variable name (only if a script console is opened).
Script Commands
A script command is script code that depends on the script engine. Script commands can be executed only
once a script console has been created.
Examples:
The following lines, entered into the console, create a VBScript console and then execute the script MyScript
in the user group MyGroup.
>!VB
>!i MyGroup.MyScript
The following lines, entered into the console, create a JScript console and then create a variable called x with
the value 1.
>!JS
>var x = 1
The following diagram shows the result of entering the above JScript example. Remember that you can use
?<variable name> to get the current value of any item you have created during the console session.
1998-2010 Sparx Systems Pty Ltd
154
155
156
The following properties are listed, where they are present in the element:
157
Operations (see the Work With Elements section of UML Modeling With Enterprise Architect - UML
Modeling Tool)
Attributes (see the Work With Elements section of UML Modeling With Enterprise Architect - UML Modeling
Tool)
Linked Features (Linked Operations and Attributes) (see the Work With Connectors section of UML
Modeling With Enterprise Architect - UML Modeling Tool)
Tagged Values 162
Constraints (see the Work With Elements section of UML Modeling With Enterprise Architect - UML
Modeling Tool)
Internal Requirements (Responsibilities) (see the Work With Elements section of UML Modeling With
Enterprise Architect - UML Modeling Tool)
Attached Files (see the Work With Elements section of UML Modeling With Enterprise Architect - UML
Modeling Tool)
Relationships (see the Work With Elements section of UML Modeling With Enterprise Architect - UML
Modeling Tool)
Scenarios (see the Work With Elements section of UML Modeling With Enterprise Architect - UML
Modeling Tool)
Maintenance Items (see Project Management With Enterprise Architect)
Testing Items (see Project Management With Enterprise Architect)
Project Management Items. (see Project Management With Enterprise Architect)
Notes:
If you double-click on the element name at the top of the dialog (the root node) the Properties dialog for the
element displays, at the General tab.
If you right-click on a folder name, the Edit <object> context menu option displays. When you select this
option, the appropriate window or dialog displays, or the element Properties dialog displays the appropriate
tab, to enable you to update the items in the folder.
If you double-click on an item within the Requirements, Scenarios or Constraints folders, the docked
window or view 158 displays with the focus on the selected item.
If you double-click on an item within the Relationships folder, the relationship Properties dialog displays for
that relationship.
If you double-click on an item within the Files folder, the file opens either on a separate tab in the Diagram
View workspace (if the file can be opened within Enterprise Architect) or in the default Windows viewer/
editor for the file type (if the file cannot be opened within Enterprise Architect).
If you double-click on an operation or attribute in the Operations or Attributes folders, the appropriate
Properties dialog displays.
If you right-click on an attribute or operation, whether in the Attributes or Operations folder or in the Linked
Features folder, a context menu displays that enables you to display the source code; alternatively, click on
the attribute or operation and press [Ctrl]+[E], or - in the Linked Features folder - double-click on the
attribute or operation.
The source code viewer in which the source code displays depends on which editor you select as the
default, either for the project as a whole or for a specific programming language (see Code Engineering
Using UML Models). If you select the Enterprise Architect internal editor, the code displays in the Source
Code Viewer 145 with the cursor positioned on the selected feature.
The right-click context menu for an operation also provides options to set a number of types of recording
marker (see Visual Execution Analyzer In Enterprise Architect).
158
For each connector, the connector type and target element are displayed. If a 'Yes' appears in the Target in
Diagram column, the target element is visible in the currently loaded diagram. This is useful when you are
dragging related elements from the relationships list onto the current diagram.
Double-click on a connector in the list to open the <connector type> Properties dialog, where you can edit the
connector attributes. Right-click on a connector to open the context menu.
You can locate the related element, view the related element properties or delete the connector. You can also
hide certain connectors from appearing in diagrams, and show hidden connectors (first example of the menu,
below).
If an element is not visible in the current diagram, the context menu has an option to place the selected
element in the current diagram (second example of the menu, below). This is useful when you are building a
picture of what an element interacts with, especially when reverse engineering an existing code base.
Tip:
In the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of
Enterprise Architect, with security on, the diagram and the source and target elements must be free for
editing before some of these options are available for use (see User Security in UML Models).
159
2. Either:
Click on the required item in the list panel on the left of the window, or
If the Element Browser 154 is not already displayed, click on the
icon and select the required
item from the Constraints, Requirements or Scenarios folder.
The appropriate screen displays, with the details of the selected item in the fields.
3. The toolbar icons, from left to right, enable you to :
Add a new rule to the current screen (click on the appropriate folder to create an item of a different
type)
Save the new or edited item
Save the current (edited) item as a new item
Delete the current item
Sort the contents of the selected folder into alphabetical order
(Print icon unavailable)
Display the Element Browser window, or highlight the current item in the Element Browser window
Switch between a docked window display and a workspace view display.
You can also add or edit formatted notes in the Notes field, using the Rich Text Notes
top of the field.
104
toolbar at the
The list panel also provides a context menu that provides options for adding a new item to a folder, deleting
the selected item or, for a requirement, converting an internal responsibility into an external Requirement
element (see Requirements Management).
160
If you open a diagram and click on the diagram background, the Traceability window lists all the elements in
the diagram. As above, you can expand the display for each individual element to show the relationships and
related elements for that element. This is useful, especially in large and complex diagrams, for exposing
threads through the diagram and indicating what might be impacted by changing or deleting the element or a
connector.
161
You can cut, copy, paste and delete text in the Notes window, or in any Notes or Description field that shows
the Rich Text Notes toolbar, using a right-click context menu. From the context menu, you can also select an
option to spell-check a highlighted word.
Tip:
You can also edit notes by double-clicking on an element or connector in a diagram or in the Project Browser,
to open the Properties dialog. Any formatting changes made in one display are reflected in the other.
Note:
On the Testing, Maintenance and Project Management windows, any descriptive, history, input or results text
for a selected item is also displayed in the Notes window. You cannot edit this text in the Notes window.
Glossary Entries
The Notes window or field also enables you to create a Project Glossary entry from text you have highlighted
in the window or field (see Project Management With Enterprise Architect). To create the Glossary entry, follow
the steps below:
1. Highlight the notes text to use as the Glossary definition (if suitable text is available), and press [Ctrl]
+[C] to copy it.
2. Highlight the text to use as the Glossary term, and right-click on it to display the context menu.
3. Select the Create | Glossary Definition menu option. The Glossary Detail dialog displays, with the
selected term in the Term field.
4. If you have copied some definition text, paste it into the Meaning field. Otherwise type a suitable
definition of the term in this field.
5. In the Type field, select the appropriate term type.
6. Click on the Apply button to save the new Glossary definition.
The term displays in the Notes text as a roll-over hyperlink (as shown in the above screen illustration) which,
when you move the cursor over it, displays the Glossary definition of the term.
Having created a glossary definition anywhere else in the model, you can insert the glossary term in the text of
the Notes window (or Notes panel of a dialog) as a rollover hyperlink to the definition. To do this:
1. In the Notes dialog, move the cursor to the point in the text at which to insert the glossary term.
2. Press [Ctrl]+[Space]. The glossary term selection list displays.
162
3. Double-click on the term to insert in the Notes text. The term is inserted as a rollover hyperlink to the
definition.
163
dialog.
163
Note:
Fully qualified Tagged Values can be displayed only if the Tagged Value was created in Enterprise Architect
release 7.1 or later. You cannot display the fully qualified path for Tagged Values from earlier releases.
The Tagged Values window is a dockable window. You can use it to perform the following actions:
Assign a Tagged Value to an Item 164
Modify Tagged Values 164
Assign Notes to a Tagged Value 165 .
A Technology Developer can also create new structured Tagged Values, reference data Tagged Values and
custom Tagged Values from predefined Tagged Value Types, as described in SDK for Enterprise Architect.
Description
Elements
Elements display their own Tagged Values along with any inherited values.
Object Instances
Object Instances display owned tags and those obtained from their classifier.
Ports and parts display information similar to objects and display Port/Part 'Type' instead
of a classifier. Tags are included for all parents and other structures of the Ports type.
Attributes
Include owned Tagged Values and those received from attribute type classifiers, with the
inclusion of any inherited ones.
Operations
Connectors
When over-riding an inherited property, Enterprise Architect copies the tag from the parent down to the child
element and sets the new value, leaving the original tag unchanged.
To edit Tagged Values, use the Tagged Values toolbar, as described below.
164
The Show in compartments button displays the Tagged Values in element compartments on diagrams
The Sort and Show Alphabetically button sorts the current Tagged Values for the element alphabetically
The New Tagged Value button adds a new tag, to which you assign a value
The Edit Tagged Value Notes button enables you to create notes that explain the purpose of the Tagged
Value
The Delete Tagged Value button removes the currently selected Tagged Value
The Default Tagged Value Types button enables quick access to tag definitions created in the
Configuration menu
The Tagged Value Options button enables you to show or hide the fully qualified paths for the Tagged
Values in the window, and to show duplicate Tagged Values
The Help button displays help relating to use of the Tagged Values window.
5. In the Tag field, type the tag name or click on the drop-down arrow and select the appropriate tag to
assign to the item.
Note:
Direct entry of predefined Tagged Values is only available for predefined tags of type string.
6. If appropriate, type a specific value for the tag in the Value field.
7. To confirm selection of the Tagged Value, click on the OK button.
165
Note:
To override a Tagged Value defined in a parent element, edit the value in the from <parentname>
compartment of the Tagged Values window. Once this has been done the tag is moved into the selected
element's Tagged Values; this does not affect the Tagged Values defined in the parent element.
166
5. In the Note field, type the information relating to the Tagged Value, then click on the OK button. The
information is displayed in the lower portion of the Tagged Values dockable window whenever the
Tagged Value is selected.
167
19
Right-click on the list to view the context menu, which enables you to add and delete list items.
For more information, see Project Management with Enterprise Architect.
Toolbar
These buttons have the following functions (in order as shown on the toolbar):
New: Create new item
Save: Save changes to an item
1998-2010 Sparx Systems Pty Ltd
168
You can drag suitable items out of the Output window and add them to diagrams.
Double-click on model validation errors or parsing errors to display the source of the error.
You can also right-click on an item and select context menu options to:
The Output window can also be used by Add-Ins, if they are configured to do so via the Automation Interface.
See SDK for Enterprise Architect.
169
Getting Started
Managing Requirements
Debug and Profile
Business Rule Modeling
Code Engineering.
The list of topic areas varies, and can include topics specific to any MDG Technologies being used with
Enterprise Architect (see Extending UML With Enterprise Architect).
To switch between the topic areas, either:
Click on the More Tasks option in the toolbar and select the required area from the list, or
Click on the left or right arrow buttons in the toolbar.
The 'Home' icon returns you to the Getting Started topic area.
170
icon to open appropriate topics from the Enterprise Architect Help file
icon to open web pages or documents on the Sparx Systems web site
icon to begin Enterprise Architect tasks appropriate to the Tasks Pane topic area; you must be in an
appropriate functional area of Enterprise Architect in order for these tasks to function, such as in an open
diagram
icon to begin Add-In tasks appropriate to the Tasks Pane topic area; you must be in an appropriate
functional area in order for these tasks to function
The selected information, web page or demonstration displays on a Browser tab in the main view, or the
appropriate task or report window opens.
The shaded box represents the viewed area on the open diagram. The toolbar provides the following functions
(in order):
Zoom In
Zoom Out
Zoom to fit diagram
Zoom to fit page
Zoom to 100%
Zoom Slider.
Move the cursor inside the window and hold down the mouse button to pan over the open diagram by moving
the shaded box. To zoom, use either the Zoom Slider or the buttons located on the tool bar.
171
2. In the Enter Filter Name field, type a name for the filter, then click on the OK button. The Diagram Filter
dialog displays, with the Search On field fixed on Element.
3. Scroll through the element properties to filter on, and select the checkbox against each property you
require.
4. For each property, click on the Condition field and select, from the drop-down list, the comparison
condition to be applied.
172
Edit a Filter
To edit an existing filter on the Diagram Filters window, either double-click on the filter name, click on it and
select the Properties icon from the toolbar (the second icon from the left), or right-click on the name and
select the Properties context menu option. The Diagram Filter dialog displays; adjust the filtered fields as
described above.
To just change the name of the filter, right-click on the name and select the Change Name context menu
option. The Create New Diagram Filter dialog displays. Type over the existing name with the new name, and
click on the OK button.
Enable a Filter
To enable a filter so that it takes effect on your diagrams, select the check box against the filter name.
To disable the filter, clear the checkbox.
To disable all filters, click on the Reload Filters icon in the toolbar (third option from the left), or right-click on
the list panel and select the Reload Filters context menu option.
Delete a Filter
To remove a filter from the Diagram Filters window, either click on the filter name and click on the Delete icon
in the toolbar, or right-click on the filter name and select the Delete Filter context menu option.
Code Editors |
173
14 Code Editors
Enterprise Architect provides a number of editors that you can use to maintain scripts, code and templates.
Specifically, these are the:
Each editor has its own features, but they are all based on a common Code Editor control.
The Code Editor provides a variety of functions to assist with the code editing process, including:
A range of these functions is available through keyboard key combinations and/or context menu options; see
the Code Editor Key Bindings 177 and Code Editor Context Menu 182 topics.
You can customize several of the Code Editor features by setting properties in the Code Editor configuration
files. For example, by default the line containing the cursor is always highlighted, but you can turn the
highlighting off. For more information see the Code Editor Configuration Guide located as a PDF file in the
Config directory under your Enterprise Architect installation directory.
Syntax Highlighting
The Code Editor highlights - in colored text - the standard code syntax of most language file formats supported
by Enterprise Architect, namely:
174
Code Editors |
HTML (.html)
Interface Definition Language (.idl, .odl)
Java (.java)
Javascript (.javascript)
JScript (.js)
Modified Backus-Naur Form Grammar (.mbnf)
PHP (.php, .php4, .inc)
Python (.py)
Standard Generalized Markup Language (.sgml)
Structured Query Language (.sql)
SystemC (.sc)
Visual Basic 6 (.bas)
VB.NET (.vb)
VBScript (.vbs)
Verilog (.v)
VHSIC Hardware Description Language (.vhdl)
Visual Studio Resource Configuration (.rc)
eXtensible Markup Language (.xml)
Bookmarks
Bookmarks denote a line of interest in the document. You can toggle them on and off for a particular line by
pressing [Ctrl]+[F2]. Additionally, you can press [F2] and [Shift]+[F2] to navigate to the next or previous
bookmark in the document.
In the following diagram, a bookmark has been set on line 17.
Cursor History
The Code Editor Control keeps a history of the previous 50 cursor positions. An entry in the history list is
Code Editors |
175
created when:
The cursor is moved more than 10 lines from its previous position
The cursor is moved in a find/replace operation.
You can navigate to an earlier point in the cursor history by pressing [Ctrl]+[-], and a to later point by pressing
[Ctrl]+[Shift]+[-].
Brace/Bracket Matching
When you place the cursor over a brace or bracket, the Code Editor highlights its corresponding partner. You
can then navigate to the matching brace by pressing [Ctrl]+[E].
Automatic Indentation
For each supported language, the Code Editor adjusts the indentation of a new line according to the presence
of control statements or scope block tokens in the lines leading up to the cursor position.
For more information on customizing automatic indentation for a language, see the Configuration
173
Guide.
Commenting Selections
For languages that support comments, the Code Editor can comment entire selections of code. The Code
Editor recognizes two types of commenting:
Line Commenting - entire lines are commented from the start (for example, // This is a comment)
Stream Commenting - sections of a line are commented from a specified start point to a specified end point
(for example, /* This is a comment */).
You can toggle comments on the current line or selection by pressing [Ctrl]+[Shift]+[C] for line comments, or
[Ctrl]+[Shift]+[X] for stream comments.
For more information on customizing selection commenting for each language, see the Configuration
section.
173
Scope Guides
If the mouse is placed over an indentation marker, the Code Editor performs a 'look back' to find the line that
1998-2010 Sparx Systems Pty Ltd
176
Code Editors |
started the scope at that indentation level. If the line is found and is currently on screen, it is highlighted in light
blue.
Alternatively if the line is off screen, a calltip is displayed advising of the line number and contents.
Zooming
You can zoom into and out of the contents of the Code Editor using [Ctrl]+mousewheel or [Ctrl]+keypad[+] /
[Ctrl]+keypad[-]. Zoom can be restored to 100% by using [Ctrl]+keypad[/].
Line Selection
If you want to move the cursor to a specific line of code, press [Ctrl]+[G] and, in response to the prompt, type
in the line number. Press the OK button. The editor displays the specified line of code with the cursor at the
left.
14.1 Intellisense
Intellisense is a feature that provides choices of code items and values as you type. Not all code editors use
intellisense; those that do are indicated by an asterisk in the list 173 of Enterprise Architect code editors.
Intellisense provides you with context-based assistance through autocompletion lists, calltips and mouseover
information.
Autocompletion List
An autocompletion list provides a list of possible completions for the current text. The list is automatically
invoked when you enter an accessor token (such as a period or pointer accessor) after an object or type that
contains members.
177
You can also invoke the autocompletion list manually by pressing [Ctrl]+[Spacebar]; the Code Editor then
searches for matches for the word leading up to the invocation point.
Select an item from the list and press [Enter] or [Tab] to insert the item into the code. To dismiss the
autocompletion list, press [Escape].
Calltips
Calltips display the current method's signature when you type the parameter list token (for example, opening
parenthesis). If the method is overloaded, the calltip displays arrows that you can use to navigate through the
different method signatures.
Mouseover Information
You can display supporting documentation for code elements (for example, attributes and methods) by
hovering the cursor over the element in question.
Description
[Ctrl]+[G]
178
Key
Description
[]
[Shift]+[]
[Ctrl]+[]
[Alt]+[Shift]+[]
[]
[Shift]+[]
[Ctrl]+[]
[Alt]+[Shift]+[]
[Ctrl]+[ [ ]
[Ctrl]+[Shift]+[ [ ]
[Ctrl]+[ ] ]
[Ctrl]+[Shift]+[ ] ]
[]
[Shift]+[]
[Ctrl]+[]
[Ctrl]+[Shift]+[]
[Alt]+[Shift]+[]
[]
[Shift]+[]
[Ctrl]+[]
[Ctrl]+[Shift]+[]
[Alt]+[Shift]+[]
[Ctrl]+[/]
[Ctrl]+[Shift]+[/]
[Ctrl]+[\]
[Ctrl]+[Shift]+[\]
[Home]
Key
Description
[Shift]+[Home]
[Ctrl]+[Home]
[Ctrl]+[Shift]+[Home]
[Alt]+[Home]
[Alt]+[Shift]+[Home]
[End]
[Shift]+[End]
[Ctrl]+[End]
[Ctrl]+[Shift]+[End]
[Alt]+[End]
[Alt]+[Shift]+[End]
[Page Up]
[Shift]+[Page Up]
[Alt]+[Shift]+[Page Up]
[Page Down]
[Shift]+[Page Down]
[Alt]+[Shift]+[Page Down]
[Delete]
[Shift]+[Delete]
Cut selection
[Ctrl]+[Delete]
[Ctrl]+[Shift]+[Delete]
[Insert]
Toggle overtype
[Shift]+[Insert]
Paste
[Ctrl]+[Insert]
Copy selection
[Backspace]
[Shift]+[Backspace]
[Ctrl]+[Backspace]
179
180
Key
Description
[Ctrl]+[Shift]+[Backspace]
[Alt]+[Backspace]
Undo delete
[Tab]
[Ctrl]+[Shift]+[I]
[Shift]+[Tab]
[Ctrl]+keypad[+]
Zoom in
[Ctrl]+keypad[-]
Zoom out
[Ctrl]+keypad[/]
Restore Zoom
[Ctrl]+[Z]
Undo
[Ctrl]+[Y]
Redo
[Ctrl]+[X]
Cut selection
[Ctrl]+[C]
Copy selection
[Ctrl]+[V]
Paste
[Ctrl]+[L]
Cut line
[Ctrl]+[Shift]+[L]
Delete line
[Ctrl]+[T]
Transpose line
[Ctrl]+[Shift]+[T]
Copy line
[Ctrl]+[A]
[Ctrl]+[D]
Duplicate selection
[Ctrl]+[U]
[Ctrl]+[Shift]+[U]
[Ctrl]+[E]
[Ctrl]+[Shift]+[E]
[Ctrl]+[Shift]+[C]
[Ctrl]+[Shift]+[X]
Key
Description
[Ctrl]+[F2]
Toggle bookmark
[F2]
Go to next bookmark
[Shift]+[F2]
Go to previous bookmark
[Ctrl]+[Shift]+[W]
[Ctrl]+[Shift]+[L]
[Ctrl]+[Spacebar]
Invoke autocomplete
[Ctrl]+[-]
[Ctrl]+[Shift]+[-]
[F12]
[Ctrl]+[F]
Find text
[Ctrl]+[R]
Replace
181
182
The first six context menu options provide simple editing functions. Other options on the menu can vary
depending on which editor 173 you are using, but should include most or all of the following:
Search for '<string>' - Displays a submenu that enables you to locate the search string in a range of
locations:
Find in Project Browser finds the object containing the selected text in the Project Browser
Go to Declaration locates the declaration of a symbol in the source code
Go to Definition locates the definition of a symbol in the source code (applicable to languages
where symbols are declared and defined in separate places e.g. C++, Delphi)
Search in Open Files opens the Visual Execution Analyzer File Search facility (see Visual
Execution Analyzer in Enterprise Architect), then searches for the selected text string in other code
files of the same type and in the same folder as the current file that are open, displaying the results
in Tree View; you can change the folder path, search text and file type as required within the File
Search window
Search in Files performs the same search as Search in Open Files, except that the search is in all
comparable files whether they are open or not
Search in Model performs an Element Name 131 search in the Model Search 121 facility, and
displays the results on the Model Search tab
EA User Guide displays the description of the code item in the Enterprise Architect User Guide
Google displays the results of a search on the text from a Google search
MSDN displays the results of a search on the text in the Microsoft Developer Network (MSDN)
Sun Java SE displays the results of a search on the text in the Sun Microsystems 'Sun Search'
facility
Wikipedia displays any entry on the object on the Wikipedia web site.
183
Note:
The options in the lower half of the menu (after Search in Model) are configurable. You can add
new search tools or remove existing ones by editing the searchProviders.xml file in the Sparx
Systems > EA > Config folder. This file is in OpenSearch description document format.
Open (Close) IME - opens the Input Method Editor to enable you to enter text in your selected foreign
language script (such as Japanese); you set the keyboard language using the Windows Control Panel Regional and Language Options facility
Line Numbers - shows or hides the line numbers against the lines of code
Structure Tree - (in the Source Code viewer only) shows or hides the element hierarchy panel.
Script Editor
If you select the Search for '<string>' context menu option while working in the Script Editor
different submenu displays:
183 ,
a slightly
The Search in Scripts option opens the Execution Analyzer File Search facility, setting the Search Path field
to Search in Scripts and the Search Text field to the selected text, then searching all scripts for the text
string and displaying the results of the search in Tree View.
149 .
The
The VBScript example below is a script that iterates all the packages in the current model and prints their
names.
Note:
In the example, note the syntax of declaring variables representing Enterprise Architect's script objects. This
syntax enables the editor to present intellisense 184 , but is not necessary for executing the script.
184
EA
MathLib
System
The runtime scripting objects (below).
185
is not necessary to use this syntax to execute a script properly. It is only present so that the correct intellisense
can be displayed for an item. The syntax can be seen in the above diagram in, for example:
Dim e as EA.Element
Then, when you type, in this case, e. the editor displays a list of member functions and properties of e's type.
You select one of these to complete the line of script. You might, therefore, type:
VBTrace( e.
As you type the period, the editor presents the appropriate list and you might double-click on, for example,
Abstract. This is inserted in the line, and you continue to type or select the rest of the statement. In this case,
adding the end space and parenthesis.
VBTrace( e.Abstract )
Keystrokes
In the Script Editor or Console, intellisense is presented on the following keystrokes.
Press [.] (period) after an item to list any members for that item's type.
Press [Ctrl]+[Spacebar] on a word to list any intellisense items with a name starting with the string at the
point keystroke was pressed.
Press [Ctrl]+[Spacebar] when not on a word to display any available top level intellisense items - these
are the intellisense objects described above plus any built-in methods and properties of the current
scripting language.
186
The Quick Linker provides a simple and fast way to create new elements and connectors on a diagram. When
an element is selected in a diagram, the Quick Linker arrow is displayed at the upper right corner of the
element, as shown below:
Simply clicking and dragging the icon enables you to create new connectors and elements on a diagram, as
explained in the following topics:
Create New Elements 186
Create Connectors 188
The connectors and elements suggested by the Quick Linker are the commonest objects appropriate to the
context. You can select others from the Enterprise Architect UML Toolbox pages. Also, a Technology
Developer can edit the lists of elements and connectors, and create new combinations. For further
information, see SDK for Enterprise Architect.
2. Drag the Quick Linker arrow onto an empty area of the diagram.
187
3. Use the Quick Linker context menu to select the type of element and connector to create.
Tips:
Press and hold [Shift] while selecting the type of connector to select an existing classifier as the target.
For rapid modeling, you can suppress the Properties dialog when creating new elements. See the option
Tools | Options | Objects | Edit Object on New.
Note:
The available Quick Linker options depend on the type of element selected. For example, the Quick Linker
options for a Class (above) differ from those of an Actor (below). These are the most appropriate, commonly
used elements and connectors for the source element; you can create other target elements and connectors
by selecting them from the appropriate Toolbox page.
188
2. Drag the Quick Linker arrow onto another element in the diagram.
3. Release the mouse button and use the Quick Linker context menu to select the type of connector.
Notes:
The list of connectors provides the most appropriate, commonly-used connectors for the source and target
element types. If you want to use a different connector, select the appropriate Toolbox page, click on the
required connector and then on the source element, and drag across to the target element.
The connector does not actually establish until you release the mouse button over the target element.
However, a dotted line shows where the connector would be at any point, and the solid outline of the
nearest element or extension changes to a hatched outline as you move the cursor onto it; this helps you
identify where the connector will connector to, if there are many closely-arranged elements, Parts, Ports
and other extensions.
You can also bend the connector, pressing [Shift] as you drag the cursor in a new direction.
189
You can configure various settings using the Options 189 dialog, which you display by selecting the Tools |
Options menu option. In addition, there are several options to change the overall look and feel of Enterprise
Architect 207 in the View | Visual Style submenu. Those settings and options are explored in this topic.
On occasion, you might want to use Enterprise Architect for two distinct types of operation at the same time.
You can do this by adding the following command line argument when you run Enterprise Architect:
/regkey:<regkeyname>
This stores registry settings - such as window layouts - to a different path in the registry.
See Also
Workspace Layouts
100
Most of these settings are stored in your registry so they are set for your use only. For a networked workplace,
registry settings can be copied down to any network workstation you log in to. Otherwise, the settings are valid
for the current machine only.
190
Python
Visual Basic
VB.Net
Note:
The options in the second and third columns above, and additional defaults and settings, are discussed
under the various code generation and import/export topics in Code Engineering Using UML Models.
16.1.1 General
The General page of the Options dialog is shown below:
Option
Use to
Author
Set the default author when new elements are created and modifications
made.
Clipboard Format
Set the graphic format in which to save image to the clipboard; Metafile
has the best detail.
191
Option
Use to
Double-click on Browser
Set JET 4.0 as the database engine; this ensures compatibility with .EAP
files that are in turn compatible with versions of MS Access later than
Access 97.
Enable you to use customized rich text format code in report templates
when generating reports with the Legacy RTF Report Generator.
21
From release 7.0 of Enterprise Architect, with the Rich Text Notes
facility, this option is not really necessary.
104
Project Directory
File Directory
Web Home
Specify the default home page to open when you click on the Home
button in the internal web browser 135 .
Web Search
Specify the default web page to open when clicking on the Web Search
button in the internal web browser 135 .
Web Mail
Confirm Deletes
Use or bypass the Confirm Delete dialog; only clear this checkbox if you
are an experienced user!
Show Stereotypes
Display the docked window tabs at the bottom of the window (default).
Clear the checkbox to show the tabs at the top of the windows.
Display the diagram tabs at the bottom of the main view (default). Clear
the checkbox to show the tabs at the top of the main view.
192
To display the range of colors available for an item, or define a new color, click on the down arrow at the end
of the appropriate field. The selection pallet displays.
Click on the required color. This sets the field on the Standard Colors page to the selected color.
If you require a wider selection of colors, click on the Other button and select from the color chart, or
customize a color using RBG/HSL codes.
If you decide to reset the color to the system default, click on the Default button.
Option
Use to
Paper
Element Fill
Element Line
Shadow
Attribute
Method
193
Option
Use to
Note Color
Screen
Connector Line
Behavior
Enable use of project custom colors; for more information on setting and
getting the custom colors see the Get and Set Project Custom Colors topic
in UML Modeling with Enterprise Architect UML Modeling Tool.
Notes:
Using this page of the Options dialog, you can set the background of all diagrams to be a specific color.
You can also use the Diagram Appearance 195 page to set all diagram backgrounds to be either a uniform
color or to have a fade gradient from top to bottom. Alternatively, you can create a background image for
the diagram; see the Create Custom Diagram Background topic in UML Modeling with Enterprise Architect
UML Modeling Tool.
To override the default appearance of a specific element on all diagrams on which it is found, right-click on
the element and select the Appearance | Default Appearance context menu option. The Default
Appearance dialog displays. See UML Modeling with Enterprise Architect UML Modeling Tool.
To change the appearance of a specific element on the current diagram only, use the Format 99 toolbar
99 . If the Format toolbar is not displayed, select the View | Toolbars | Format Tool menu option.
16.1.3 Diagram
The New Diagram Defaults page of the Options dialog enables you to configure overall options for new
diagrams and general diagram behavior.
194
Option
Use to
Show the default page size for new diagrams, which you set by clicking on
the Page Setup button to display the Page Setup dialog.
Landscape
Display the diagram details in the top left corner of all diagrams in the model.
Details include diagram name, package, version and author.
Specify where opaque diagram labels should display. Screen and Printing
are best, Clipboard and Files might not be desirable.
Enforce compliance with UML syntax when adding new connectors and other
structures.
Turn on auto-panning using the middle mouse button. With this option off, the
middle mouse button causes a different type of panning.
Set an image memory limit when generating images for RTF or HTML and
when saving images to file. It is important when you have very large diagrams,
as it affects the point at which Enterprise Architect starts to scale down the
image; a low memory setting means it scales the image sooner.
Diagram Frames
195
16.1.3.1 Appearance
The Diagram Appearance page of the Options dialog enables you to define how diagrams and their contents
appear on display.
Option
Use to
Renderer
196 .
Scale view by
196
Option
Use to
Print in Color
Print your diagrams in color. Deselect the checkbox to print the diagrams in
black and white.
Anti-aliased text
Element Shadows On
Display a shadow around the bottom and right edges of each element in a
diagram.
Use different text format when external metafile readers are causing issues.
Use Watermark
Text
Show Gradient Fill for Paper Switch between having a color gradient in the diagram background, or
having a solid, uniform background color.
Color
Gradient Fill Direction For
an Element
Select the direction for the color gradient within element boxes, or <none>
for no color gradient.
197
2. To set a model font, in the Font Face field of the Model Font panel, click on the drop-down arrow and
select the appropriate typeface.
3. In the Font Size field, click on the drop-down arrow and select the required font size.
4. To clear a model font so that the user font takes effect, click on the Clear button. (Ensure that this is
acceptable to all other team members.)
5. To set a user font, in the Font Face field of the User Font panel, click on the drop-down arrow and
select the appropriate typeface.
6. In the Font Size field, click on the drop-down arrow and select the required font size.
7. To return the user font to the Enterprise Architect default (Arial 8), click on the Restore Defaults button.
8. To save the changes, click on the OK button.
Both model and user fonts are overridden by specifically-defined element fonts, so that the element is viewed
as designed regardless of the model or user defaults. To define the font for a specific element, right-click on
the element in a diagram and select the Appearance | Set Font context menu option. See UML Modeling with
Enterprise Architect UML Modeling Tool.
If you cannot read the diagrams because the default font makes the objects and text too small, you can scale
up all objects (that is, all diagram displays) to a more readable size. Everything on the diagram is enlarged to
the same extent, so it remains in proportion and readable. To do this, return to the Diagram Appearance page
of the Options dialog and enter a suitable percentage value in the Scale view by 195 field.
198
16.1.3.2 Behavior
The Diagram Behavior page of the Options dialog enables you to define how a diagram responds to actions
taken on it.
Option
Use to
Auto Instance
Automatically create object instances when dragging certain element types such as Class and Component - from the Project Browser, with the dragged
element as the classifier.
Display any parents of elements in the diagram that are not part of the
diagram.
Also move visually composed elements when moving diagram nodes. A node
is considered composed if it is contained by the moved element and has a
higher z-order. Press and hold [Alt] whilst moving an element to toggle this
option.
Shift-Mouse Autoscroll
Enable you to press and hold [Shift] and use the mouse to autoscroll around
Option
199
Use to
diagrams.
Use Automatic
SubActivities
Show a hatch border around a selected element. See UML Modeling with
Enterprise Architect UML Modeling Tool.
Show Grid
Grid Size
Specify the grid size, if you have selected Objects Snap to Grid.
Auto Tidy
Automatically tidy line angles for custom connectors. This 'nudges' the custom
line into horizontal and vertical increments. See UML Modeling with Enterprise
Architect UML Modeling Tool.
Specify the amount Enterprise Architect should enable you to move a line
away from horizontal and vertical when you are tidying lines for custom
connectors. (See Auto Tidy above and UML Modeling with Enterprise
Architect UML Modeling Tool).
Alias only
Display the alias instead of the element name on elements with aliases.
Display both the element name and the Alias in the format (Alias) name.
16.1.3.3 Sequence
The Sequence page of the Options dialog enables you to configure various font settings and the focus of the
control indicator for Sequence diagrams.
200
Option
Use to
Message Spacing
Specify the vertical gap (in points) between Sequence messages (can be
overridden manually by dragging a message up or down).
Show Sequence
Numbering
Default concurrency is
Asynchronous
Width
Select the line width (in points) of the 'focus of control' rectangle (thick part of
lifeline).
GarbageCollect
Automatically truncate lifelines for created elements after the last message
(that is, assume garbage collect rather than explicit delete).
Name
Display the MS Windows Font dialog (click on [ ... ]) and define the font of the
caption bar heading (above your diagram); this is particularly useful for nonEnglish character sets.
Size
Specify the size of the heading font (this overrides the font size in the Font
dialog, above).
Use System
201
16.1.4 Objects
The Objects page of the Options dialog enables you to configure how elements look and respond in diagrams.
Option
Use to
Version
Phase
Highlight References
Reference Char(s)
Prefix/Suffix
Enable or hide the warning message that a Class, operation or attribute name
has embedded spaces (which can cause coding problems).
Show or hide a code letter in the top right corner of Requirement (E, for
external), Change (C) and Issue (I) elements.
Enable you to drag child elements onto parent elements in a diagram, and
automatically embed them (and drag embedded child elements out of parent
elements, breaking the child-parent relationship). See UML Modeling with
Enterprise Architect UML Modeling Tool.
Auto-resize marks
diagram 'dirty'
202
Option
Use to
Highlight {abstract}
elements
Highlight abstract elements with a suitable tag {abstract} in the top right of the
Class.
Stretch Use Cases or Use Case extension points with long names to enable
space for the name. If you deselect the checkbox, Use Case re-sizing is
proportional.
Enable color coding for Requirements and similar elements. See UML Model
Management.
Show buttons for selected Display the floating toolbar buttons to the left of the selected object. For
example:
Object on diagram
Show column
stereotype
Extend Complexity
Use UML 1.5 components (Enterprise Architect versions 4.0 and later support
UML 2.x).
Show or hide the State Compartment divider under the state name.
Group Operations by
Stereotype
Group Attributes by
Stereotype
Sort Features
Alphabetically
Disable spelling
Advanced
202
203
16.1.5 Links
The Links page of the Options dialog shown below provides options for the creation, behavior and notation for
connectors.
Option
Use to
General
Edit Connector on New
204
Option
Use to
source element. When deselected (the default), these connectors are
drawn from source to target.
Note:
All tools have the parent as the target and the child as the source of
the connector, that is a requirement of UML; only the direction in
which you drag the mouse to draw the connector is changed.
Ensure that the role and scope are not displayed on the diagram.
Default Style
Pen Width
Routing
Quick Linker
Enable
186 .
Show Help
Add a 'help' menu option to the end of the Quick Linker menu.
Change the position of the dashed guide line for new connectors.
205
Select the Use Communication Message Coloring checkbox to turn on colored messages.
Click on the down arrow in each color field, and click on the appropriate color for the message group. Set the
color sequence as required; the pattern repeats after 8 sequence groups.
206
Option
Use to
Editor
Set the default editor for any XML documents you open within Enterprise
Architect.
Write Log
Set whether or not to write to a log file when you import or export XML.
Use DTD
Export Diagrams
Set whether or not to export the alternative images used in the model when you
export to XML. (See UML Modeling With Enterprise Architect - UML Modeling
Tool.)
Note:
If this option is set, and you have packages in your model under version
control, then any alternative images used in those packages are also exported
to the version control repository when you check in the packages.
In this case, you would only select the checkbox if the alternative images are
subject to frequent change. Otherwise, do not select this option and instead
use Export/Import Reference Data to manage alternative images. (See UML
Model Management.)
Code Page
Set the Code Page to use; setting a NULL encoding string results in the
encoding tag being entirely omitted from the XML output. Click on the Default
Option
207
Use to
button to restore the setting to the default Code Page.
Set whether or not to export diagrams as images when you export XML.
Image Type
Prefix EA Tagged Values Set whether or not to prefix any Enterprise Architect Tagged Values within any
XMI 1.0 you create, with ea$.
in XMI 1.0 with ea$
Update Last Save Time
in Controlled Packages
Set whether to update the timestamp of the last time controlled packages were
saved.
Define the default XML directory to use when importing and exporting XML.
2. Select the required style from the list. If you select the Microsoft Office 2007 radio button, you can also
select from a number of base-color options.
3. To try out styles, click on the Apply button. To set the style and resume work, click on the OK button.
You can also enable customization
66
138
windows.
208
Keyboard Shortcuts |
17 Keyboard Shortcuts
The table below lists the default keyboard shortcut functions within Enterprise Architect. You can also display
the key combinations on the Help Keyboard dialog (or Keyboard Accelerator Map 212 ).
If necessary, you can change these keyboard shortcuts using the Keyboard tab of the Customize
Function
Shortcut
Category
[Ctrl]+[N]
File
[Ctrl]+[O]
File
[Ctrl]+[Alt]+[O]
File
[Ctrl]+[Shift]+[F11]
File
[Ctrl]+[P]
File
Undo Change
[Ctrl]+[Z]
Edit
Redo Change
[Ctrl]+[Y]
Edit
[Ctrl]+[Space]
Edit
[Ctrl]+[Shift]+[Insert]
Edit
[Ctrl]+[Shift]+[V]
Edit
[Shift]+[Insert]
Edit
[Shift]+[Space]
Edit
[Delete] or
[Ctrl]+[D]
Edit
[Ctrl]+[Delete]
Edit
[Ctrl]+[F]
Edit
[Ctrl]+[Shift]+[0]
Window
[Ctrl]+[Shift]+[F4]
Window
[Ctrl]+[F4]
Window
[Alt]+[0]
View
[Alt]+[1]
View
[Alt]+[2]
View
[Alt]+[3]
View
[Alt]+[4]
View
[Alt]+[5]
View
[Alt]+[6]
View
[Alt]+[7]
View
[Alt]+[8]
View
[Ctrl]+[Shift]+[1]
View
64
dialog.
Keyboard Shortcuts |
Function
Shortcut
Category
[Ctrl]+[Shift]+[2]
View
[Ctrl]+[Shift]+[3]
View
[Ctrl]+[Shift]+[4]
View
[Ctrl]+[Shift]+[6]
View
[Ctrl]+[Shift]+[7]
View
[Ctrl]+[Shift]+[8]
View
[Ctrl]+[Shift]+[9]
View
[Ctrl]+[Shift]+[N]
View
[Ctrl]+[Alt]+[A]
View
[Ctrl]+[Alt]+[R]
View
[Ctrl]+[Alt]+[U]
View
[Ctrl]+[Alt]+[W]
View
[Alt]+[9]
View
[Ctrl]+[W]
Project
[Ctrl]+[Insert]
Project
[Ctrl]+[M]
Project
[F8]
Project
[Shift]+[F8]
Project
[Ctrl]+[Shift]+[F8]
Project
[Ctrl]+[Alt]+[K]
Project
[Ctrl]+[Alt]+[M]
Project
[Ctrl]+[Shift]+[U]
Project
[Shift]+[F12]
Project
Build
[Ctrl]+[Shift]+[F12]
Project
Test
[Ctrl]+[Alt]+[T]
Project
Run
[Ctrl]+[Alt]+[N]
Project
Deploy
[Ctrl]+[Shift]+[Alt]+[F12]
Project
Debug Run
[F6]
Project
Step Into
[Shift]+[F6]
Project
Step Over
[Alt]+[F6]
Project
Step Out
[Ctrl]+[F6]
Project
Debug Stop
[Ctrl]+[Alt]+[F6]
Project
[Ctrl]+[H] or
Project
209
210
Keyboard Shortcuts |
Function
Shortcut
Category
[Ctrl]+[Alt]+[F]
Transform current package
[Ctrl]+[Shift]+[H]
Project
Validate Selected
[Ctrl]+[Alt]+[V]
Project
[Ctrl]+[Shift]+[L]
Project
[Ctrl]+[Alt]+[P]
Project
[Ctrl]+[Alt]+[I]
Project
[Ctrl]+[Alt]+[E]
Project
[Ctrl]+[Alt]+[C]
Project
Manage Baselines
[Ctrl]+[Alt]+[B]
Project
Diagram properties
[F5]
Diagram
Save
[Ctrl]+[S]
Diagram
[Ctrl]+[T]
Diagram
[Ctrl]+[B]
Diagram
Visible Relations
[Ctrl]+[Shift]+[I]
Diagram
[Shift]+[Alt]+[G]
Diagram
[Shift]+[F3] or [Ctrl]+click
Diagram
[F3]
Diagram
Element Properties
[Alt]+[Enter]
Element
[Ctrl]+[Shift]+[T]
Element
Linked Document
[Ctrl]+[Alt]+[D]
Element
[F9]
Element
[F10]
Element
[Alt]+[-]
Element
[Alt]+[=]
Element
Add attribute
[Ctrl]+[Shift]+[F9]
Element
Add operation
[Ctrl]+[Shift]+[F10]
Element
[Ctrl]+[F11]
Element
[Alt]+[Z]
Element
[Ctrl]+[G] or [F11]
Element
[Shift]+[], [], [] or
[]
Element
[Ctrl]+[Alt]+[Down]
Element
[Ctrl]+[Alt]+[Up]
Element
Keyboard Shortcuts |
Function
Shortcut
Category
[Ctrl]+[Alt]+[Left]
Element
[Ctrl]+[Alt]+[Right]
Element
[Ctrl]+[Shift]+[E] or [F4]
Element
Edit selected
[F2]
Element
[Ctrl]+[Shift]+[B]
Element
[Insert]
Element
Locate in browser
[Alt]+[G]
Element
New element
[Ctrl]+[M]
Element
[Ctrl]+[E] or [F12]
Element
Operation
[F10]
Element
[Ctrl]+[Shift]+[O]
Element
[Alt]+[ Enter]
Element
[Ctrl]+[Shift]+[W]
Element
[Ctrl]+[Shift]+[Y]
Element
[Ctrl]+[I]
Element
[Ctrl]+[J]
Element
[Ctrl]+[Shift]+[J]
Element
[Ctrl]+[U]
Element
[Enter]
Element
[Shift]+[F9]
Tools
[Ctrl]+[F9]
Tools
[Ctrl]+[Shift]+[F7]
Tools
[Ctrl]+[F7]
Tools
[Ctrl]+[Shift]+[P]
Settings
[Ctrl]+[Alt]+[H]
Settings
Element notes
[Ctrl]+[1]
Element notes
[Ctrl]+[B]
Element notes
[Ctrl]+[I]
Element notes
[Ctrl]+[U]
Element notes
Copy text
[Ctrl]+[C]
Everywhere
Paste text
[Ctrl]+[V]
Everywhere
[Ctrl]+[X]
Everywhere
145
in default editor
211
212
Keyboard Shortcuts |
To list the shortcuts in a particular category (see the Command column in the above table), click on the dropdown arrow in the Category field and select the appropriate category.
Team Review |
213
18 Team Review
The Enterprise Architect Project Team Review facility can be used to discuss the development and progress
of a project.
To access the Team Review, either:
Select the View | Team Review menu option, or
Press [Ctrl]+[Alt]+[U].
222 ,
to
As well as linking elements and diagrams to a Post, you can also add resources 221 to a Category, Topic or
Post. Such resources, which include diagram images and XMI files of packages, are held in a Resources
folder under the selected Team Review item.
The icons beside the review items have the following meanings:
Post read
Post unread
Reply read
Reply unread
214
Team Review |
Use to
New Category
New Topic
New Post
new Topic
217
or new Post
217
Alternatively, for a Topic or Post, click on the New icon in the window toolbar.
216 ,
Create a reply
219
216 ,
new Topic
217
or new Post
217 ,
based on a defined
Show Contents
Display the description or text of the selected item in the Team Review window,
if the Team Review tab is not yet open.
Share Resource
222
221
folder is selected.)
(If a Resources
221
folder is selected.)
Export a package as an XMI file from the current model as a resource of the
selected Category, Topic or Post.
You browse for and select the required package using the Select <item> dialog.
(See the Working With Elements section of UML Modeling With Enterprise
Architect - UML Modeling Tool.)
(If a Resources
221
folder is selected.)
Option
215
Use to
Category, Topic or Post.
You are prompted to provide a reference name for this image.
(If a Resources
221
folder is selected.)
(If a Resources
221
folder is selected.)
221
is selected.)
Open the View Image window, containing an image of the selected diagram.
Alternatively, double-click on the image name.
Copy Image To
Clipboard
Refresh the currently-open Category, Topic or Post, getting new replies, Posts
and Topics that other users might have created. However, if you open another
Category, Topic or Post the Team Review always displays the latest information
from the database.
221
is selected.)
Reload the entire Team Review connection, getting new Categories, Posts and
Topics.
Review Status
Assign or clear a status marker against the selected Category, Topic or Post.
You can mark the item as:
Awaiting Approval
Approved
Rejected
Or clear the marker (None).
Mark
Connections...
223
Delete 219 this Category, Topic, Post or reply and all sub-topics and sub-posts,
or delete the resource attached to the item.
223
213 .
213 .
216
Branch as Read
Branch as Unread
'xyz' as Unread
213 .
214
2. Type the name of the Category in the field just after the icon, and click off the name. The Category
description is displayed in the Team Review tab. Type the appropriate Category description as required.
Alternatively:
1. Right-click on a blank area in the Team Review window and select the New Category from template
context menu 214 option. A new Category icon displays in the hierarchy.
2. Type the name of the Category in the field just after the icon, and click off the name. The Create New
Category dialog displays.
3. Click on the Copy template drop-down arrow and select a predefined template for the Category
description.
4. Click on the OK button.
5. The Category description is displayed in the Team Review tab. Amend the Category description within
the template, as required.
The Category is now available to add new topics
217 .
217
2. Type the name of the Topic in the field just after the icon, and click off the name. The Topic description
is displayed in the Team Review tab. Type the appropriate Topic description as required.
Alternatively:
1. Right-click on the appropriate Category name in the Team Review window and select the New Topic
from template context menu 214 option. A new Topic icon displays in the hierarchy.
2. Type the name of the Topic in the field just after the icon, and click off the name. The Create New Topic
dialog displays.
3. Click on the Copy template drop-down arrow and select a predefined template for the Topic
description.
4. Click on the OK button.
5. The Topic description is displayed in the Team Review tab. Amend the Topic description within the
template, as required.
The topic is now available for you or any other user to create Posts
Review window.
217
218
219 .
Blank Post
To create a blank message into which you can type text exactly as you require, follow the steps below:
1. Either:
Right-click on the appropriate Topic name in the Team Review window and select the New Post
context menu 214 option, or
Click on the Topic name and on the New icon in the Team Review toolbar, or
Click on the Topic name and press [Ctrl]+[N].
A new Post icon displays in the hierarchy.
2. Type the name of the Post in the field just after the icon, and click off the name. The Post text is
displayed in the Team Review tab.
3. Click on the Copy template drop-down arrow and select a predefined template for the Post contents.
4. Click on the OK button.
5. The template structure is displayed in the Team Review tab.
219
2. Click on the file name and drag it onto the appropriate Topic name in the Team Review window.
A 'New Post' item is created underneath the selected Topic, and the body of the Post is created in the Team
Review tab. A link to the source file is created at the start of the message.
You can create and edit text around the file link, and add further links if required. You should also rename the
'New Post' item, by clicking twice on it.
You can also create links to 221 elements and diagrams in the Project Browser, Model Search 121 dialog,
Model Views 113 window and Element List 108 , or you can add related Team Review Categories, Topics or
Posts. You can also insert other links to external files, either in the text of the Post or in the links panel.
Other users can reply to the Post and to your response.
220
If it is just the name of the item that requires changing, click on the name and press [F2]. You can now retype
the name in place.
220
216
and
The editor provides a set of standard functions that you access by right-clicking on the text, to display a
hierarchy of context menus. The following topics (in Report Creation in UML Models) provide assistance on
using the Team Review Editor.
When you have completed your editing, select the File | Save menu option and then click on another item in
the Team Review window to exit the message.
221
The text is saved in the Team Review item. To display the text in the Team Review tab, click on the item once.
To access the navigation options of each object in the linked elements section, right-click on the object to
display the navigation context menu. The options are outlined in the table below.
Option
Use to
Open
Properties
Find in all
Diagrams
Delete Link
222
You create the Resources folder by creating a resource underneath the selected Category, Topic or Post.
Similarly, you delete the Resources folder by deleting the last resource within it. Having added a resource, you
can reimport the package XMI files to the model or display the diagram images
All Team Review resource management tasks are performed using options on the Team Review context menu
214 .
223
Toolbar
To switch to another Team Review via the toolbar, follow the steps below:
1. Click on the drop-down arrow in the Connection Options field in the toolbar.
2. Select the appropriate model name from the list to connect to the Team Review for that model.
3. If the required model is not listed, click on the <Configure Connections> option. The Team Review
Server Connections dialog displays.
4. Go to step 4
224
224
2. In the list in the Connections panel, select the check box against the appropriate model name to
connect to the Team Review for that model.
3. Click on the Open button. The connection now switches to the Team Review in the selected model.
4. If the required model is not listed, select the appropriate Connection Type radio button and click on the
New button.
For a .eap file, a browser dialog displays, through which you can search for and select the
appropriate model.
For a model in a DBMS data repository, the Microsoft Data Link dialogs display, to enable you to
locate and connect to the repository.
5. When you have selected and opened or connected to the required Enterprise Architect model, and
returned to the Team Review Server Connections dialog, the model name displays in the Connection
Name field and in the Connections panel.
6. Select the check box against the model name and click on the Open button to connect to the Team
Review for that model.
The Team Review now shows the discussion in the selected model.
For further details of the fields and buttons on the Team Review Server Connections dialog, refer to the table
below.
Option
Use To
Connection Name
Connection Type
Specify the type of Enterprise Architect model: a local .EAP file (as above) or a
model on a remote server (see UML Model Management).
Target Model
New
Delete
Connections
List all Team Review connections created. Click on the checkbox against the
required connection.
Open
Switch the Team Review to the one selected in the Connections list.
Spell Checking |
225
19 Spell Checking
Enterprise Architect provides a powerful spell checking facility. This operates at the project level and enables
you to quickly spell check an entire project.
The spell checker can be set to run automatically, so that it highlights possible errors in text as it is created or
pasted in. To turn automatic spell checking on and off, select the Tools | Options menu option, click on the
Objects option in the page hierarchy, and then deselect or select the Disable spelling checkbox.
See Also
Using the Spell Checker
Correcting Words 226
Select Language 227
225
226
Note:
The Spell Check Project menu option enables you to check spelling for the entire project, whereas
the Spell Check Current Package option only checks the package currently open, and does not
enable you to select the options shown above.
2. Select the checkbox against each of the items to spell check within your model.
3. Click on the Start button to begin the spell check.
4. As the spell check proceeds, the text being checked displays in the visible edit area. If an error is
detected, the Check Spelling dialog displays, offering several options 226 to correct the error.
227
To select another language for the spell checker in Enterprise Architect, follow the steps below:
1. Select the Tools | Spelling Language menu option. The Spell Check Language dialog displays.
228
2. Click on the radio button for the required language dictionary to use.
3. Click on the OK button. The selected language remains the current language until changed.
Index
Index
-AAccess
Email 135
Internet Search Engine 135
Web Site 135
Activity
Elements And Connectors 83
Group, Enterprise Architect UML Toolbox 83
Add
Category To Team Review 216
Filters To Search 132
Post To Team Review 217
Project Items Via Toolbar 95
Topic To Team Review 217
Add Submenu
Element Context Menu, Project Browser 31
Package Context Menu, Project Browser 27
Add to Project Clipboard
Menu Option (Edit Menu) 40
Add-In
Connect To 67
Display Help On 67
Menu 67
Search 128
Submenu 67
Window 41
Advanced (Element)
Submenu 52
Align
Elements From Toolbar 98
Alignment
Submenu 53
Analysis
Elements and Connectors 88
Group, Enterprise Architect UML Toolbox 88
Anti-Aliased Rendering
Of Diagrams 195
Anti-Aliased Text
In Diagrams 195
Appearance (Element)
Autosize 53
Submenu 53
Application
Connector 86
Application Look Dialog 207
Application Workspace 4
Arrow
229
-BBatch Generate
Elements With Code 53
Bookmark
Clear 40
Clear All 40
Selected Element 40
Bookmark Selected
Menu Option (Edit Menu) 40
Bookmarks
Code Editor, Common 173
Brace/Bracket Matching
Code Editor, Common 173
Browser
Element 154
Build And Run Submenu
Package Context Menu, Project Browser
Business
Scenarios & Requirements 158
Business Process
Analysis 10
Model, Template 10
28
230
Index
-CCalltips
Code Editor, Common 176
Cancel
Validation 47
Category
Add To Team Review 216
Create 216
Delete 214
Checked In Package
Icon 23
Checked Out Package
Icon 23
Class
Elements And Connectors 79
Group, Enterprise Architect UML Toolbox
Model Template 13
Class Diagram
Edit Elements 52
Clear All Bookmarks
Menu Option (Edit Menu) 40
Clear Project Clipboard
Menu Option (Edit Menu) 40
Clear Selection
Menu Option (Edit Menu) 40
Clipboard
Copy Team Review Path To 222
Clipboard File Format
Define 190
Close
Full Screen 69
Close Project
Menu Option (File Menu) 35
Code
Generation, Toolbar 96
Import, Select Language 96
Language, Set Default 96
Code Editor, Common
Autocompletion List 176
Automatic Indentation 173
Bookmarks 173
Brace/Bracket Matching 173
Calltips 176
Commenting 173
Configuration 173
Configure Search Options 182
Context Menu 182
Cursor History 173
IME 182
Input Method Editor 182
79
Intellisense 176
Key Bindings 177
Line Selection 173
Mouseovers 176
Scope Guides 173
Search Facility 182
Zooming 173
Code Engineering Submenu
Package Context Menu, Project Browser 28
Collaboration
Elements and Connectors, Now Communication
81
Color
Of Communication Messages 204
Combine
Windows In One Frame 136
Commands
Add To Toolbar 57
Change Icon Appearance 57
Customize 57
Remove From Toolbar 57
Commenting
Code Editor, Common 173
Common
Connectors 77
Elements 77
Group, Enterprise Architect UML Toolbox 77
Relationships 77
Communication
Elements and Connectors 81
Group, Enterprise Architect UML Toolbox 81
Communication Message
Colors 204
Community Site 6
Component
Elements And Connectors 84
Group, Enterprise Architect UML Toolbox 84
Model Template 14
Composite
Elements And Connectors 81
Group, Enterprise Architect UML Toolbox 81
Configuration
Code Editor, Common 173
Configure
Local Options 189
Options 189
User Settings 189
Connections
In Relationships Window 157
In Team Review 223
To Other Team Reviews 223
Window 157
Connector
Index
Connector
Application 86
Create From UML Toolbox 71
Create With Element Using Quick Linker 186
Create With Quick Linker 188
Create, Same Type As Previous 49
Display Options 203
Extension (Profile Toolbox) 86
Generalize (Profile Toolbox) 86
Invoke 79
Line Color 192
Notes 160
Precede 79
Redefinition 86
Tagged Value (Profile Toolbox) 86
Console
Commands, Scripter Window 152
Tab, Scripter Window 152
Constraint
In Scenarios & Requirements Window 158
Contents Submenu
Package Context Menu, Project Browser 29
Context Menu
Apply Stereotype Option 71
Attribute, Project Browser 32
Code Editor, Common 182
Configure Code Editor Search Options 182
Diagram, Project Browser 31
Element, Project Browser 30
Main 33
Method, Project Browser 32
Model Views 115
Model, Project Browser 23
Operation, Project Browser 32
Package, Project Browser 25
Scripter Window 149
Team Review Options 214
Copy
Model 36, 37, 38
RTF Bookmark To Clipboard 27, 31
Correct Spell Checked Words 226
Create
Connector With Quick Linker 188
Element And Connector With Quick Linker 186
Favorites Folder, Model View 114
Favorites Folder, Model View (Context Menu)
115
Post In Team Review 217
Root Node, Model View 114
Root Node, Model View (Context Menu) 115
Search Definition 128
Slideshow, Model View 114
Slideshow, Model Views 119
231
115
89
-DData
Model Template 13
Data Management
Project Compare 55
Project Integrity 55
Project Transfer 55
Submenu (Tools Menu) 55
Data Modeling
Elements And Connectors 93
Group, Enterprise Architect UML Toolbox
Database
Model Template 13
Set Default 96
Database Engineering
Submenu (Project Menu) 47
93
232
Index
DDL
Display In Source Code Viewer 145
Default
Code Language, Set 96
Database, Set 96
Model Diagram, Cancel 49
Model Diagram, Set 49
Project Browser Behavior 21
User Diagram, Cancel 49
User Diagram, Set 49
Default Diagram
Model, Cancel 49
Model, Set 49
User, Cancel 49
User, Set 49
Default Fonts
Model 196
Set 196
User 196
Default Settings
Options Dialog 189
Default Tools Toolbar 95
Define
Browser Behavior 190
Clipboard Image File Format 190
Email Exchange Server 190
File Directory 190
Home Web Site 190
Internet Search Engine 190
Delete
Category In Team Review 219
Diagram (Single) From Project Browser 31
Diagrams (Multiple) From Project Browser 31
Item In Team Review 219
Menu Options 66
Post In Team Review 219
Reply In Team Review 219
Team Review Category 214
Team Review Post 214
Team Review Resource 214
Team Review Topic 214
Topic In Team Review 219
Delete Selected Element(s)
Menu Option (Edit Menu) 40
Demonstration
Of Enterprise Architect 4
Deployment
Elements and Connectors 85
Group, Enterprise Architect UML Toolbox 85
Model Template 14
Desktop Tools
Add 60
Configure 60
Using Enterprise Architect - UML Modeling Tool
Customize 60
Diagram
Add Link To Team Review Post 221
Anti-Aliased Rendering 195
Anti-Aliased Text 195
Appearance Options 195
Automatic Save 198
Background Color 192
Background Color Gradient 195
Behavior Options 198
Build 107
Business Process 10
Class 13
Class Features, Visibility 193
Close 107
Component 14
Context Menu, Project Browser 31
Copy Image 49
Database Schema 13
Delete From Project Browser 31
Display Options 193
Filter Display Of Elements 170
Find In Project Browser 49, 51
Frame 193
Increase Display Size 195
Lock, General 49
Manage Display 107
Menu 49
Notes, Show/Hide 193
Open From Shortcut 36, 38
Open From Shortcut (Direct Definition)
Page Setup 193
Pan And Zoom 170
Print From Project Browser 31
Properties (Diagram Menu) 49
Relationship Traceability For 160
Requirements 10
Save 49
Save Automatically 198
Save Image Of 49
Scale View 195
Scroll Through From Diagram Toolbar
Show Element List As 111
Slideshow, Model View 113, 119
Switch 107
Tab Context Menu 106
Tabs 106
Toolbar 98
Use Case 11
View 107
Water Mark 195
Zoom From Diagram Toolbar 98
Diagram Caption Bar
37
98
Index
Diagram Caption Bar
Hide 42
Show 42
Diagram Filters
Create 170
Delete 170
Disable 170
Enable 170
Set Effect Of 170
Window 170
Diagram Note
Insert New From Toolbar 97
Dialog
Application Look 207
Group Properties (Script) 152
Recent Post Options 115
Slideshow Properties 119
Dictionary
User (Spell Checker) 226
Discussion Forum
Now Team Review 213
Display
Full Screen 69
Display Options
Connector 203
Diagram 193
Element 201
Link 203
Relationship 203
Display Size
Diagram, Increase 195
Dock Windows
Navigation Compass 136
Dockable
Windows 140
Documentation
Generate, Project Browser Option 22
Documentation (Reports)
Submenu (Project Menu) 44
Documentation Submenu
Package Context Menu, Project Browser
Reports 27
Domain
Model Template 11
Organizational Relationships 11
Physical Units 11
Structure 11
Dotted Line Above Menu 139
Dynamic Visual Filters 170
233
-E-
27
EABase
Project 3
Edit
Item In Team Review 219
Menu 40
Editor
Team Review 220
Element
Abort Edit Changes 52
Accept Edit Changes 52
Add Link To Team Review Post 221
Add New Item (Inline Features Menu Option)
52
Align From Diagram Toolbar 98
Appearance, Format From Toolbar 99
Apply Image From Clipboard 53
Background Color 192
Browser Window 154
Connectors In Relationships Window 157
Constraint, Attach 52
Context Menu, Project Browser 30
Coordinates On Status Bar 103
Create From UML Toolbox 71
Create With Quick Linker 186
Create, Same Type As Previous 49
Default Appearance 53
Delete Item From 52
Display Options 201
Fill Color 192
Fill Color Gradient 195
Filter Display On Diagram 170
Find In Diagram Menu Options 30
Find In Diagrams, Element List 111
Find In Project Browser 51
Font, Set 53
Hide Type On Diagram 170
Insert New Feature (Inline Features Menu
Option) 52
Menu 51
Note, Attach 52
Notes 160
Nudge 53
Paste As Link 41
Paste As New 41
Paste From Clipboard As Metafile 41
Properties Window 140
Relationship Traceability For 160
Scenarios & Requirements 158
Set Alternative Image 53
Shadow Color 192
1998-2010 Sparx Systems Pty Ltd
234
Index
Element
Synchronize Stereotyped Tagged Values From
Toolbox 71
Text Color 192
Toolbar 97
View Properties (Inline Features Menu Option)
52
Visibility Options 202
Work On From Element List 108
Work On From Toolbar 98
Element Context Menu
Add Submenu, Project Browser 31
Element List
Context Menu Options 111
Description 108
Options 111
Show As Diagram 111
Toolbar 111
Was Report View 108
Work On Elements 111
Email
Access Within Enterprise Architect 135
Exchange Server, Define Default 190
Encrypt Password (Repository)
At Release 7.1 Of Enterprise Architect 36, 40
Enterprise Architect
Arrange Windows and Menus 136
Autohide Windows 138
Community Site 6
Demonstration 4
Dockable Windows 136, 140
In Action 4
Interfaces For Modeling 2
Keyboard Shortcuts 208
Main Context Menu 33
Main Menu 33
Navigation Compass 136
Online Resources 6
Predefined Search Definitions 131
Project Team Review 213
Spell Checking 225
Start 3
Start Page 6
Tear Off Menus 139
Tools And Features For Modeling 2
User Interface 4
Web Services Access 135
Workspace Status Bar 103
Enterprise Architect UML Toolbox 71
Activity Group 83
Analysis Group 88
Class Group 79
Common Group 77
Using Enterprise Architect - UML Modeling Tool
Communication Group 81
Component Group 84
Composite Group 81
Custom Group 89
Data Modeling Group 93
Deployment Group 85
Interaction Group 82
Maintenance Group 90
Metamodel Group 87
Object Group 80
Profile Group 86
Requirement Group 90
Shortcut Menu 75
State (Machine) Group 83
Timing Group 82
Use Case Group 79
User Interface Group 91
WSDL Group 92
XML Schema Group 92
Execution Analysis
Submenu (Project Menu) 46
Execution Analyzer
Submenu (View Menu) 42
Exit
Menu Option (File Menu) 35
Explorer
Open 54
External File
Add Link To Team Review Post
External Tools
Open 62
Pass Parameters To 63
221
-FFavorites
Add To Resources Window 145
Delete From Resources Window 145
Drag Objects Into 113, 117
Elements, Resources Window 145
Folder, Resources Window 145
Model Views Folder 113
View Properties In Resources Window 145
Fields and Conditions
In Search 133
File
Menu 35
Filters
Add To Search 132
AND 125
Diagram, Display Of Elements 170
Dynamic Visual 170
Index
Filters
OR 125
Search 125
Find
Diagram In Project Browser 49, 51
Element In Diagrams, Element List 111
Element In Project Browser 51
Find In Diagram
Element Context Menu, Project Browser 30
Find in Project
Menu Option (Edit Menu) 40
Find In Project Browser
Search Option 25
Floating Toolbar Buttons
Display 201
Floating Windows 136
Fonts
Set Model Default 196
Set User Default 196
Format
Element Appearance From Toolbar 99
Toolbar 99
Forum
Discussion, Now Team Review 213
Frame
Combine Windows In 136
Remove Windows From 136
Tabbed 136
Free Sorting
On Project Browser 21
Full Screen
Close 69
Display 69
-GGeneral Options
Set For Project 190
Generate
Report On Elements 108
Report On Project 108
RTF Report From Element List 108
Generate RTF Documentation
From Model Search 124
Getting Started
Start Enterprise Architect 3
Glossary
Create Item From Notes Text 160
Hyperlink Term From Notes 160
Insert Item In Text 160
Group Properties Dialog
Script 152
235
-HHelp
Add-In 67
Display On Add-Ins 67
For Tagged Values 165
Menu 70
Tasks Pane Topics 168
Hide
Code Execution (Project Menu)
Diagram Caption Bar 42
Project Browser 19
Toolbox 71
Hyperlink
Insert New From Toolbar 97
46
-IIcon
Attribute Private 23
Attribute Protected 23
Checked In Package 23
Checked Out Package 23
Namespace Root Package 23
Operation Private 23
Operation Protected 23
Version Controlled Package 23
IME
Code Editor 182
Import
Code, Select Language 96
Technology Files 54
Import/Export
Submenu (Project Menu) 49
Import/Export Submenu
Package Context Menu, Project Browser
Increase Text Display Size 140
Inline Features
Submenu (Element Menu) 52
Input Method Editor
Code Editor 182
Intellisense
Code Editor, Common 176
In Script Editor 183
Keystrokes, Script Editor 183
Interaction
Elements and Connectors 82
Group, Enterprise Architect UML Toolbox
Internet Search Engine
Access Within Enterprise Architect 135
Define Default 190
29
82
236
Index
Introduction
To Quick Linker
Invoke
Connector 79
186
-KKey
Combinations 208
Missing Combination
Key Bindings
Code Editor, Common
Keyboard
Accelerator Map 208
Missing Combination
Shortcuts 208
Shortcuts, Customize
Shortcuts, Reset 64
56
177
56
64
-LLabel
Display Under Toolbar Icons 58
Show And Hide In Toolbox 73
Language
For Spell Check 227
Legend
Insert New From Toolbar 97
Level Numbering
Show In Project Browser 25
Line Selection
Code Editor, Common 173
Link
Display Options 203
Window 157
Logical Model 13
Login
As Different User (Security) 48
-MMacros
SQL Search 128
Main Context Menu 33
Main Menu 33
Maintenance
Using Enterprise Architect - UML Modeling Tool
90
Index
Metamodel
Group, Enterprise Architect UML Toolbox 87
Method
Context Menu, Project Browser 32
Metrics
Project Management Window 167
Model
Context Menu, Project Browser 23
Default Fonts 196
Remove Recent 7
Root Node 23
Shortcut 36
Shortcut (Capture Current Environment) 38
Shortcut (Direct Definition) 37
Model Context Menu
Package Control Submenu, Project Browser
25
Model Node
Package Control Submenu, Project Browser
25
Model Pattern
Introduction 9
Model Search
Access From Add-In 123
Access From MTS File 123
Access From Shortcut 36, 38, 123
Access From Shortcut (Direct Definition) 37
Add Data Columns 121
Add Filters 132
Create Search Definition 128
Export Search Definitions 125
External Access 123
Find Object In Diagrams 124
Find Object In Project Browser 124
Generate RTF Documentation 124
Group Results 121
Hyperlink To 123
Import Search Definitions 125
Introduction 121
Manage 125
Notes Options 121
Operate On Objects In Results 124
Options 121
Process Results Of Search 121, 124
Remove Data Columns 121
To Populate Model Views 117
Toolbar Options 121
Use 123
View 121
Model Template
Business Process 10
Class 13
Component 14
237
Database 13
Deployment 14
Domain 11
Introduction 9
Logical 13
Maintenance 17
Physical 14
Project 17
Relational Database 13
Requirements 10
Testing 16
Use Case 11
Model Transformations
Submenu (Project Menu) 47
Model Validation
Submenu (Project Menu) 47
Model Views
Context Menu Options 115
Define Search 117
Delete (Context Menu) 115
Delete (Toolbar) 114
Display Recent Postings 117
Enable Technology-Defined View 117
Export As XML 117
Favorites 113
Favorites Folder, Create (Context Menu) 115
Favorites Folder, Create (Toolbar) 114
Import As XML 117
Move Objects Between Views 117
Move Objects Into Favorites 117
My Views 113
Operations 117
Postings From Team Review 113
Properties 117
Recent Discussions 113
Recent Post Options 115
Refresh (Toolbar) 114
Refresh Search 117
Root Node, Create (Context Menu) 115
Root Node, Create (Toolbar) 114
Slide Show, Run (Manual) 119
Slideshow 113
Slideshow Folder, Create (Toolbar) 114, 119
Slideshow, Automate 119
Technology-Defined 113
Toolbar Options 114
Use Objects In Views And Favorites 117
View, Create (Context Menu) 115
View, Create (Toolbar) 114
Views 113
Views Folder, Create (Context Menu) 115
Views Folder, Create (Toolbar) 114
Window 113
1998-2010 Sparx Systems Pty Ltd
238
Index
Modeling
Enterprise Architect Tools and Features
Modify
Tagged Values 164
Mouseovers
Code Editor, Common 176
Move
Elements By Increments 53
Nudge Elements 53
Package Contents Up Or Down 20
Submenu 53
Multiplicity 11
Open Project
Menu Option (File Menu) 35
Open Source Directory
Element Code 53
Open Source File
Menu Option (File Menu) 35
Operation
Context Menu, Project Browser 32
Private, Icon 23
Protected, Icon 23
Options
Element Visibility 202
Project Views 107
Views Of Project 107
Visual Styles/Themes 207
Options Dialog
Appearance Options 195
Communication Message Coloring 204
Connector Settings 203
Diagram Behavior 198
Diagram Settings 193
General Settings 190
Introduction 189
Links Settings 203
Object Appearance 201
Object Appearance, Default Fonts 196
Object Appearance, Element Visibility 202
Sequence Diagram Options 199
Standard Colors 192
XML Specifications 206
Order
Package Contents 20
Other Element Tools
Submenu 42
Other Project Tools
Submenu 42
Output Window
Context Menu 168
-NNamespace
Root Package Icon 23
Navigate
Diagram 170
Navigation Compass 136
New Project
Menu Option (File Menu) 35
New Search Query 128
Note
Create Project Glossary Item 160
For Attribute 160
For Connector 160
For Diagram 160
For Element 160
For Operation 160
Hyperlink Glossary Term 160
Insert Glossary Item 160
Insert New From Toolbar 97
Spell Check 160
Tab 160
Window 160
Notelink
Insert New From Toolbar 97
Nudge
Elements 53
-P-
-OObject
Appearance, Options 201
Elements And Connectors 80
Group, Enterprise Architect UML Toolbox
Online Resources
Access From Tasks Pane 168
Submenu 70
Open
External Tools 62
80
Package
Context Menu, Project Browser 25
Icon Overlays 23
Package Context Menu
Add Submenu, Project Browser 27
Build And Run Submenu, Project Browser 28
Code Engineering Submenu, Project Browser
28
Contents Submenu, Project Browser 29
Documentation Submenu, Project Browser 27
Import/Export Submenu, Project Browser 29
Index
Package Control Submenu
Model Node Context Menu, Project Browser
25
Page
Setup, Menu Option (File Menu) 35
Pan And Zoom
Diagram 170
Window 170
Parse
Source Code Files In Viewer 145
Password Encryption (Repository)
At Release 7.1 Of Enterprise Architect 36, 40
Paste Elements
As Link 41
As New 41
From Clipboard As Metafile 41
Menu Option (Edit Menu) 40
Submenu (Edit Menu) 41
Physical Model 14
Pin
Connector End Point 99
Connector Start Point 99
Toolbox Pages 73
Position Elements 53
Post
Add To Team Review 217
Create In Team Review 217
Create Reply 219
Delete 214
Delete In Team Review 219
Edit In Team Review 219
Reply To In Team Review 219
Precede
Connector 79
Print
Diagram (Single) From Project Browser 31
Diagrams (Multiple) From Project Browser 31
Menu Option (File Menu) 35
Preview, Menu Option (File Menu) 35
Setup, Menu Option (File Menu) 35
Print Preview
Display 35
Multiple Pages 35
Process
Model Template 10
Modeling 10
Profile
Elements And Connectors 86
Group, Enterprise Architect UML Toolbox 86
Project
Browser 19
EABase 3
Explorer 19
239
Glossary 142
Issues 142
Items, Add Via Toolbar 95
Menu 44
Model Template 17
Remove Recent 7
Spell Checking 225
Statistics, View 44
Tasks 142
Toolbar 95
Use The Model Search 123
View 19
Project Browser
Attribute Context Menu 32
Collapse Contents 29
Default Behaviour 21
Diagram Context Menu 31
Element Context Menu 30
Element Context Menu, Add Submenu 31
Expand Contents 29
Free Sorting 21
Hide And Show 19
Icon Overlays 23
Introduction 19
Method Context Menu 32
Model Context Menu 23
Model Node, Package Control Submenu 25
Move Items Within 19
Operation Context Menu 32
Order Package Contents 19
Package Context Menu 25
Package Context Menu, Add Submenu 27
Package Context, Build And Run Submenu 28
Package Context, Code Engineeiing Submenu
28
Package Context, Contents Submenu 29
Package Context, Documentation Submenu
27
Package Context, Import/Export Submenu 29
Reload Current Package 29
Reset Sort Order 29
Scripts 152
Selective Collapse of Packages 19
Show Level Numbering 25
Show Stereotypes 21
Toolbar 22
Views 19
Project Discussion Forum
Now Team Review 213
Project Glossary
Create Item From Notes Text 160
Hyperlink Term From Notes 160
Insert Item In Text 160
1998-2010 Sparx Systems Pty Ltd
240
Index
Project Management
Metrics 167
Resources 167
Risks 167
Toolbar 167
Window 167
Project Search
Add Filters 132
Conditions 133
Create Search Definition 128
Fields 133
Manage 125
Search Definitions 125
Project Settings
Configure (Settings Menu) 68
Project Team Review
Access 213
Add External File Link To Post 221
Add New Category 216
Add New Post 217
Add Object Link To Post 221
Add Team Review Link To Post 221
Connections To Other Team Reviews 223
Copy Path To Clipboad 222
Create Category 216
Create Post 217
Create Reply 219
Delete Item 219
Edit Item 219
Editor 220
Icons 213
Introduction 213
Load Data When Required 223
Loading Behavior 223
Mark All Posts Unread 223
Options 223
Preload 223
Reply To Post 219
Search 222
Was Discussion Forum 213
Properties
Window (Element) 140
Proxy
(Shortcut) File 36
-QQuery Builder
Search Definition
Quick Linker
Arrow 186
Create Connector
128
188
186
-RRecent Discussions
Concerning Model View Items 113
Recent Post Options Dialog 115
Recent Postings
Display 117
Redefinition
Connector 86
Registry Settings 189
Relational Database
Model Template 13
Relationship
Application 86
Display Options 203
Extension (Profile Toolbox) 86
Generalize (Profile Toolbox) 86
Redefinition 86
Tagged Value (Profile Toolbox) 86
Window, Context Menu 157
Relationship Matrix
Access From Shortcut 36, 38
Access From Shortcut (Direct Definition) 37
Reload Current Project
Menu Option (File Menu) 35
Remove
Recent Project 7
Reply
To Post In Team Review 219
Report View
Now Element List 108
Repository
Encrypt Password 36, 40
Requirement
Analysis 10
Elements And Connectors 90
Group, Enterprise Architect UML Toolbox 90
Internal, In Scenarios & Requirements Window
158
Model Template 10
Modeling 10
Requirements Management 10
Template 10
Reset Options
Source Code Language 22
Resource
Add To Team Review Item 214
Delete From Team Review Item 214
Index
Resources
Documents 143
Favorites Folder 143, 145
Matrix Profiles 143
MDG Technologies 143
Project Management Window 167
Scripts 143
Templates 143
UML Patterns 143
UML Profiles 143
Window 143
XSL Stylesheets 143
Rich Text Format
Copy Bookmark To Clipboard 27
Rich Text Format Report
Generate From Element List 108
Rich Text Notes
Formatting 104
Keyboard Shortcuts 104
Toolbar Options 104
Risks
Project Management Window 167
RTF
Copy Bookmark To Clipboard 27, 31
RTF Report
Generate From Element List 108
Runtime Object
In Script Editor 183
-SSave
Diagram Changes Automatically 198
Save As
Copy 36
Shortcut 36
Save Project As
Menu Option (File Menu) 35
Save Project As (File Menu Option)
Copy 37, 38
Shortcut (Capture Current Environment) 38
Shortcut (Direct Definition) 37
Scale Diagram View 195
Scenario
In Scenarios & Requirements Window 158
Scenarios & Requirements
Toggle Window/View 158
Window 158
Scope Guides
Code Editor, Common 173
Script
Commands 152
241
Console 152
Copy 149
Create 149
Delete 149
Engines 148
Execute 149
Group 148, 149
Group Type 152
JavaScript 148, 149
JScript 148, 149
Local 148, 149
Move 149
Normal 152
Project Browser 152
Search 152
Template 148, 149
User 148, 149
VBScript 148, 149
Workflow 152
Worklow 149
Script Editor
Context Menu 182
Script Objects 183
Scripter Window 148
Console Tab 152
Console Toolbar 152
Context Menu 149
Editor 183
Group Properties Dialog 152
Intellisense 183
Runtime Objects 183
Script Editor 183
Script Objects 183
Scripts Tab 149
Toolbar 149
Type Libraries 183
Search
A Package 123
Code Editor Facility 182
Conditions 133
Configure Code Editor Context Menu Options
182
Definitions 125
Definitions, New 128
Definitions, Predefined 131
Element Features 125
Fields 133
Filters 125
List, Predefined Searches 131
Macros, SQL 128
Manage 125
Model 125
Project 123, 125
1998-2010 Sparx Systems Pty Ltd
242
Index
Search
Project, Create Search Definition 128
Query, New 128
Results, Manipulate 121
Scripts 152
Simple 125
Team Review 222
The Model Search 123
User Defined, Storage 128
Within Project Browser 22
Search Filters
Add To Search 132
Search Project
Add Filters 132
Security
Submenu (Project Menu) 48
Select All
Menu Option (Edit Menu) 40
Select By Type
Menu Option (Edit Menu) 40
SELECT Statement
SQL Search 128
Sequence
Elements and Connectors 82
Sequence Diagram
Display Options 199
Set
Default Tree Behavior 21
Settings
Menu, Configure 68
Shortcut
Clear 38
Diagram (Capture Current Environment) 38
Menu, Enterprise Architect UML Toolbox 75
Model (Capture Current Environment) 38
Model Search (Capture Current Environment)
38
Relationship Matrix (Capture Current
Environment) 38
Team Review (Capture Current Environment)
38
Shortcut To
Diagram 36
Diagram (Direct Definition) 37
Model 36
Model (Direct Definition) 37
Model Search 36
Model Search (Direct Definition) 37
Relationship Matrix 36
Relationship Matrix (Direct Definition) 37
Team Review 36
Team Review (Direct Definition) 37
Show
Using Enterprise Architect - UML Modeling Tool
Index
Spell Check
Correct Words 226
Dictionaries 227
Dictionary 226
Language 227
Model 225
Perform 225
Project 225
Single Package 225
Spell Checking
Automatic, Disable 225
Automatic, Enable 225
Introduction 225
Spelling
Language (Tools Menu) 54
Spelling Language
Select 227
SQL
Custom Searches 128
Editor 128
Search Macros 128
Search, SELECT Statements 128
Standard Colors
Attribute 192
Connector Line 192
Diagram Backgound 192
Element Fill 192
Element Line 192
Method 192
Note Text 192
Operation 192
Options 192
Screen 192
Shadow 192
Start
Application 3
Enterprise Architect 3
Start Page 6
State (Machine)
Elements and Connectors 83
Group, Enterprise Architect UML Toolbox
Status Bar
Element Coordinates 103
Enterprise Architect Workspace 103
Hide 103
Show 103
Zoom Control 103
Stereotype
Show On Project Browser 21
Submenu
Add-In 67
Advanced (Element) 52
Alignment 53
83
243
Appearance (Element) 53
Data Management (Tools Menu) 55
Database Engineering (Project Menu) 47
Documentation (Project Menu) 44
Execution Analyzer (Project Menu) 46
Execution Analyzer (View Menu) 42
Import/Export (Project Menu) 49
Inline Features (Element Menu) 52
Make Same 53
Model Transformations (Project Menu) 47
Model Validation (Project Menu) 47
Move 53
Online Resources 70
Other Element Tools 42
Other Project Tools 42
Paste Elements (Edit Menu) 41
Security (Project Menu) 48
Size 53
Source Code Engineering (Element Menu) 53
Source Code Engineering (Project Menu) 45
Space Evenly 53
Toolbars 42
Version Control (Project Menu) 48
Visual Styles 42
Web Services (Project Menu) 47
XML Schema (Project Menu) 48
Z-Order 53
Sunmenu
Manage .EAP File (Tools Menu) 55
Switch
Diagram 107
Synchronize
Batch With Code 53
Class With Code 53
Package With Source, (Project Menu Option)
45
Syntax Check
For UML, Option 193
System
Project Glossary 142
Project Issues 142
Project Tasks 142
Tabs 142
Window 142
System Boundary
Insert New From Toolbar 97
-TTab
Asterisks 106
Audit History In Output Window
168
244
Index
Tab
Context Menu 106
Diagram 106
Tabbed Frame
Combine Windows In 136
Remove Window From 136
Tagged Value
Assign Information To 165
Assign To Item 164
Duplicate Values 162
Fully-Qualified Value 162
Model Components And 162
Modify 162
Modify Value 164
Show Duplicates 166
Toolbar 162
Types Of Value Field 164
View 162
What Is A? 162
Window 162
Tasks Pane
Getting Started 168
Tools 168
Window 168
Team Review
Access 213
Access From Shortcut 36, 38
Access From Shortcut (Direct Definition) 37
Add External File Link To Post 221
Add New Category 216
Add New Post 217
Add New Topic 217
Add Object Link To Post 221
Add Team Review Link To Post 221
Capture Diagram Image As Resource 221
Connections To Other Team Reviews 223
Context Menu Options 214
Copy Path To Clipboad 222
Create Category 216
Create Post 217
Create Reply 219
Create Topic 217
Delete Category 214
Delete Item 219
Delete Post 214
Delete Resource 214
Delete Resources 221
Delete Topic 214
Edit Item 219
Editor 220
Export Package As Resource 221
Icons 213
Import Resource Package 221
Using Enterprise Architect - UML Modeling Tool
Introduction 213
Load Data When Required 223
Loading Behavior 223
Mark All Posts Unread 223
Options 223
Postings in Model Views 113
Preload 223
Reply To Post 219
Resources 221
Search 222
Tab 213
View Diagram Image Resource 221
Was Discussion Forum 213
Window 213
Tear Off Menus 139
Technology-Defined Model View
Set Up 117
Template
Script 148, 149
Test
Model Template 16
Testing
Model Template 16
Text Element
Insert New From Toolbar 97
Theme
Microsoft Office Styles 207
Microsoft Visual Basic Styles 207
Options 207
Visual Style 42
Timing
Elements and Connectors 82
Group, Enterprise Architect UML Toolbox 82
Toolbar
Add Commands 57
Change Command Icon Appearance 57
Code Generation 96
Console Tab, Scripter Window 152
Create 58
Current Connector 99
Current Element 98
Customize 58
Default Tools 95
Diagram 98
Display Labels 58
Docked 94
Element 97
Element List 111
Floating Buttons, Display 201
Format (Element Appearance) 99
Hide 58
Large Icons 67
Manage Searches 125
Index
Toolbar
Missing Icon 56
Model Search 121, 124
Options, Customize Appearance 67
Project 95
Project Browser 22
Remove 58
Remove Commands 57
Rename 58
Rich Text Notes 104
Screen Tips 67
Scripter Window 149
Show 58
Source Code Viewer 145
Submenu 42
UML Elements 97
Workspace 94
Workspace Layouts 100
Toolbar Customize Button
Show/Hide 42
Toolbox
Shortcut Menu 75
Tools
Custom 62
External Applications 62
Pass Parameters To External Tools 63
Tools Menu 54
Topic
Add To Team Review 217
Create 217
Delete 214
Traceability
For Diagram 160
For Elements 160
Window 160
Transformation Dependency
Trace With Traceability Window 160
Type Libraries
For Script Editor 183
-UUML
1.5 201
Syntax Checking Option 193
UML Business Process Model
In Enterprise Architect 10
UML Class Model
In Enterprise Architect 13
UML Component Model
In Enterprise Architect 14
UML Database Model
245
In Enterprise Architect 13
UML Deployment Model
In Enterprise Architect 14
UML Domain Model
In Enterprise Architect 11
UML Element
Toolbar 97
UML Maintenance Model
In Enterprise Architect 17
UML Model Pattern
Introduction 9
UML Model Template
In Enterprise Architect 9
Introduction 9
UML Project Model
In Enterprise Architect 17
UML Requirements Model
In Enterprise Architect 10
UML Testing Model
In Enterprise Architect 16
UML Toolbox
Activity Group 83
Add Stereotype To Diagram Element 71
Analysis Group 88
Appearance Options 73
Class Group 79
Collapse Page 71
Common Group 77
Communication Group 81
Component Group 84
Composite Group 81
Create Elements And Connectors 71
Custom Group 89
Data Modeling Group 93
Deployment Group 85
Expand Page 71
Hide Labels 73
Hide Toolbox 71
Interaction Group 82
Maintenance Group 90
Metamodel Group 87
Object Group 80
Pin Pages 73
Profile Group 86
Requirement Group 90
Set Toolbox Visibility 73
Shortcut Menu 75
Show Labels 73
Show Toolbox 71
State (Machine) Group 83
Synchronize Stereotyped Tagged Values 71
Timing Group 82
Unpin Pages 73
1998-2010 Sparx Systems Pty Ltd
246
Index
UML Toolbox
Use Case Group 79
User Interface Group 91
WSDL Group 92
XML Schema Group 92
UML Use Case Model
In Enterprise Architect 11
Undo
Option (Edit Menu) 40
Unpin
Toolbox Pages 73
Use
Spell Checker 225
Use Case
Elements and Connectors 79
Group, Enterprise Architect UML Toolbox
Model Template 11
User
Default Fonts 196
User Defined Searches
Storage 128
User Dictionary
For Spell Checker 226
User Interface
Components 4
Elements and Connectors 91
Group, Enterprise Architect UML Toolbox
User Settings
Options Dialog 189
Using Enterprise Architect
Application Workspace 4
Remove Recent Project 7
Start Page 6
Visual Styles
Microsoft Office Styles 207
Microsoft Visual Basic Styles
Options 207
Select 207
Submenu 42
Themes 42
View Menu Option 41
-W79
91
-VValidation
Cancel 47
VBScript 148, 149
Version Control
Submenu (Project Menu)
Version Controlled Package
Icon 23
View
Element List 108
Menu 41
Of Model 113
Project Statistics 44
Submenus 42
View Options 107
Diagram View 107
Element List 108
207
48
W3C XSD
Elements and Connectors, Enterprise Architect
92
W3CWSDL
Elements And Connectors, Enterprise Architect
92
Watermark
Diagrams 195
Web Browser
Home Website, Access 135
Internet Email, Access 135
Web Search Engine, Access 135
Web Service
Submenu (Project Menu) 47
Web Site
Access Any 135
Access Home 135
Home, Define Default 190
What Is
A Tagged Value 162
Window
Add-Ins 41
Autohide 138
Bring To Top 69
Close All 69
Close All Except Current 69
Close Current 69
Combine In Frame 136
Connections 157
Constraints 158
Dockable 136
Element Browser 154
Floating 136
Hide 69
Links 157
Make Active 69
Menu 69
Model Views 113
Notes 160
Output 168
Pan And Zoom 170
Project Management 167
Index
Window
Properties (Element) 140
Rearrange 136
Relationships 157
Reload 69
Remove From Frame 136
Requirements 158
Resources 143
Reveal Autohidden 138
Scenarios 158
Scenarios & Requirements 158
Scripter 148
System 142
Tagged Value 162
Tasks Pane 168
Team Review 213
Traceability 160
Wordpad
Open 54
Workflow
Script, Import 149
Scripts 152
Workspace
Toolbars, Docked 94
Toolbars, Introduction 94
Workspace Layouts
Apply 100
Capture 100
Customize 100
Delete 100
Manage 100
Select 100
Show/Hide From Toolbar 100
System Provided 100
Toolbar 100
Upgrade Customized 100
User Defined 100
View Menu Option 41
WSDL
Elements And Connectors 92
Group, Enterprise Architect UML Toolbox
247
92
-ZZoom
Control On Status Bar
Diagram From Toolbar
Zooming
Code Editor, Common
Z-Order
Submenu 53
103
98
173
92
-XXML
Code Page 206
Default XMI Version 206
Documents, Default Editor 206
Set Default XML Directory 206
Set Default XML Editor 206
Specifications, Options Dialog 206
Structure Tree In Source Code Viewer
145
1998-2010 Sparx Systems Pty Ltd