Bundt User's Manual · Bundt Toolset version 1.0.1.0

Type Model window

A type model window shows the contents of a type model, providing menus and toolbars to manipulate it in various ways.

Overview

This is a screenshot of a type model window. Its major features are listed on the right.

Main menu

Grayed items in the table below behave exactly as in the Main Window menu.

File
    New
        Type Model... Shows the New Type Model dialog box to create a new type model.
        Instance Model... Shows the New Instance Model dialog box to create a new instance model.
    Open Model... Opens a model from a file.
    Open Recent Model Opens a recently used model.
    Save Model Saves the model to a file.
    Save Model As... Saves the model to a new file.
    Close Model Closes the model and the model window, asking to save any pending changes.
    Exit Exits the application.
Model
    Languages
        (language switcher) Shows a list of languages in the model, and allows switching between them.
        Edit Opens the Languages property page for the model.
    Tags Opens the Tags property page for the model.
    Clone... Clones the model, opening a new Type Model window for the new one.
    Validate Validates the model, showing any found issues on an Information Messages Results property page.
    Stats Gathers statistics on the model, and shows them on a Report property page.
    Extract Base Model Extracts the base model from which the model extends, and shows it on a new Type Model window. This menu item is disabled if the model does not extend from a base one.
    Find Routes... Shows the Find Routes between Classes dialog box to find direct or indirect association routes between two classes.
    Full-Text Search... Shows the Full-Text Search dialog box to find a text in the model by searching the selected elements.
    Lexical Compare... Shows the Compare dialog box to select another model to lexically compare against.
    Semantic Compare... Shows the Compare dialog box to select another model to semantically compare against.
    Seal Seals the model, making it read-only.
    Unseal As... Shows the Unseal As dialog box to provide a new version number for the unsealded model.
    Properties Shows the model properties on a Type Model property page.
View
    Bookmarks Opens the Bookmarks window.
    Show Alphabetically Reloads the model tree, showing model elements alphabetically sorted.
    Show by Package Reloads the model tree, showing model elements grouped by package, and then alphabetically sorted.
    Show Specialization Structure Reloads the model tree, showing model elements arranged according to their specialization structure.
    Show Inherited Toggles whether inherited features are shown in the model tree or not.
    Refresh Fully reloads the tree model and all open property pages. If you have made changes to a field in an open property page and haven't moved away from it, they will be lost.
Model element
    Bookmark Adds a bookmark for the selected model element, showing the the Bookmarks window if not already visible.
    Add New Package... Shows the Add New Package dialog box to enter the details of the package to be created.
    Add New Enumerated Type... Shows the Add New Enumerated Type dialog box to enter the details of the enumerated type to be created.
    Add New Class... Shows the Add New Class dialog box to enter the details of the class to be created.
    Merge... Shows the Merge Model Elements dialog box to specify what model elements should be merged.
    Delete Deletes the selected model element from the model.
    Properties Shows the properties of the selected model element on a property page of the appropriate kind.
Scripting
    New Scripting Session Creates a new scripting session and opens up a Scripting Session window to work with.
    Generate Scripts Shows the Generate Scripts from Type Model dialog box to select options before scripts are automatically generated for the type model.
Window
    Tile Tiles open windows using Windows default behaviour.
    Cascade Cascades open windows using Windows default behaviour.
    Close All Tabs Closes all property page tabs in the Type Model window.
    (window switcher) Shows a list of open windows in ModelDesigner, and allows switching between them.
Help
    Bundt User's Manual Opens a browser to the online Bundt User's Manual.
    Bundt Scripting Reference Opens a browser to the online Bundt Scripting Reference.
    ConML Technical Specification Opens a browser to the online ConML Technical Specification.
    About Shows the About dialog box with information about the application.

Main toolbar

The items in this toolbar are as follows.

Save Saves the model to a file.
Refresh Fully reloads the tree model and all open property pages. If you have made changes to a field in an open property page and haven't moved away from it, they will be lost.
Add New Package Shows the Add New Package dialog box to enter the details of the package to be created.
Add New Enumerated Type Shows the Add New Enumerated Type dialog box to enter the details of the enumerated type to be created.
Add New Class Shows the Add New Class dialog box to enter the details of the class to be created.

Model tree

The model tree shows the model elements in the model, organized according to the options selected under the View menu. Regardless of these options, model elements are always hierarchically arranged and alphabetically sorted within groups.

Model elements belonging to other elements are shown by nested nodes in the tree. For example, the attributes of a class are shown in an Attributes folder under the owner class.

You can right-click on most tree nodes to display a context menu containing commands for the associated model element. Double-clicking a tree node usually opens the corresponding model element property page.

Property pages

Property pages are used to display the details of a model element or some other piece of information. You can make changes to the data on a property page as needed, and the modifications will be saved to the model in memory. You will need to save the model to disk to make changes persistent.

There are property pages of many kinds, depending on the information that they display. Please see Property Pages for detailed information on each kind.

Switching property pages

Once open, a property page will stay there until you close it (or until you close the model). You can switch between open property pages by using the tabs at the bottom of the Model window.

To close a property page, click on the Close button () at the top right corner.

Property pages toolbar

Most property pages show a toolbar at the top. The usual items in this toolbar are as follows.

Refresh Reloads the data on to the property page. If you have made changes to a field and haven't moved away from it, they will be lost.
Show in Model Tree Finds the model element being displayed on the property page in the model tree, and selects it.
Delete Deletes the model element being displayed on the property page.

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020