D.18. Model Extension Definition Registry View (MED Registry View)
D.18. Model Extension Definition Registry View (MED Registry View) To open Teiid Designer's MED Registry View , click the main menu's Window > Show View > Other... and then click the Teiid Designer > Model Extension Registry view in the dialog. The Model Extension Registry view shows the currently registered MEDs. Registered MEDs can be applied to models in the workspace (see Managing Model Object Extensions). The Model Extension Registry view looks like this: Figure D.30. System Catalog View You can also open the view by clicking the MED Editor toolbar action in the right corner of shared sub-editor header section. For each registered MED, the namespace prefix, namespace URI, extended model class, version, and description is shown. In addition, a flag indicating if the MED is built-in is shown. The Model Extension Registry view has toolbar actions that register a workspace MED file, unregister a user defined MED, and copy a registered MED to the workspace. All these actions are also available via a context menu. A MED registry keeps track of all the MEDs that are registered in a workspace. Only registered MEDs can be used to extend a model. There are 2 different types of MEDs stored in the registry: Built-In MED - these are registered during Teiid Designer installation. These MEDs cannot be updated or unregistered by the user. User-Defined MED - these are created by the user. These MEDs can be updated, registered, and unregistered by the user. Note When a workspace MED is registered it can be deleted from the workspace if desired. The registry keeps its own copy. And a registered MED can always be copied back to the workspace by using the appropriate toolbar or context menu action.