Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Model Views Operations
From the Model Views window you can perform a number of operations to define the information you extract from the model and to further process that information, as described here.
Access View | Model Views
Operations
Operation |
Detail |
See also |
||||||||
---|---|---|---|---|---|---|---|---|---|---|
Define View Search |
When you:
These dialogs are identical. In the Name field, type a name for the View. In the Search field, either:
A custom SQL search statement should return the guid and type of the object found so that the system can search for the selected item in the Project Browser. SELECT ea_guid AS CLASSGUID, Object_Type AS CLASSTYPE, Name FROM t_object
If required, in the Search Term field type a specific value to search for. If you are working with the Corporate or extended versions of Enterprise Architect, and you want the search to run automatically and refresh the results, select the Refresh this search checkbox. The Frequency field has three sections, for hours, minutes and seconds; click on the appropriate section and use the up and down arrows at the end of the field to set the interval for refreshing the search results. You can also set the refresh to display a pop-up notification if the search results change. To do this, select the Notify me when new results found checkbox. Click on the OK button; the View is created (or updated) in a collapsed state. When you expand the View, the search executes and populates the View.
|
|
||||||||
Display Recent Postings |
If a new document is added to the Team Review, or an existing document is updated, that document is also added automatically to the Recent Team Reviews | <Connection> | Documents and Comments folder in the Model View. To open a document, double-click on the entry; the Team Review tab displays, showing the selected message. You can control how many documents are displayed, and for what period of time, using the Model Views context menu for the Recent Team Reviews folder.
|
|||||||||
Move Objects Into Favorites
|
Drag any required Package, diagram or element from the Project Browser into the required Favorites folder. |
|
||||||||
Move Objects Between Views |
Views and Favorites folders are fixed in the Views folder in which you create them, and you cannot move them. However, you can:
|
|
||||||||
Use Objects From Model Views |
To make use of an element, diagram or Package held in any View or Favorites folder, click on the item and drag it into a diagram or a Team Review posting The item behaves in the same way as if you dragged it from the Project Browser.
|
|||||||||
Create Documents containing Objects |
A very useful feature of the Model Views facility is the ability to drag separate items from the Views into an existing Linked Document. To do this you create your Linked Document, generate your Model View, and open the document and Model View as docked windows. You then drag the items - individually or as a multiple selection - from the View into the document, selecting one of two options:
If you select Insert as Hyperlink(s), a hyperlink is embedded in the document for each dragged object, linking to the object in the Project Browser. If you select Render as RTF, a prompt displays for you to select the RTF template (if any) from which to generate a small report on the dragged objects. You can select different templates for different objects. However, there needs to be compatibility between the selected object type (such as Diagram) and the RTF template used (such as Diagram report). You can have hyperlinked objects and RTF-rendered objects in the same document.
|
|||||||||
Export/Import Views |
You export Views to create an XML file that you can:
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.
|
|||||||||
Set Up a Technology-Defined View |
To set up the Technology-defined View for an MDG Technology, you:
Thereafter, any model for which the MDG Technology is active automatically displays those Views in a Technology-defined View.
|