blob: f4cfcacad6cfff453a220daa71bb43aeb525125e [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>
6 <meta.schema plugin="org.eclipse.wst.server.ui" id="editorActions" name="Editor Actions"/>
7 </appInfo>
8 <documentation>
9 This extension point provides a way to add actions to the toolbar of an existing server editor.
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>
17 <sequence>
deboerf5c03a12006-11-29 15:15:35 +000018 <element ref="editorAction" minOccurs="1" maxOccurs="unbounded"/>
ndaib94eb262004-10-13 15:55:37 +000019 </sequence>
20 <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="editorAction">
45 <annotation>
46 <appInfo>
47 <meta.element labelAttribute="name"/>
48 </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 action
ndaib94eb262004-10-13 15:55:37 +000058 </documentation>
59 </annotation>
60 </attribute>
61 <attribute name="class" type="string" use="required">
62 <annotation>
63 <documentation>
deboer3fb382d2005-04-19 16:13:42 +000064 specifies the fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.wst.server.ui.internal.provisional.ServerEditorActionFactoryDelegate&lt;/samp&gt;.
ndaib94eb262004-10-13 15:55:37 +000065 </documentation>
66 <appInfo>
deboer3fb382d2005-04-19 16:13:42 +000067 <meta.attribute kind="java" basedOn="org.eclipse.wst.server.ui.internal.provisional.ServerEditorActionFactoryDelegate"/>
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="name" type="string">
79 <annotation>
80 <documentation>
deboer9534e5a2006-04-28 04:25:20 +000081 a translatable name used to identify this action
ndaib94eb262004-10-13 15:55:37 +000082 </documentation>
deboer7502f5e2005-04-22 15:55:23 +000083 <appInfo>
84 <meta.attribute translatable="true"/>
85 </appInfo>
ndaib94eb262004-10-13 15:55:37 +000086 </annotation>
87 </attribute>
88 <attribute name="order" type="string">
89 <annotation>
90 <documentation>
deboer9534e5a2006-04-28 04:25:20 +000091 an integer that specifies an absolute ordering of the action relative to other actions
ndaib94eb262004-10-13 15:55:37 +000092 </documentation>
93 </annotation>
94 </attribute>
95 </complexType>
96 </element>
97
98 <annotation>
99 <appInfo>
lmandel5773ece2005-11-29 06:02:22 +0000100 <meta.section type="since"/>
101 </appInfo>
102 <documentation>
103 &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
104 </documentation>
105 </annotation>
106
107 <annotation>
108 <appInfo>
ndaib94eb262004-10-13 15:55:37 +0000109 <meta.section type="examples"/>
110 </appInfo>
111 <documentation>
deboer81b35dd2006-02-13 14:45:58 +0000112 The following is an example of an editor action extension point:
deboer7b502002005-10-04 19:24:59 +0000113
deboer7b502002005-10-04 19:24:59 +0000114&lt;pre&gt;
deboer81b35dd2006-02-13 14:45:58 +0000115 &lt;extension
116 point=&quot;org.eclipse.wst.server.ui.editorActions&quot;&gt;
117 &lt;page
118 id=&quot;com.example&quot;
119 order=&quot;20&quot;
120 name=&quot;%editorAction&quot;
121 typeIds=&quot;com.example.*&quot;
122 class=&quot;com.example.ExampleEditorAction&quot;/&gt;
123 &lt;/extension&gt;
deboer7b502002005-10-04 19:24:59 +0000124&lt;/pre&gt;
ndaib94eb262004-10-13 15:55:37 +0000125 </documentation>
126 </annotation>
127
128 <annotation>
129 <appInfo>
130 <meta.section type="apiInfo"/>
131 </appInfo>
132 <documentation>
133
134 </documentation>
135 </annotation>
deboer81b35dd2006-02-13 14:45:58 +0000136
lmandeleef96112005-12-09 22:43:22 +0000137 <annotation>
138 <appInfo>
139 <meta.section type="implementation"/>
140 </appInfo>
141 <documentation>
142
143 </documentation>
144 </annotation>
ndaib94eb262004-10-13 15:55:37 +0000145
146 <annotation>
147 <appInfo>
148 <meta.section type="copyright"/>
149 </appInfo>
150 <documentation>
deboer7b502002005-10-04 19:24:59 +0000151 Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
152All rights reserved. This program and the accompanying materials are made
153available under the terms of the Eclipse Public License v1.0 which accompanies
154this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +0000155&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 +0000156 </documentation>
157 </annotation>
158
159</schema>