inital plugin from webtools project
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.monitor.core / schema / requestListeners.exsd
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="net.sourceforge.phpeclipse.monitor.core">\r
4 <annotation>\r
5       <appInfo>\r
6          <meta.schema plugin="net.sourceforge.phpeclipse.monitor.core" id="requestListeners" name="Request Listeners"/>\r
7       </appInfo>\r
8       <documentation>\r
9          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
10       </documentation>\r
11    </annotation>\r
12 \r
13    <element name="extension">\r
14       <complexType>\r
15          <sequence>\r
16             <element ref="requestListener" 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="requestListener">\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;net.sourceforge.phpdt.monitor.core.IRequestListener&lt;/samp&gt;
62 RequestListener instances of this type will delegate to instances of this class.\r
63                </documentation>\r
64                <appInfo>\r
65                   <meta.attribute kind="java" basedOn="net.sourceforge.phpdt.monitor.core.IParser"/>\r
66                </appInfo>\r
67             </annotation>\r
68          </attribute>\r
69       </complexType>\r
70    </element>\r
71 \r
72    <annotation>\r
73       <appInfo>\r
74          <meta.section type="examples"/>\r
75       </appInfo>\r
76       <documentation>\r
77          The following is an example of a request listener extension point:
78
79 &lt;p&gt;
80 &lt;pre&gt;
81 &lt;extension point=&quot;net.sourceforge.phpdt.monitor.core.requestListeners&quot;&gt;
82   &lt;requestListener
83     id=&quot;com.example.requestListener&quot;
84     class=&quot;com.example.MyRequestListener&quot;/&gt;
85 &lt;/extension&gt;
86 &lt;/pre&gt;
87 &lt;/p&gt;
88
89 In the example above,\r
90       </documentation>\r
91    </annotation>\r
92 \r
93    <annotation>\r
94       <appInfo>\r
95          <meta.section type="apiInfo"/>\r
96       </appInfo>\r
97       <documentation>\r
98          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
99       </documentation>\r
100    </annotation>\r
101 \r
102    <annotation>\r
103       <appInfo>\r
104          <meta.section type="copyright"/>\r
105       </appInfo>\r
106       <documentation>\r
107          Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
108 All rights reserved. This program and the accompanying materials are made 
109 available under the terms of the Common Public License v1.0 which accompanies 
110 this distribution, and is available at 
111 &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
112       </documentation>\r
113    </annotation>\r
114 \r
115 </schema>\r