added h4 (====) gheader template
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.monitor.ui / schema / viewers.exsd
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="net.sourceforge.phpeclipse.monitor.ui">\r
4 <annotation>\r
5       <appInfo>\r
6          <meta.schema plugin="net.sourceforge.phpeclipse.monitor.ui" id="viewers" name="Content Viewers"/>\r
7       </appInfo>\r
8       <documentation>\r
9          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
10       </documentation>\r
11    </annotation>\r
12 \r
13    <element name="extension">\r
14       <complexType>\r
15          <sequence>\r
16             <element ref="viewer" minOccurs="0" maxOccurs="unbounded"/>\r
17          </sequence>\r
18          <attribute name="point" type="string" use="required">\r
19             <annotation>\r
20                <documentation>\r
21                   a fully qualified identifier of the target extension point\r
22                </documentation>\r
23             </annotation>\r
24          </attribute>\r
25          <attribute name="id" type="string">\r
26             <annotation>\r
27                <documentation>\r
28                   an optional identifier of the extension instance\r
29                </documentation>\r
30             </annotation>\r
31          </attribute>\r
32          <attribute name="name" type="string">\r
33             <annotation>\r
34                <documentation>\r
35                   an optional name of the extension instance\r
36                </documentation>\r
37             </annotation>\r
38          </attribute>\r
39       </complexType>\r
40    </element>\r
41 \r
42    <element name="viewer">\r
43       <annotation>\r
44          <appInfo>\r
45             <meta.element labelAttribute="name"/>\r
46          </appInfo>\r
47       </annotation>\r
48       <complexType>\r
49          <sequence>\r
50          </sequence>\r
51          <attribute name="id" type="string" use="required">\r
52             <annotation>\r
53                <documentation>\r
54                   specifies a unique identifier for this extension point\r
55                </documentation>\r
56             </annotation>\r
57          </attribute>\r
58          <attribute name="class" type="string" use="required">\r
59             <annotation>\r
60                <documentation>\r
61                   specifies the fully qualified name of the Java class that implements &lt;samp&gt;IContentViewer&lt;/samp&gt;\r
62                </documentation>\r
63                <appInfo>\r
64                   <meta.attribute kind="java" basedOn="org.eclipse.wtp.server.core.model.IStartup"/>\r
65                </appInfo>\r
66             </annotation>\r
67          </attribute>\r
68          <attribute name="label" type="string" use="required">\r
69             <annotation>\r
70                <documentation>\r
71                   a translatable name used to identify the content viewer\r
72                </documentation>\r
73             </annotation>\r
74          </attribute>\r
75          <attribute name="type" type="string" use="required">\r
76             <annotation>\r
77                <documentation>\r
78                   \r
79                </documentation>\r
80             </annotation>\r
81          </attribute>\r
82       </complexType>\r
83    </element>\r
84 \r
85    <annotation>\r
86       <appInfo>\r
87          <meta.section type="examples"/>\r
88       </appInfo>\r
89       <documentation>\r
90          The following is an example of a content viewer extension point:
91
92 &lt;p&gt;
93 &lt;pre&gt;
94 &lt;extension point=&quot;net.sourceforge.phpeclipse.monitor.ui.viewers&quot;&gt;
95   &lt;viewer
96     id=&quot;com.example.byteviewer&quot;
97     class=&quot;com.example.ByteContentViewer&quot;
98     type=&quot;requestresponse&quot;
99     label=&quot;%byteView&quot;/&gt;
100 &lt;/extension&gt;
101 &lt;/pre&gt;
102 &lt;/p&gt;\r
103       </documentation>\r
104    </annotation>\r
105 \r
106    <annotation>\r
107       <appInfo>\r
108          <meta.section type="apiInfo"/>\r
109       </appInfo>\r
110       <documentation>\r
111          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
112       </documentation>\r
113    </annotation>\r
114 \r
115    <annotation>\r
116       <appInfo>\r
117          <meta.section type="copyright"/>\r
118       </appInfo>\r
119       <documentation>\r
120          Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
121 All rights reserved. This program and the accompanying materials are made 
122 available under the terms of the Common Public License v1.0 which accompanies 
123 this distribution, and is available at 
124 &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
125       </documentation>\r
126    </annotation>\r
127 \r
128 </schema>\r