Model Registry Getting Started

Step 1: Installing the Model Registry Support

You may have already done this, if you are reading this as part of the (UMLX) Model Registry User Guide accessible within Eclipse via Help->Help Contents.

The Model Registry is one of the tools provided by the Eclipse GMT/UMLX sub-project. It may be obtained from the UMLX Update site, which may be accessed by Help->Software Updates->Find and Install... Search for new features to install, then create a new Remote Site, called UMLX Update site to access http://download.eclipse.org/technology/gmt/umlx/updates. Click Finish, select your favorite mirror, then Select the Model Registry Feature for installation.

Step 2: Activating the Model Registry Nature

You must add the Model Registry Nature to your project if you want to bind model name accessors, such as informal names or URIs, to the physical location of those models.
Select your project in either the Navigator or Package Explorer views, and then select UMLX Natures->Add Model Registry Nature from the right button menu.

Step 3: Activating the Model Registry Project Page

Model name accessors may be bound for all resources within a project, or for all resources within a folders and its sub-folders or for an individual resource. Select the project, folder or resource for which you want to bind model accessors. Then select Properties from the right button menu, and select Model Registry from the property options.

The Property Page provides a GUI to maintain registrations.

Step 4: Use the registration

The registrations may be exploited by any tool that uses the ModelResolver API, which may be used to access Files in standalone applications, or Eclipse resources within an Eclipse application.

The KM3, OCL, QVTc and QVTr Editors all do this. If your favorite Eclipse tool does not, please bring the Model Registry to the attention of the tool developers.