Path Maps

com.ibm.xtools.emf.msl.Pathmaps

6.0

Extension point for the definition of path map variables. Path map variables allow for portability of URIs, in similar fashion to path Eclipse's core path variables. The actual location indicated by a URI depends on the run-time binding of the path variable. Thus, different environments can work with the same resource URIs even though the resources are stored in different physical locations.

<!ELEMENT extension (pathmap)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT pathmap EMPTY>

<!ATTLIST pathmap

name   CDATA #REQUIRED

plugin CDATA #IMPLIED

path   CDATA #REQUIRED>

Specifies a path map variable to be registered with the MSL.



This example illustrates the definition of a path map to locate libraries in the org.eclipse.uml2. Using this path map, URIs such as "pathmap://UML2_LIBRARIES/Ecore.library.uml2" can be used to reference UML2 library resources.

   

<extension id=

"UML2Libraries"

name=

"UML2 Libraries"

point=

"com.ibm.xtools.emf.msl.Pathmaps"

>

<pathmap name=

"UML2_LIBRARIES"

plugin=

"org.eclipse.uml2.resources"

path=

"libraries"

>

</pathmap>

</extension>

There is no API associated with this extension point.