#
UML Package Registry

###### Identifier:

org.eclipse.uml2.uml.generated_package

###### Since:

2.1.0

###### Description:

This extension point is used to register the location of a UML package against the namespace URI (Uniform Resource Identifier) of its Ecore representation.

###### Configuration Markup:

<!ELEMENT extension (profile*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - A fully qualified identifier of the target extension point.
- id - An optional identifier of the extension instance.
- name - An optional name of the extension instance.

<!ELEMENT profile EMPTY>

<!ATTLIST profile

uri CDATA #REQUIRED

location CDATA #IMPLIED>

- uri - A namespace URI that uniquely identifies an Ecore package.
- location - The absolute or relative URI of the UML profile represented by the Ecore package.

###### Examples:

Following is an example of how a profile location can be registered:

      <extension point="org.eclipse.uml2.uml.generated_package" >
         <package uri="http://www.eclipse.org/uml2/schemas/Ecore/4" location="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/>
      </extension>

###### API Information:

A profile location can also be registered from source code with `UMLPlugin#getEPackageNsURIToProfileLocationMap()` as follows:

      UMLPlugin.getEPackageNsURIToProfileLocationMap().put("http://www.eclipse.org/uml2/schemas/Ecore/4", URI.createURI("pathmap://UML_PROFILES/Ecore.profile.uml#_0"));

###### Supplied Implementation:

For any UML profile implementation generated by EMF, an extension to this extension point should be included in the manifest file to register the location of the profile.

Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html