Up Previous Next Title Page Index Contents

1.10 Type Manager

See also the Menu Reference, Section 3.10.

The Type Manager is a tool for exporting and deleting method specifications. It can be opened from the Launcher by choosing Metamodel | Type Manager.

The Type Manager window consists of two lists (Figure 1-39). The list on the left shows the graph types currently loaded into the MetaEdit+ client. The check box below the list allows you to choose whether all subtypes are shown in the list. The list on the right shows the types currently loaded into the MetaEdit+ client.

Figure 1-39. Type Manager.

Exporting method specifications

Method specifications (i.e. graph types and the other types they use) can be exported to a file to be transferred to another MetaEdit+ repository.

Method specifications can be exported either as just the set needed for some selected graph types, or as the set needed for all the types in selected projects. To export a set of graph types:
1)Make sure that you do not have uncommitted changes. If necessary, press the Commit button in the main Launcher.
2)Select the desired graph types in the list on the left.
3)Press the arrow () button between the lists to update the selections in the list on the right. All method components necessary for the selected graph types are selected in the list on the right. Loading and calculating the components may take a while.
4)Choosing Save Selected Types... from the pop-up menu of the list on the right.
5)Enter a file name *.pat for the exported method specifications.

If you want to save some types that are not chosen, you could make a temporary graph type which references them. Alternatively, to export method specifications from a specific project, choose Select Types in Projects... from the pop-up menu of the list on the right. Note that if the types in that project also use types from other projects, the export file will also include these other types. All types to be saved can be seen in the right list.

Method specifications can be imported into MetaEdit+ as a patch file filed in to the repository (see the System Administrator’s Guide for importing patches).

Type usage information

After selecting some graph types and pressing the arrow () button, you can browse the users of a type in the list on the right.
1)Select the type in the list on the right
2)Choose Show Type Users... from its pop-up menu
3)A list dialog opens showing all types which refer to the selected type. From the list you can select one or more referring types to inspect which types in turn use them, or open the types in a method development tool by holding shift down while pressing OK.

Note that the types shown as using this are only those that are currently selected in the list on the right. They are thus possibly only a subset of those which use this type in the whole repository. To see which of the currently loaded types use this type, edit the selected type by selecting Edit Type from its pop-up menu and press Info in its method development tool.

To see all using types in the whole repository, first open all projects (Repository | Open Project... in the Launcher), then view the Info for the type as above.

Removing types

Method specifications which are not needed can be removed from the repository by opening all projects, choosing the graph types you want to keep, and pressing the Delete Unselected Types button. See the System Administrator’s Guide for further details, and before performing this operation.

Up Previous Next Title Page Index Contents