Double-click Behavior
6 The Main Menu
The Enterprise Architect Main menu provides mouse-driven access to many high-level functions related to the project life cycle, along with administration functions.
In order, the menus available are the:
· File menu · Edit menu · View menu · Project menu · Diagram menu · Element menu · Tools menu · Add-Ins menu · Settings menu · Window menu · Help 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.
35 40 41 44 49 51 54 67 68 69 70
The Main Menu | 34
6.1 The File Menu
The File menu provides options to create, open, close and save projects, and also to perform print tasks. Menu Option & Function
Keys
Use to
New Project [Ctrl]+[N] Create a new Enterprise Architect project (see UML Model Management). Open Project [Ctrl]+[O] Open a project (see UML Model Management).
Open Source File [Ctrl]+[Alt]+[O]
Open any type of source file (code, XML, DDL) for editing .
Close Project Close the current project.
Save Project As Save the current model with a new name, or create a desktop shortcut to the current model.
(This option is also active in the 'Lite', read-only edition of Enterprise Architect - see Getting Started With Enterprise Architect.)
Reload Current Project [Ctrl]+[Shift]+[F11]
Reload the current project (use in a multi-user environment to refresh the Project Browser). For more information on this option, see Version Control
Within UML Models Using Enterprise Architect.
Print Setup Configure your printer's settings. Page Setup Configure the page settings for printing.
Print Preview Preview how the currently displayed diagram prints. Print [Ctrl]+[P] Print the currently displayed diagram.
Enterprise Architect provides facilities to change the scale of the printed diagram (the number of pages it takes up) and to print or omit page headers and footers on the diagram. (See UML Modeling with Enterprise Architect –
UML Modeling Tool.)
Recent Files List Select from a list of the most recently opened projects.
Exit Exit Enterprise Architect.
6.1.1 Print Preview
When you select the File | Print Preview menu option, the display initially shows the first two pages on one screen, with no scroll bar. To toggle between this two-page display and a single-page display, click on the icon in the preview screen toolbar. In either mode, you can use the forward and back arrows to scroll through the pages of the diagram.
To display more than two pages on one screen, up to a maximum of ten pages, click on the Zoom Out button in the preview screen toolbar. The screen now includes the vertical scroll bar, which you can also use to scroll through the pages of the diagram.
147
36
The Main Menu | The File Menu 36
6.1.2 Save Model Copy or Shortcut
Enterprise Architect enables you to create a desktop shortcut (or Proxy file) to your model or (for a .EAP file) a direct copy of your model (you cannot create a copy of a DBMS model).
If you are using a database repository other than MS Access 97, 2000 or 2003, you can configure the shortcut to encrypt the password used to set up the connection between Enterprise Architect and the repository. The Enterprise Architect user does not have the real password, thereby preventing them from accessing the repository using other tools such as Query Analyzer or SQLPlus.
Each shortcut is a file containing the connection string for the model. However, the shortcut also defines views that Enterprise Architect should open as it opens the model, such as:
· The Model Search with a specific text string and search type 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 ea_guid AS CLASSGUID and the object type.
· A specific diagram
· The Relationship Matrix with a saved profile (See UML Modeling with Enterprise Architect – UML Modeling
Tool)
· The default Team Review .
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
40
121
128
· The module Changes diagram.
The project would then open with the Enterprise Architect work area showing the two diagram tabs and the Model Search tab, and with the Changes diagram displayed in the Diagram View .
Notes:
· These options are not valid for a copy of the model.
· If specified, the shortcut views override any default diagram defined for the model or current user.
· 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 to open (for example, if you are specifying a working environment in advance, perhaps for other users)
· Capture the current Enterprise Architect work environment to access the model at exactly the same point in exactly the same environment when you resume work.
6.1.2.1 Create Copy Or Shortcut
You can specifically define each view that your model shortcut should open; for example, if you are specifying a working environment in advance, perhaps for other users.
You can also capture the current Enterprise Architect work environment , which is useful if you want to
access the model at exactly the same point in exactly the same environment when you resume work. To specifically set up your start-up shortcut or take a copy of the model, follow the steps below:
1. On the Start Page, open the required project.
2. Select the File | Save Project As menu option. The Save As dialog displays.
3. Click on the [ ... ] (Browse) button at the end of the Target File field. The Save Project As dialog