inital plugin from webtools project
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.monitor.core / schema / requestListeners.exsd
diff --git a/archive/net.sourceforge.phpeclipse.monitor.core/schema/requestListeners.exsd b/archive/net.sourceforge.phpeclipse.monitor.core/schema/requestListeners.exsd
new file mode 100644 (file)
index 0000000..cf4c0c5
--- /dev/null
@@ -0,0 +1,115 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<!-- Schema file written by PDE -->\r
+<schema targetNamespace="net.sourceforge.phpeclipse.monitor.core">\r
+<annotation>\r
+      <appInfo>\r
+         <meta.schema plugin="net.sourceforge.phpeclipse.monitor.core" id="requestListeners" name="Request Listeners"/>\r
+      </appInfo>\r
+      <documentation>\r
+         This extension point is used to listen for new monitor traffic (requests), or changes to existing requests. The extension point will be called whenever the monitor adds, changes, or removes a request.\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <element name="extension">\r
+      <complexType>\r
+         <sequence>\r
+            <element ref="requestListener" 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="requestListener">\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;net.sourceforge.phpdt.monitor.core.IRequestListener&lt;/samp&gt;
+RequestListener instances of this type will delegate to instances of this class.\r
+               </documentation>\r
+               <appInfo>\r
+                  <meta.attribute kind="java" basedOn="net.sourceforge.phpdt.monitor.core.IParser"/>\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 request listener extension point:
+
+&lt;p&gt;
+&lt;pre&gt;
+&lt;extension point=&quot;net.sourceforge.phpdt.monitor.core.requestListeners&quot;&gt;
+  &lt;requestListener
+    id=&quot;com.example.requestListener&quot;
+    class=&quot;com.example.MyRequestListener&quot;/&gt;
+&lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+
+In the example above,\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;net.sourceforge.phpdt.monitor.core.IRequestListener&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