Initial version from the webtools project; sligthly modified for phpeclipse
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / schema / urlMap.exsd
diff --git a/net.sourceforge.phpeclipse.webbrowser/schema/urlMap.exsd b/net.sourceforge.phpeclipse.webbrowser/schema/urlMap.exsd
new file mode 100644 (file)
index 0000000..6b8aea1
--- /dev/null
@@ -0,0 +1,112 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<!-- Schema file written by PDE -->\r
+<schema targetNamespace="org.eclipse.webbrowser">\r
+<annotation>\r
+      <appInfo>\r
+         <meta.schema plugin="org.eclipse.webbrowser" id="urlMap" name="URL Mapping"/>\r
+      </appInfo>\r
+      <documentation>\r
+         This extension point provides a way to map URLs (Strings) entered in the internal Web browser to another URL. For instance, it can be user to map the word &quot;eclipse&quot; to &quot;http://www.eclipse.org&quot;.\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <element name="extension">\r
+      <complexType>\r
+         <sequence>\r
+            <element ref="urlMap" minOccurs="0" maxOccurs="unbounded"/>\r
+         </sequence>\r
+         <attribute name="point" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  a fully qualified identifier of the target extension point\r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="id" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  an optional identifier of the extension instance\r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="name" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  an optional name of the extension instance\r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+      </complexType>\r
+   </element>\r
+\r
+   <element name="urlMap">\r
+      <annotation>\r
+         <appInfo>\r
+            <meta.element labelAttribute="name"/>\r
+         </appInfo>\r
+      </annotation>\r
+      <complexType>\r
+         <sequence>\r
+         </sequence>\r
+         <attribute name="id" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  specifies a unique identifier for this extension point\r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="class" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  specifies the fully qualified name of the Java class that implements &lt;samp&gt;IURLMap&lt;/samp&gt;.\r
+               </documentation>\r
+               <appInfo>\r
+                  <meta.attribute kind="java" basedOn="org.eclipse.webbrowser.IURLMap"/>\r
+               </appInfo>\r
+            </annotation>\r
+         </attribute>\r
+      </complexType>\r
+   </element>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="examples"/>\r
+      </appInfo>\r
+      <documentation>\r
+         The following is an example of a URL map extension point:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.webbrowser.urlMap&quot;&gt;
+  &lt;startup
+   id=&quot;com.example.ExampleIdentifier&quot;
+   class=&quot;com.example.ExampleURLMap&quot;/&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="apiInfo"/>\r
+      </appInfo>\r
+      <documentation>\r
+         Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the interface &lt;b&gt;org.eclipse.webbrowser.IURLMap&lt;/b&gt;.\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="copyright"/>\r
+      </appInfo>\r
+      <documentation>\r
+         Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
+All rights reserved. This program and the accompanying materials are made 
+available under the terms of the Common Public License v1.0 which accompanies 
+this distribution, and is available at 
+&lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;\r
+      </documentation>\r
+   </annotation>\r
+\r
+</schema>\r