Show in Frame No Frame
Up Previous Next Title Page Index Contents Search

Managing projects
Default project
Filtering views
Expanding and contracting the hierarchy

3.2.1 Common features

All browsers share a similar appearance and some common behavior, such as project operations and list filtering. Figure 3–21 shows the Graph Browser as an example of the general browser window layout. In all browsers, the left-hand list shows all the projects that are currently opened in the MetaEdit+ client. Highlighted project names (like ‘Digital Watch’ in Figure 3–21) indicate which of the projects are currently selected for display in this browser. The middle and right-hand lists in the browser window show either the types or instances of design elements in the selected projects. Note that selecting a project only affects what is visible in this browser, and does not actually open or close any project.

Graph Browser

Figure 3–21. An example of a browser window.

Managing projects

Project management operations can be accessed via the project list’s pop-up menu. To open a project:
1)Open the project list’s pop-up menu with the right mouse button.
2)Choose Open... from the menu.

As a result a dialog opens with a list of possible projects to be opened (Figure 3–22). The projects available are those to which you have access rights, and which are not yet open. If a project has not yet been explicitly opened, but you have already referenced some data there (often graph types), the project will be marked with an asterisk ‘*’. Opening projects may take a little while, depending on their size.

Choosing project

Figure 3–22. A dialog for selecting projects to be opened.

Similarly, you can close projects by choosing Close... from the project list’s pop-up menu and selecting them in the list dialog that opens. Note that the current selections in the projects list are not related to which projects will be closed. If you close all projects, you will be prompted to open another project. If you close the default project, you will be prompted to choose another project as the default. After closing projects, any types in those projects will still be loaded; to clear them, close any windows using them and commit or abandon the current transaction. To close a project that is not explicitly opened, first open it explicitly.

You can also create new projects by selecting New... from the project list’s pop-up menu. Check with your system administrator about project creation and naming conventions. Note that you must remember to set the new project as default in order to add graphs and related design information to it.

It is also possible to rename and delete projects from the pop-up menu, and set users’ modeling rights in them, but this requires system administrator privileges. For more information about renaming and deleting projects, and project modeling rights, please refer to the ‘MetaEdit+ System Administrator Guide’.

Default project

The default project field shows in which project new graphs will be stored. New objects, graph representations and other design elements are automatically stored into the same project as their graphs.

Only one project can be set as the default (e.g. ‘Digital Watch’ in Figure 3–21) but multiple projects can be open for example for viewing and reuse purposes. Thus, the default project setting is generally the project that you are actually working on: i.e. in which you add new graphs.

You can set the default project by choosing the project name from the Default project pull-down list under the project list. Projects where you do not have modeling rights are shown in the list in italics.

Filtering views

To help browsing when there are many elements (types or instances) shown in the middle and right-hand lists, two additional fields at the bottom of the window can be used to set filters for the lists. By typing ‘T*’ in the field below the Graphs list (Figure 3–21), you can filter the list to show only instances starting with a capital letter T. Wildcards can be used: ‘*’ to represent any sequence of characters, and ‘#’ to represent any single character.

In hierarchical views, the parent items of items matching the filter will also be displayed, to maintain the hierarchy. E.g. in the IoT project Graph Browser showing all subgraphs, ‘*Purpose’ would show all graphs of type Thingsee Purpose, plus any Thingsee Profile graphs that are their parents.

A filter can contain multiple conditions, separated with ‘|’ for OR or prefixed with ‘^’ for AND-NOT. First the tree is built with all its items, and from that only items matching the OR conditions are included (along with any necessary parent items recursively), then any items matching AND-NOT conditions will be excluded (along with all their child items recursively). E.g. in the IoT project Graph Browser showing all subgraphs, ‘*Purpose^Boat*’ would show all graphs of type Thingsee Purpose, except those which are children of ‘Boat: Thingsee Profile’.
->Note that where the tree is built from data that is not a strict tree, the same element can appear as multiple items in the tree. Each such item is treated separately here: excluding or including on the basis of being a child or parent item only affects that particular item in the tree, and items for the same element may be included or excluded differently elsewhere in the tree.

Expanding and contracting the hierarchy

You can expand branches individually in the middle list’s hierarchy tree view by clicking their + icon, or expand the whole tree by pressing the Expand button (Figure 3–23) that is located next to the Tree pull-down list.

Expand button

Figure 3–23. Expand button.

You can also expand the currently selected branch with the ‘+’ key on the numeric keypad, contract it with ‘-’, or fully expand it with ‘*’.

Press the Expand button with Shift held down to select a specific number of hierarchy levels to be shown.

Show in Frame No Frame
Up Previous Next Title Page Index Contents Search