6. 2 Enterprise Architect UML Tool | |
1 Enterprise Architect UML Tool
Welcome to Sparx Systems' Enterprise Architect, a UML 2.1 based modeling tool for designing and
constructing software systems, for business process modeling, and for generalized modeling purposes such
as visualizing existing systems and processes.
This user guide provides tutorials, guidance and reference material to help you use Enterprise Architect to
perform:
· UML Model Management
· Model Auditing
· Model Baselining and Differencing
· Model User Security
· Model Version Control
· Modeling With Enterprise Architect
· RTF and HTML Document Creation (Reports)
· Project Management
· Code Engineering
· Visualization of code execution (debugging)
· MDA Transformations
See What is Enterprise Architect? 4 for further details of what Enterprise Architect can do and what you can
use it for.
Enterprise Architect makes extensive use of UML, so we provide a UML Dictionary of diagrams, elements and
connectors. Enterprise Architect also includes a Software Developers' Kit (SDK for Enterprise Architect) that
enables you to extend and customize the tool.
To Use This Guide
If you are new to modeling and UML as well as Enterprise Architect, or otherwise want a rapid review of the
process of modeling with Enterprise Architect, go to the Getting Started with UML Modeling 28 tutorial. This is
not just a theoretical description - the first things you do are start Enterprise Architect and immediately create
a model project.
Enterprise Architect is very flexible and has lots of features. When working through Getting Started, you will
see many links to more extensive descriptions of features, functions, tasks and procedures, in Using
Enterprise Architect - UML Modeling Tool. You could read Using Enterprise Architect - UML Modeling Tool in
conjunction with this guide to get more information on any topic.
Using Enterprise Architect - UML Modeling Tool is the first of the main references for working with Enterprise
Architect. The documentation includes further Enterprise Architect guides for each of the subject areas listed
at the start of this topic.
You should read the Sparx Systems Formal Statements 16 , including the Copyright Notice and our End User
Licensing Agreement.
Your Feedback
Sparx Systems likes to stay in touch with what Enterprise Architect users require in order to accomplish their
tasks efficiently and effectively. We value any suggestions, feedback and comments you might have regarding
this product, documentation or install process.
You can access our online feedback pages at:
Getting Started With Enterprise Architect
8. 4 Enterprise Architect UML Tool | What is Enterprise Architect? |
1.1 What is Enterprise Architect?
Powerful UML Analysis and Design Tool
Enterprise Architect is a comprehensive UML analysis and design tool, covering all aspects of the software
development cycle from requirements gathering, through analysis, model design, testing, change control and
maintenance to implementation, with full traceability. Enterprise Architect combines the power of the latest
UML 2.1 specification with a high performance, intuitive interface, to bring advanced modeling to the whole
development team. It is a multi-user, visual tool with a great feature set (see below), helping analysts, testers,
project managers, quality control staff and deployment staff around the world to build and document robust,
maintainable systems and processes.
The UML Modeling Tool of Choice, Globally
With over 150,000 licenses sold, Enterprise Architect has proven highly popular across a wide range of
industries and is used by thousands of companies world-wide. From large, well-known, multi-national
organizations to smaller independent companies and consultants, Enterprise Architect has become the UML
modeling tool of choice for developers, consultants and analysts in over 60 countries.
Sparx Systems software is used in the development of many kinds of application and system in a wide range
of industries, including: aerospace, banking, web development, engineering, finance, medicine, military,
research, academia, transport, retail, utilities (such as gas and electricity) and electrical engineering. It is also
used effectively for UML and enterprise architecture training in many prominent colleges, training companies
and universities around the world.
Now see:
· Uses of Enterprise Architect 5
· Enterprise Architect Key Features 8
Getting Started With Enterprise Architect
10. 6 Enterprise Architect UML Tool | What is Enterprise Architect? | Uses of Enterprise Architect
For further information, see Using Enterprise Architect - UML Modeling Tool.
Generate Documentation
Enterprise Architect provides powerful document generation and reporting tools with a full WYSIWYG
template editor for RTF or HTML output. You can generate complex and detailed reports from Enterprise
Architect with the information you require in the format your company or client demands.
For further information, see Report Creation in UML Models.
Generate and Reverse Engineer Source Code
Enterprise Architect supports generation and reverse engineering of source code for many popular languages,
including C++, C#, Java, Delphi, VB.Net, Visual Basic, ActionScript, Python and PHP. With a built in 'syntax
highlighting' source code editor, Enterprise Architect enables you to quickly navigate and explore your model
source code in the same environment. Code generation templates enable you to customize the generated
source code to your company specifications.
For further information, see Code Engineering Using UML Models.
Visualize, Inspect and Understand Complex Software
Software is complex and often hard to understand. You can use Enterprise Architect to reverse engineer code
in a wide range of software development languages and database repository schema, to understand static
structure. To complete the picture, use the unique built-in profiling and debugging tools to capture and
visualize executing software at run-time. Create run-time instances of model elements and invoke methods
using the built in Object Workbench.
You can also bring in complete frameworks from source code or Java .jar files - or even .Net binary
assemblies! By importing frameworks and library code, you can maximize re-use and understanding of your
existing investment.
For further information, see Code Engineering Using UML Models and Debug and Profiling in Enterprise
Architect.
Perform MDA Transformations
Model Driven Architecture (MDA) is an open standard designed to facilitate rapid application development in a
platform independent manner. Models can be built at a high level of abstraction and, using MDA based tools,
transformed into models and code targeting a specific platform or domain.
Enterprise Architect supports advanced MDA transformations using easily edited and developed
transformation templates. With built-in transformations for DDL, C#, Java, EJB and XSD, you can quickly
develop complex solutions from simple platform independent models (PIMs) targeted at platform specific
models (PSMs). One PIM can be used to generate and synchronize multiple PSMs, providing a significant
productivity boost.
For further information, see the MDA Transformations User Guide.
Model Databases
Enterprise Architect enables you to reverse engineer from many popular DBMS systems, including Oracle 9i,
10g or 11g; SQL Server; My SQL; Access and PostgreSQL. You can model database tables, columns, keys,
foreign keys and complex relationships using UML and an inbuilt data modeling profile, and forward generate
DDL scripts to create target database structures.
For further information, see Code Engineering Using UML Models.
Customize Enterprise Architect
Enterprise Architect also includes a Software Developers' Kit that enables experienced tool developers to
customize and extend Enterprise Architect to suit the specific requirements of their organization with, for
example, in-house UML Profiles, Add-Ins and Code Templates. The very detailed Automation Interface gives
you access to most element features, major functions such as XMI import/export, and attached information.
Most properties are fully writable from the automation client. The Automation Interface provides great support
for plug-ins, with the ability to embed automation client windows in the main diagram view. The Interface is
accessible from any automation-aware client language, such as VB, C#, C++ and Delphi.
For further information, see SDK for Enterprise Architect.
Getting Started With Enterprise Architect
12. 8 Enterprise Architect UML Tool | What is Enterprise Architect? | Key Features
1.1.2 Key Features
Enterprise Architect is renowned for its rich feature set. Some of the key features are highlighted in the
following list:
· Model complex information, software and hardware systems using UML-compliant notation
(comprehensive UML 2.1 support for all 13 UML diagrams)
· Extended modeling for Requirements, User Interface Design, Mind Mapping, Data Modeling and more
· Built-in Requirements Management enables you to specify, trace and verify requirements directly against
the design, right through to the deployed solution
· Comprehensive and flexible MS Word-compatible HTML and RTF report options
· Leverage industry-standard Enterprise Architecture frameworks (Zachman, TOGAF, DoDAF-MODAF)
· Support in forward and reverse code engineering for many languages ‘out of the box’: ActionScript 3.0,
Java, C#, C++, VB.Net, Delphi, Visual Basic , Python and PHP
· Ability to perform database modeling, to reverse engineer from a range of DBMSs via ODBC, and to
forward generate DDL scripts to create database structures
· Manage, track and control change using baseline model merge and auditing capabilities
· Centralize enterprise-wide documentation of processes and information systems
· Model dependencies between elements, system dynamics and state
· Model class hierarchies, deployment, components and implementation details
· Record project issues, tasks and system glossary
· Assign resources to model elements and track effort expended against required effort
· Testing support for test cases, JUnit and NUnit
· Integrated Debug Workbench for profiling executable Java and .Net applications, instantiating run-time
model objects and generating Sequence diagrams from a stack trace
· Manage Version control using any Common Source Code Control (SCC)-compliant tool and XMI
· Inbuilt user and group security and access control management
· Distributed development through shareable files, use of shared repositories in a range of major
Database Management Systems, file replication, data transfer, and import and export of reference data
· Share models using the latest XMI 2.1 format
· Import models from other tools in XMI format
· Built-in Model Driven Architecture (MDA) Transformations, and facilities to import or create others
· Facilities to import database schema, XSD and WSDL source, .NET and Java binaries
· Software Developers' Kit for scripting and customizing Enterprise Architect
· A range of internal and external commercial MDG Add-Ins 12 to integrate the facilities of Enterprise
Architect with IDEs and other technologies, and templates to write your own
· Read-only Viewer enables stakeholders to view but not change milestone deliverables
· Price: Enterprise Architect is priced to outfit the entire team, making collaboration and team development a
real possibility
· Speed: Enterprise Architect is quick to load and a spectacularly fast performer, even with large models
· Scalability: Enterprise Architect supports single users and the development of small models, or many
concurrent users developing extremely large models, with equal ease
· Usability: many of our users agree, Enterprise Architect gets you started and productive quickly, with a rich
user interface and the ability to create patterns, templates, model views and 'favorites' collections of
commonly-used elements and diagrams
For a complete list of the new features of the latest version of Enterprise Architect, click on the Help | Read
Me menu option.
Enterprise Architect is available in three editions: Corporate, Professional and Desktop, each of which offers
a different range of features. For a comparison of the Enterprise Architect editions, see the Differences
Between Editions 9 topic.
Getting Started With Enterprise Architect
14. 10 Enterprise Architect UML Tool | What is Enterprise Architect? | Differences Between Editions
Functionality Corporate Edition Professional Desktop Edition
Edition
Requirements Management P P P
Element List (Tabular Editing) P P P
Metadata/Repository Search P P P
Project Discussion Forum P P X
Project Data Transfer P X X
XMI Import and Export, Version 2.1, 1.2, 1.1, 1.0 P P P
MDA-Style Transformations P P X
Visualization (Debug) Of Applications P P X
Document Generation - RTF & HTML P P P
Report Customization - WYSIWYG Rich-text
Templates P P X
State Chart Editor P P P
Link RTF Documents To UML Elements P X X
Enterprise Architect Corporate Edition
Aimed at larger development teams, the Corporate edition supports everything in the Desktop and
Professional versions, plus the ability to connect to MySQL, SQL Server, PostgreSQL, Sybase Adaptive
Server Anywhere and Oracle 9i, 10g or 11g DBMS back ends as the shared repository. This provides
additional scalability and improved concurrency over the shared .EAP file approach to model sharing. User
security, user logins, user groups and user level locking of elements, user/group based security (with locking
at diagram and element levels) are also supported. Security comes in two modes: in the first mode, all
elements are considered 'writeable' until explicitly locked by a user or group; in the second mode, all elements
are considered locked until checked out with a user lock.
The Corporate edition is available in either standalone (fixed license) or Floating License form. The Corporate
Floating License arrangement is particularly useful for companies that manage a central store of license keys.
Floating license keys can be used by different employees over time, temporarily or permanently.
Enterprise Architect Professional Edition
Aimed at work groups and developers, the Professional edition supports shared projects through replication
and shared network files. This edition has an ActiveX interface for interrogating Enterprise Architect projects
and extracting information in XMI format. The Professional edition fully supports code import/export and
synchronization of model elements with source code. It enables reverse engineering SQL Server, MS Access
and Oracle 9i, 10g or 11g databases. Support for MDG Technologies and MDG Link (sold separately) is
included with the Professional version of Enterprise Architect. The shared repository available in the
Professional edition is restricted to the .EAP file format (JET database).
Enterprise Architect Desktop Edition
The Desktop edition is targeted at single developers producing UML analysis and design models.
Getting Started With Enterprise Architect
16. 12 Enterprise Architect UML Tool | What is Enterprise Architect? | Sparx Systems MDG Add-Ins
1.1.4 Sparx Systems MDG Add-Ins
Enterprise Architect is the core for a range of Model Driven Generation (MDG) Add-Ins that enable you to
extend its modeling capabilities to use more specialized, niche frameworks and profiles. Some of these, such
as ICONIX, BPMN, Data Flow Diagrams and Mind Mapping, are already provided with the Enterprise Architect
installer (see UML Modeling with Enterprise Architect.- UML Modeling Tool).
Enterprise Architect provides support for downloading MDG Technologies from external system files or
websites, or for creating your own easily with the Enterprise Architect MDG Technology Wizard. For further
information, see SDK for Enterprise Architect.
Sparx Systems also market a number of MDG products, as follows:
· MDG Technology For:
· Zachman Framework
· The Open Group Architecture Framework (TOGAF)
· Department Of Defense Architecture Framework - Ministry Of Defence Architecture Framework
(DoDAF-MODAF)
· Data Distribution Service (DDS)
· Systems Modeling Languages (SysML)
· Python (for Enterprise Architect versions 4.5 to 5.0, integrated in later versions) (* free product! *)
· CORBA (* free product! *)
· Java Beans (* free product! *)
· Testing (* free product! *)
· MDG Integration For:
· Eclipse 3.3
· Visual Studio 2005 and 2008
· Siemens PLM Teamcenter Systems Engineering (TcSE)
· MDG Link For
· Eclipse
· Visual Studio.Net
· Microsoft Visio (* free product! *)
· Telelogic DOORS
Over time, this list is being extended to include further products.
Product Information
For the latest list of available Add-Ins and an introduction to each product, including details of pricing,
purchasing and download options, see the Products Page on the Sparx Systems website. When you purchase
one of the Add-Ins, you receive one or more license keys and instructions on obtaining, installing and
registering the product.
The information page for most products provides a link to download the product User Guide in .pdf format.
The product User Guide can also be displayed as a .chm file online within the product itself. To access this
online help in Enterprise Architect, select the Add-Ins | <productname> | Help menu option.
Getting Started With Enterprise Architect
18. 14 Enterprise Architect UML Tool | Help and Support | Available Helpfile Formats
1.2.1 Available Helpfile Formats
You can access the latest Enterprise Architect help files from the following locations:
· .CHM format: www.sparxsystems.com/bin/EA.chm
· .CHM format inside a .ZIP file: www.sparxsystems.com/bin/EAHelp.zip
· .PDF format: www.sparxsystems.com/bin/EAUserGuide.pdf
· .HTML format: www.sparxsystems.com/EAUserGuide/index.html
Version and release date information for the help files can be found at:
· www.sparxsystems.com/ea_downloads.htm#Helpfiles, or
· www.sparxsystems.com/registered/reg_ea_down.htm#Helpfiles (registered users).
Getting Started With Enterprise Architect
20. 16 Enterprise Architect UML Tool | Formal Statements |
1.3 Formal Statements
Please take the time to read the following legal statements concerning Sparx Systems Enterprise Architect:
· Software Copyright Notice 17
· Enterprise Architect End User Licensing Agreement 18
· Acknowledgement of Trademarks 21
Spark Systems would also like to gratefully acknowledge contributions 22 to the development of Enterprise
Architect.
Getting Started With Enterprise Architect
22. 18 Enterprise Architect UML Tool | Formal Statements | End User License Agreement
1.3.2 End User License Agreement
Enterprise Architect - UML CASE Tool - Desktop, Professional and Corporate editions, Version 7.1
Copyright (C) 1998-2008 Sparx Systems Pty Ltd. All Rights Reserved
IMPORTANT- READ CAREFULLY: This End User License Agreement ("EULA") is a legal agreement
between YOU as Licensee and SPARX for the SOFTWARE PRODUCT identified above. By installing,
copying, or otherwise using the SOFTWARE PRODUCT, YOU agree to be bound by the terms of this EULA. If
YOU do not agree to the terms of this EULA, promptly return the unused SOFTWARE PRODUCT to the place
of purchase for a full refund.
The copyright in the SOFTWARE PRODUCT and its documentation is owned by Sparx Systems Pty Ltd A.B.N
38 085 034 546. Subject to the terms of this EULA, YOU are granted a non-exclusive right for the duration of
the EULA to use the SOFTWARE PRODUCT. YOU do not acquire ownership of copyright or other intellectual
property rights in any part of the SOFTWARE PRODUCT by virtue of this EULA.
Your use of this software indicates your acceptance of this EULA and warranty.
DEFINITIONS
In this End User License Agreement, unless the contrary intention appears:
· "ACADEMIC EDITION" means an edition of the Software Product purchased for educational purposes at
an academic discount price.
· "EULA" means this End User License Agreement.
· "SPARX" means Sparx Systems Pty Ltd A.B.N 38 085 034 546.
· "Licensee" means YOU, or the organization (if any) on whose behalf YOU are taking the EULA.
· "Registered Edition of Enterprise Architect" means the edition of the SOFTWARE PRODUCT which is
available for purchase from the web site: http://www.sparxsystems.com/products/ea/purchase.html.
following the thirty day free evaluation period.
· "SOFTWARE PRODUCT" or "SOFTWARE" means Enterprise Architect, UML Case Tool, Desk top,
Professional and Corporate editions, which includes computer software and associated media and printed
materials, and may include online or electronic documentation.
· "Support Services" means email based support provided by SPARX, including advice on usage of
Enterprise Architect, investigation of bugs, fixes, repairs of models if and when appropriate and general
product support.
· "SPARX support engineers" means employees of SPARX who provide on-line support services.
· "Trial edition of Enterprise Architect" means the edition of the SOFTWARE PRODUCT which is available
free of charge for evaluation purposes for a period of 30 days.
· "EA LITE" means the LITE version of Enterprise Architect that is distributed free of charge as a read-only
viewer of .EAP files.
GRANT OF LICENSE
In accordance with the terms of this EULA YOU are granted the following rights:
a) To install and use one copy of the SOFTWARE PRODUCT or, in its place, any prior version for the same
operating system, on a single computer. As the primary user of the computer on which the SOFTWARE
PRODUCT is installed, YOU may make a second copy for your exclusive use on either a home or portable
computer.
b) To store or install a copy of the SOFTWARE PRODUCT on a storage device, such as a network server,
used only to install or run the SOFTWARE PRODUCT over an internal network. If YOU want to increase
the number of users entitled to concurrently access the SOFTWARE PRODUCT, YOU must notify SPARX
and agree to pay an additional fee.
c) To make copies of the SOFTWARE PRODUCT for backup and archival purposes.
EVALUATION LICENSE
The Trial version of Enterprise Architect is not free software. Subject to the terms of this agreement, YOU are
hereby licensed to use this software for evaluation purposes without charge for a period of 30 days.
Upon expiration of the 30 days, the Software Product must be removed from the computer. Unregistered use
of Enterprise Architect after the 30-day evaluation period is in violation of Australian, U.S. and international
copyright laws.
SPARX may extend the evaluation period on request and at their discretion.
Getting Started With Enterprise Architect
24. 20 Enterprise Architect UML Tool | Formal Statements | End User License Agreement
modifying such a term, such term shall be deemed to be included in this EULA. However, the liability of
SPARX for any breach of such term shall if permitted by legislation be limited, at SPARX's option to any one or
more of the following upon return of the SOFTWARE PRODUCT and a copy of the receipt:
· If the breach relates to the SOFTWARE PRODUCT:
· the replacement of the SOFTWARE PRODUCT or the supply of an equivalent SOFTWARE PRODUCT
· the repair of such SOFTWARE PRODUCT
· the payment of the cost of replacing the SOFTWARE PRODUCT or of acquiring an equivalent
SOFTWARE PRODUCT, or
· the payment of the cost of having the SOFTWARE PRODUCT repaired.
· If the breach relates to services in relation to the SOFTWARE PRODUCT:
· the supplying of the services again, or
· the payment of the cost of having the services supplied again.
TRADEMARKS
All names of products and companies used in this EULA, the SOFTWARE PRODUCT, or the enclosed
documentation may be trademarks of their corresponding owners. Their use in this EULA is intended to be in
compliance with the respective guidelines and licenses.
Windows, Windows NTâ, Windows ME, Windows XP, Windows Vista, Windows 2000 and Windows 2003 are
trademarks of Microsoftâ.
GOVERNING LAW
This agreement shall be construed in accordance with the laws of the Commonwealth of AUSTRALIA.
Getting Started With Enterprise Architect
28. 24 Enterprise Architect UML Tool | If You Have the Trial Version | Order Enterprise Architect
1.4.1 Order Enterprise Architect
Enterprise Architect is designed, built and published by Sparx Systems and available from Sparx Systems.
The trial version of Enterprise Architect is identical to the registered edition with the exception that all diagrams
are output to files with an embedded watermark. The trial software stops working after the trial period has
elapsed. On purchase of a suitable license or licenses, the registered version is made available for download.
The latest information on pricing and purchasing is available at: Sparx Systems Purchase/Pricing Website.
Purchase Options
· On-line using a secure credit-card transaction; see: Pricing and Purchase Options
· Fax
· Check or equivalent
· Bank transfer.
For more information, contact sales@sparxsystems.com.
Getting Started With Enterprise Architect
30. 26 Enterprise Architect UML Tool | If You Have the Trial Version | Register a Full License
1.4.3 Register a Full License
The trial version of Enterprise Architect available for download is an evaluation version only. For the full
version you must first purchase one or more licenses. The license code supplied determines which edition
(Desktop, Professional or Corporate) is activated on installation.
Register Enterprise Architect
To obtain the full version and complete the registration process, follow the steps below:
1. Purchase one or more licenses.
Once you have paid for a licensed version of Enterprise Architect, you receive (via email or other
suitable means):
· a license key or keys
· the address of a web site from which to download the full version.
2. Save the license key and download the latest full install package from the address supplied.
3. Run the setup program to install the full version.
4. Open Enterprise Architect from the Start Menu or desktop icon.
5. Select the Help | Register and Manage License Key(s) menu option. The License Management dialog
displays.
6. Click on the Add Key button. The Enter Registration dialog displays.
7. In the Copy registration key... field, copy the license key, including the { and } bracket characters (use
Copy and Paste from an email to avoid typing mistakes).
8. Click on the OK button. The full version is now activated on your PC, and Enterprise Architect displays
the message: Registration succeeded! Thank you for purchasing Enterprise Architect <type> Edition.
Getting Started With Enterprise Architect
32. 28 Start UML Modeling | |
2 Start UML Modeling
This guide provides two options to help you gain an understanding of how to perform UML modeling with
Enterprise Architect:
· A brief outline of the types of work and tasks 29 that Enterprise Architect supports, so that you can quickly
locate the more detailed explanations of subjects that interest you
· A Quick Start tutorial to Enterprise Architect that illustrates how to open and create new projects, navigate
Enterprise Architect, and use Enterprise Architect to perform various tasks in system and process
modeling. It leads on to examining the Enterprise Architect User Interface and work areas applicable to
certain Project Roles 47 .
At various points throughout the Enterprise Architect Help, there are further Quick Start topics and sections
to help you use the system immediately to experiment with a feature of Enterprise Architect. Use the Help
Index tab and search for Quick Start to locate these topics.
Getting Started With Enterprise Architect
34. 30 Start UML Modeling | Work with Enterprise Architect |
The scope of your project management might include upgrades to Enterprise Architect and installation of
related technologies. In this case, also see License Management 63 .
Extending Enterprise Architect Facilities
Experienced Technology Developers can develop customized additions to the functionality already present
within Enterprise Architect. These additions include:
· UML Profiles and Stereotypes
· UML Patterns
· Code Templates
· Tagged Value Types
· MDG Technologies and
· Enterprise Architect Add-Ins.
By creating these extensions the Technology Developer can customize the Enterprise Architect modeling
process to specific tasks and speed up development.
For more information, see SDK For Enterprise Architect.
Getting Started With Enterprise Architect
36. 32 Start UML Modeling | Work with Enterprise Architect | Manage UML Models
2.1.2 Manage UML Models
To manage the UML models in your projects, you both protect and manage the model data itself, and
communicate information on the data in the form of documentation and reports.
UML Model Management
In managing models, you control:
· The model files in a Microsoft JET database or (Corporate edition) in one of a range of DBMS repositories
· Model data integrity
· Development of the models in a shared, team environment
· Versions of the model, ensuring that work on different areas of the model is coordinated and synchronous
rather than conflicting
· User security
· Transfer of value data and reference data between projects and models
· Changes to model data, using model auditing, Baselines and a differencing utility that enables you to roll
back changes to a previous state
· Model upgrades
· Replication of models for parallel development (.EAP repositories only)
· Extensions of development with Add-Ins and the Enterprise Architect Automation Interface
You can also have recorded discussion and communication of decisions using the Project Discussion
Forum.
For further information, see UML Model Management.
Generating Model Documentation
You can generate documentation from the components of your model, in RTF or HTML format. You can also
generate a range of RTF reports on your model.
For more information, see Report Creation in UML Models.
Getting Started With Enterprise Architect
38. 34 Start UML Modeling | Quick Start - Create a Project |
2.2 Quick Start - Create a Project
Tutorial
Welcome to Enterprise Architect! This quick-start tutorial helps you start UML modeling with Enterprise
Architect.
As you read through the Quick Start sections, have Enterprise Architect open so that you can explore and try
out the functions described. By the end of the Quick Start tutorial you should be able to begin modeling your
own software projects with Enterprise Architect and UML.
The tutorial guides you through creating a simple project. Throughout the descriptions there are hyperlinks to
more detailed information on a range of topics. Follow these links if you would like more information, or ignore
them if you want to just follow the steps.
Your task is to create a new project and then add a View, package, diagram, elements and connectors.
Create a Project
When you start Enterprise Architect it opens at the Start Page:
1. Click on the Create a New Project... option. The New Project dialog displays.
2. In the File name field, type a meaningful name for the project and click on the Save button to create the
project file. The Model Wizard displays.
3. You now select one or more model templates (these provide you with the basic structures - packages
and diagrams - for your project, as well as references to useful help files to get you started). Select the
checkbox of each model that interests you.
4. Click on the OK button. Enterprise Architect creates your project and displays it in the Project Browser,
on the right-hand side of the screen.
Note:
You could also quickly create a project by copying an existing base project provided with Enterprise Architect;
see the Copy a Base Project topic in UML Model Management.
Expand The Project
To navigate through your project, in the Project Browser click on the 'plus' icon against each folder or package
to expand it.
Getting Started With Enterprise Architect
40. 36 Start UML Modeling | Quick Start - Create a Project | Add a View to a Model
2.2.1 Add a View to a Model
A View is the highest-level container, or package, within a model. There are six types of View, five of which
represent conventional ways of categorizing the structures or purposes of a model, and one (Simple View) for
developing your own categorization.
To create a View, follow the steps below:
1. Right-click on your model name in the Project Browser. The context menu displays.
2. Select the New View menu option. The Create New View dialog displays.
3. In the Name field, type the name of the View.
4. In the Set View Icon Style panel, click on the radio button for the type of View to create.
5. If the model root node had been under version control, the Add to Version Control checkbox would
display, defaulted to selected. Ignore this for now.
6. Click on the OK button.
Add a Package To Your Model
Now that you have created a View in the model, you can add a package 37 and diagram to that View or any
other in the model, and then add elements and connectors (relationships).
Getting Started With Enterprise Architect
42. 38 Start UML Modeling | Quick Start - Create a Project | Add a Diagram to a Package
2.2.3 Add a Diagram to a Package
A diagram is a representation of the components or elements of your model and, depending on the type of
diagram, how those elements are connected or how they interact.
When you first create a project, Enterprise Architect provides simple examples of diagrams appropriate to your
selected model patterns, with annotations. You can edit these diagrams, but here we create an additional one.
Click on your new package and, in the Project Browser toolbar, click on the New Diagram icon .
The New Diagram dialog displays.
Note:
When you create a package, if you leave the Automatically add new diagram option selected, the New
Diagram dialog displays automatically.
Click on a diagram category in the Select From panel, and a diagram type in the Diagram Types panel, then
click on the OK button. Enterprise Architect adds a diagram object to the package, with the same name as the
package. It also opens the Diagram View for your diagram, in the center of the screen.
Add Elements to a Diagram and a Package
Now add some elements 39 .
Additional Information
For additional information on adding diagrams to a project, see the Add New Diagrams topic in UML Modeling
with Enterprise Architect – UML Modeling Tool.
Getting Started With Enterprise Architect
44. 40 Start UML Modeling | Quick Start - Create a Project | Add Connectors
2.2.5 Add Connectors
Connectors define specific relationships between specific elements, so you usually create them directly on the
diagram by dragging the required relationship type from the Enterprise Architect UML Toolbox. As for
elements, the Toolbox automatically presents the connector or relationship types appropriate to the type of
diagram.
Create two elements on the diagram. Click on a connector in the Toolbox, click on the source element in the
relationship, then drag across to the target element. This creates the selected connection between the two
elements. If you double-click on the connector, the connector Properties 41 dialog displays, and you can
define the characteristics of the relationship.
Tip:
Enterprise Architect has three very useful features:
· To find out more about the type of connector you have dragged on to a diagram, right-click on the
connector and select the UML Help menu option. This displays a Help page on the connector type.
· If you are creating several connectors of one type, after creating the first just click on the appropriate
source element and press [F3] to create the next connector of that type.
· As you drag a connector, you can press [Shift] to create a bend in the connector. If necessary, you can put
several bends in the connector line, pressing [Shift] every time you want to change direction. To roll back
the bends, keep holding the left mouse button down and press [Backspace] as many times as is
necessary.
Moving and Deleting Elements and Connectors
Having created a model with some components, you can move 43 those components around and delete 45
them. You should also know how to save 46 your work.
Additional Information
For additional information on creating a connector through the Project Browser, or with the Quick Linker, see
the Create Connector topic in UML Modeling with Enterprise Architect – UML Modeling Tool and the Create
Connections Between Elements topic in Using Enterprise Architect - UML Modeling Tool.
Getting Started With Enterprise Architect
46. 42 Start UML Modeling | Quick Start - Create a Project | Define Properties
should find out a bit more about the other facilities of the Enterprise Architect User Interface in Using
Enterprise Architect - UML Modeling Tool.
When you have finished exploring the User Interface topics, go to Quick Start - Project Tasks 47 to identify
areas of Enterprise Architect that provide particular support for your job role.
Getting Started With Enterprise Architect