| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.gmf.runtime.emf.core"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.gmf.runtime.emf.core" id="Pathmaps" name="Path Maps"/> |
| </appInfo> |
| <documentation> |
| 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. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="pathmap"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="pathmap"> |
| <annotation> |
| <documentation> |
| Specifies a path map variable to be registered with the MSL. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The variable name. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="plugin" type="string"> |
| <annotation> |
| <documentation> |
| The plugin containing the path, if different from the plug-in defining the extension. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="path" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The path, relative to the plug-in location (as indicated by the <tt>plugin</tt> attribute if specified, or the current plug-in if not). |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 6.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| <p> |
| 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. |
| </p> |
| <pre> |
| <extension |
| id="UML2Libraries" |
| name="UML2 Libraries" |
| point="org.eclipse.gmf.runtime.emf.core.Pathmaps"> |
| <pathmap |
| name="UML2_LIBRARIES" |
| plugin="org.eclipse.uml2.resources" |
| path="libraries"> |
| </pathmap> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| There is no API associated with this extension point. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2003, 2005 IBM Corporation and others.<br> |
| 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 |
| <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| |
| </documentation> |
| </annotation> |
| |
| </schema> |