Model Registry Property Page

The Model Registry Property Page provides the user interface at which modelers can register models for access by their accessor names.

The Property Page may be accessed by invoking Properties from the right button menu of any resource within a project to which the Model Registry Nature has been added.

The table displays all registrations applicable to the resource for which the Properties are being displayed. Model Registrations are hierarchical, so registrations defined in parent resources (folders or project) are also shown but with a grey background. The registrations are shown one registration per line.

Columns

Defined For

The Defined For column displays the resource for which the registration is defined, and an icon indicating whether the resource is a project, folder or file.

If that resource is the same as that for which the Properties are displayed, the registration is shown with a white background and may be edited.

If that resource is a parent of that for which the Properties are displayed, the registration is shown with a grey background and cannot be edited. It is necessary to invoke Properties for the parent resource directly, to edit the registration.

Name

The Name column defines the value of the accessor that may be used as the reference for resolution to the physical resource.

Resource name

The Resource name column defines the physical resource that is returned in response to resolution of the accessor name.

Serialization

The serialization defines the model file format of the physical resource.

The default XML serialization is appropriate for an XML model file format, whose detailed format may be identified from the namespace of the root XML element. Ecore is supported directly by the Model Registry. Further XML formats may be defined using the model_content extension point. The UMLX QVT plug-in adds support for EMOF models and for OCL and QVT models that extend EMOF.

Non-XML serializations may also be used, provided a conversion to Ecore has been defined using the model_serialization extension point. The UMLX KM3 plug-in adds support for the KM3 textual variant of Ecore.

Widgets

Accessor Kind

The Accessor Kind combo box selects which Model Registry is displayed.

The Model Name Accessor Kind provides the registry of resources with respect to an informal model name.

The URI Accessor Kind provides the registry of resources with respect to a URI.

Further Accessor Kinds may be defined by the accessor_kind extension point.

New...

The New... button activates the Model Registration Dialog to allow a new registration to be made.

Edit...

The Edit... button activates the Model Registration Dialog to allow a selected registration to be edited.

Remove

The Remove button removes selected registrations.

Revert

The Revert button restores the context to when Apply was most recently invoked. If Apply has not been used, the Model Registry page reverts to its initial display.

Apply

The Apply button causes the displayed registrations to be written to the registry.

OK

The OK button causes the displayed registrations to be written to the registry before closing the Properties Page.

Cancel

The Cancel button closes the Properties Page without updating the registry.