blob: dbfa8b94344fbd79a1e733681e01c0da473ac6a2 [file] [log] [blame]
ndaib94eb262004-10-13 15:55:37 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.wst.server.ui">
4<annotation>
5 <appInfo>
deboer616c3a12005-03-08 16:28:10 +00006 <meta.schema plugin="org.eclipse.wst.server.ui" id="editorPageSections" name="Editor Page Sections"/>
ndaib94eb262004-10-13 15:55:37 +00007 </appInfo>
8 <documentation>
9 This extension point provides a way to add additional sections into an existing server editor page that contains insertion points.
10 </documentation>
11 </annotation>
12
deboer7502f5e2005-04-22 15:55:23 +000013 <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
14
ndaib94eb262004-10-13 15:55:37 +000015 <element name="extension">
16 <complexType>
deboerf5c03a12006-11-29 15:15:35 +000017 <sequence>
18 <element ref="section" minOccurs="1" maxOccurs="unbounded"/>
19 </sequence>
ndaib94eb262004-10-13 15:55:37 +000020 <attribute name="point" type="string" use="required">
21 <annotation>
22 <documentation>
23 a fully qualified identifier of the target extension point
24 </documentation>
25 </annotation>
26 </attribute>
27 <attribute name="id" type="string">
28 <annotation>
29 <documentation>
30 an optional identifier of the extension instance
31 </documentation>
32 </annotation>
33 </attribute>
34 <attribute name="name" type="string">
35 <annotation>
36 <documentation>
37 an optional name of the extension instance
38 </documentation>
39 </annotation>
40 </attribute>
41 </complexType>
42 </element>
43
44 <element name="section">
45 <annotation>
46 <appInfo>
deboerfc22f1a2007-10-17 21:59:55 +000047 <meta.element labelAttribute="id"/>
ndaib94eb262004-10-13 15:55:37 +000048 </appInfo>
49 </annotation>
50 <complexType>
51 <sequence>
deboerf5c03a12006-11-29 15:15:35 +000052 <element ref="enablement" minOccurs="0" maxOccurs="1"/>
ndaib94eb262004-10-13 15:55:37 +000053 </sequence>
54 <attribute name="id" type="string" use="required">
55 <annotation>
56 <documentation>
deboer9534e5a2006-04-28 04:25:20 +000057 specifies a unique identifier for this section
ndaib94eb262004-10-13 15:55:37 +000058 </documentation>
59 </annotation>
60 </attribute>
61 <attribute name="class" type="string" use="required">
62 <annotation>
63 <documentation>
deboera80cf182006-05-29 03:08:43 +000064 specifies the fully qualified name of the Java class that extends &lt;samp&gt;org.eclipse.wst.server.ui.editor.ServerEditorSection&lt;/samp&gt;
ndaib94eb262004-10-13 15:55:37 +000065 </documentation>
66 <appInfo>
deboer94801952006-05-23 20:07:30 +000067 <meta.attribute kind="java" basedOn="org.eclipse.wst.server.ui.editor.ServerEditorSection"/>
ndaib94eb262004-10-13 15:55:37 +000068 </appInfo>
69 </annotation>
70 </attribute>
71 <attribute name="typeIds" type="string">
72 <annotation>
73 <documentation>
deboer9534e5a2006-04-28 04:25:20 +000074 a comma separated list of server type ids. May include wildcards (*) at the end of an id
ndaib94eb262004-10-13 15:55:37 +000075 </documentation>
76 </annotation>
77 </attribute>
78 <attribute name="order" type="string">
79 <annotation>
80 <documentation>
deboer9534e5a2006-04-28 04:25:20 +000081 an integer that specifies an absolute ordering of the section relative to other sections
ndaib94eb262004-10-13 15:55:37 +000082 </documentation>
83 </annotation>
84 </attribute>
85 <attribute name="insertionId" type="string">
86 <annotation>
87 <documentation>
deboer9534e5a2006-04-28 04:25:20 +000088 the editor page insertion id that this section should be inserted into
ndaib94eb262004-10-13 15:55:37 +000089 </documentation>
90 </annotation>
91 </attribute>
92 </complexType>
93 </element>
94
95 <annotation>
96 <appInfo>
lmandel5773ece2005-11-29 06:02:22 +000097 <meta.section type="since"/>
98 </appInfo>
99 <documentation>
100 1.0
101 </documentation>
102 </annotation>
103
104 <annotation>
105 <appInfo>
ndaib94eb262004-10-13 15:55:37 +0000106 <meta.section type="examples"/>
107 </appInfo>
108 <documentation>
lmandel5773ece2005-11-29 06:02:22 +0000109 The following is an example of an editor page section extension point:
110
lmandel5773ece2005-11-29 06:02:22 +0000111&lt;pre&gt;
lmandeleef96112005-12-09 22:43:22 +0000112 &lt;extension
113 point=&quot;org.eclipse.wst.server.ui.editorPageSections&quot;&gt;
114 &lt;section
115 id=&quot;com.example&quot;
116 order=&quot;0&quot;
117 insertionId=&quot;com.example.left&quot;
118 typeIds=&quot;com.example.*&quot;
119 class=&quot;com.example.ExampleEditorSectionFactory&quot;/&gt;
120 &lt;/extension&gt;
lmandel5773ece2005-11-29 06:02:22 +0000121&lt;/pre&gt;
ndaib94eb262004-10-13 15:55:37 +0000122 </documentation>
123 </annotation>
124
125 <annotation>
126 <appInfo>
127 <meta.section type="apiInfo"/>
128 </appInfo>
129 <documentation>
deboera80cf182006-05-29 03:08:43 +0000130 Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that extends &lt;code&gt;org.eclipse.wst.server.ui.editor.ServerEditorPageSectionFactoryDelegate&lt;/code&gt;.
lmandeleef96112005-12-09 22:43:22 +0000131 </documentation>
132 </annotation>
deboer9534e5a2006-04-28 04:25:20 +0000133
lmandeleef96112005-12-09 22:43:22 +0000134 <annotation>
135 <appInfo>
136 <meta.section type="implementation"/>
137 </appInfo>
138 <documentation>
139
ndaib94eb262004-10-13 15:55:37 +0000140 </documentation>
141 </annotation>
142
143 <annotation>
144 <appInfo>
145 <meta.section type="copyright"/>
146 </appInfo>
147 <documentation>
lmandel5773ece2005-11-29 06:02:22 +0000148 Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
149All rights reserved. This program and the accompanying materials are made
150available under the terms of the Eclipse Public License v1.0 which accompanies
151this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +0000152&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
ndaib94eb262004-10-13 15:55:37 +0000153 </documentation>
154 </annotation>
155
156</schema>