inital plugin from webtools project
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.monitor.ui / schema / viewers.exsd
diff --git a/archive/net.sourceforge.phpeclipse.monitor.ui/schema/viewers.exsd b/archive/net.sourceforge.phpeclipse.monitor.ui/schema/viewers.exsd
new file mode 100644 (file)
index 0000000..a175038
--- /dev/null
@@ -0,0 +1,128 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<!-- Schema file written by PDE -->\r
+<schema targetNamespace="net.sourceforge.phpeclipse.monitor.ui">\r
+<annotation>\r
+      <appInfo>\r
+         <meta.schema plugin="net.sourceforge.phpeclipse.monitor.ui" id="viewers" name="Content Viewers"/>\r
+      </appInfo>\r
+      <documentation>\r
+         This extension point is used to provide a viewer for a specific type of content. (e.g. a viewer for a particular image format)\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <element name="extension">\r
+      <complexType>\r
+         <sequence>\r
+            <element ref="viewer" 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="viewer">\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;IContentViewer&lt;/samp&gt;\r
+               </documentation>\r
+               <appInfo>\r
+                  <meta.attribute kind="java" basedOn="org.eclipse.wtp.server.core.model.IStartup"/>\r
+               </appInfo>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="label" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  a translatable name used to identify the content viewer\r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="type" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  \r
+               </documentation>\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 content viewer extension point:
+
+&lt;p&gt;
+&lt;pre&gt;
+&lt;extension point=&quot;net.sourceforge.phpeclipse.monitor.ui.viewers&quot;&gt;
+  &lt;viewer
+    id=&quot;com.example.byteviewer&quot;
+    class=&quot;com.example.ByteContentViewer&quot;
+    type=&quot;requestresponse&quot;
+    label=&quot;%byteView&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;net.sourceforge.phpdt.monitor.ui.IContentViewer&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