blob: c05ce4007376353bc507a1c4ebc5e14a1a474f92 [file] [log] [blame]
dacarver58ad0f82008-10-01 03:29:54 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.2"?>
3<plugin>
4
5 <extension-point id="doctypes" name="%extensionPoint.doctypes" schema="schema/doctype.exsd"/>
6 <extension-point id="styles" name="%extensionPoint.styles" schema="schema/style.exsd"/>
7
Holger Voormann2089e332013-02-17 10:35:39 +01008
Florian Thienel28311762010-08-15 22:10:53 +02009 <extension point="org.eclipse.core.contenttype.contentTypes">
10 <content-type
11 base-type="org.eclipse.core.runtime.xml"
12 file-extensions="*.xml"
Florian Thienelea330512011-11-14 22:32:49 +010013 id="org.eclipse.vex.ui.XmlDocument"
Florian Thienel28311762010-08-15 22:10:53 +020014 name="%contentType.XmlDocument.name">
15 </content-type>
16 </extension>
Holger Voormann2089e332013-02-17 10:35:39 +010017
dacarver58ad0f82008-10-01 03:29:54 +000018 <extension
19 point="org.eclipse.ui.editors">
20 <editor
21 name="%VexEditor.name"
Florian Thienel28311762010-08-15 22:10:53 +020022 extensions="xml"
Florian Thienelc36895c2012-03-09 23:15:58 +010023 icon="$nl$/icons/vex16.png"
Florian Thienelea330512011-11-14 22:32:49 +010024 class="org.eclipse.vex.ui.internal.editor.VexEditor"
25 contributorClass="org.eclipse.vex.ui.internal.editor.VexActionBarContributor"
26 id="org.eclipse.vex.ui.VexEditor">
Florian Thienel28311762010-08-15 22:10:53 +020027 <contentTypeBinding
Florian Thienelea330512011-11-14 22:32:49 +010028 contentTypeId="org.eclipse.vex.ui.XmlDocument">
Florian Thienel28311762010-08-15 22:10:53 +020029 </contentTypeBinding>
dacarver58ad0f82008-10-01 03:29:54 +000030 </editor>
31 </extension>
dacarver637f2ee2008-12-05 16:00:53 +000032
Holger Voormann2089e332013-02-17 10:35:39 +010033
dacarver58ad0f82008-10-01 03:29:54 +000034 <extension
35 point="org.eclipse.ui.newWizards">
36 <category
37 name="%NewWizardCategory.name"
Florian Thienelea330512011-11-14 22:32:49 +010038 id="org.eclipse.vex.XMLAuthoringCategory">
dacarver58ad0f82008-10-01 03:29:54 +000039 </category>
40 <wizard
41 name="%NewDocumentWizard.name"
Florian Thienelc36895c2012-03-09 23:15:58 +010042 icon="$nl$/icons/vex16.png"
Florian Thienelea330512011-11-14 22:32:49 +010043 category="org.eclipse.vex.XMLAuthoringCategory"
44 class="org.eclipse.vex.ui.internal.wizards.NewDocumentWizard"
45 id="org.eclipse.vex.ui.NewDocumentWizard">
dacarver58ad0f82008-10-01 03:29:54 +000046 <description>%NewDocumentWizard.desc</description>
Holger Voormann738989e2011-04-26 20:43:46 +020047 <keywordReference
Florian Thienelea330512011-11-14 22:32:49 +010048 id="org.eclipse.vex.ui.KeywordVex">
Holger Voormann738989e2011-04-26 20:43:46 +020049 </keywordReference>
dacarver58ad0f82008-10-01 03:29:54 +000050 </wizard>
51 </extension>
52 <extension
53 point="org.eclipse.ui.perspectives">
54 <perspective
55 name="%DocumentPerspective.name"
Florian Thienelc36895c2012-03-09 23:15:58 +010056 icon="$nl$/icons/vex16.png"
Florian Thienelea330512011-11-14 22:32:49 +010057 class="org.eclipse.vex.ui.internal.perspective.DocumentPerspective"
58 id="org.eclipse.vex.ui.DocumentPerspective">
dacarver58ad0f82008-10-01 03:29:54 +000059 </perspective>
60 </extension>
61 <extension
62 point="org.eclipse.ui.contexts">
63 <context
64 name="%VexEditorContext.name"
Florian Thienelea330512011-11-14 22:32:49 +010065 id="org.eclipse.vex.ui.VexEditorContext"
dacarver58ad0f82008-10-01 03:29:54 +000066 parentId="org.eclipse.ui.textEditorScope">
67 </context>
68 </extension>
69 <extension
70 point="org.eclipse.ui.commands">
71 <category
Florian Thienelea330512011-11-14 22:32:49 +010072 id="org.eclipse.vex.ui.commands.category"
hvoormannb91295f2009-12-03 19:43:21 +000073 name="%command.category.name">
dacarver58ad0f82008-10-01 03:29:54 +000074 </category>
75 <command
Florian Thienelea330512011-11-14 22:32:49 +010076 categoryId="org.eclipse.vex.ui.commands.category"
77 id="org.eclipse.vex.ui.AddElementCommand"
hvoormannb91295f2009-12-03 19:43:21 +000078 name="%command.addElement.name">
dacarver58ad0f82008-10-01 03:29:54 +000079 </command>
80 <command
Florian Thienelea330512011-11-14 22:32:49 +010081 categoryId="org.eclipse.vex.ui.commands.category"
Florian Thienel58845302011-12-21 23:19:01 +010082 id="org.eclipse.vex.ui.EditNamespacesCommand"
83 name="%command.editNamespaces.name">
84 </command>
85 <command
86 categoryId="org.eclipse.vex.ui.commands.category"
Florian Thienelea330512011-11-14 22:32:49 +010087 id="org.eclipse.vex.ui.DuplicateSelectionCommand"
hvoormannb91295f2009-12-03 19:43:21 +000088 name="%command.duplicateSelection.name">
dacarver58ad0f82008-10-01 03:29:54 +000089 </command>
90 <command
Florian Thienelea330512011-11-14 22:32:49 +010091 categoryId="org.eclipse.vex.ui.commands.category"
92 id="org.eclipse.vex.ui.ConvertElementCommand"
hvoormannb91295f2009-12-03 19:43:21 +000093 name="%command.convertElement.name">
dacarver58ad0f82008-10-01 03:29:54 +000094 </command>
95 <command
Florian Thienelea330512011-11-14 22:32:49 +010096 categoryId="org.eclipse.vex.ui.commands.category"
97 id="org.eclipse.vex.ui.RemoveTagCommand"
hvoormannb91295f2009-12-03 19:43:21 +000098 name="%command.removeTag.name">
dacarver58ad0f82008-10-01 03:29:54 +000099 </command>
100 <command
Florian Thienelea330512011-11-14 22:32:49 +0100101 categoryId="org.eclipse.vex.ui.commands.category"
102 id="org.eclipse.vex.ui.AddRowAboveCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000103 name="%command.addRowAbove.name">
dacarver58ad0f82008-10-01 03:29:54 +0000104 </command>
105 <command
Florian Thienelea330512011-11-14 22:32:49 +0100106 categoryId="org.eclipse.vex.ui.commands.category"
107 id="org.eclipse.vex.ui.AddRowBelowCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000108 name="%command.addRowBelow.name">
dacarver58ad0f82008-10-01 03:29:54 +0000109 </command>
110 <command
Florian Thienelea330512011-11-14 22:32:49 +0100111 categoryId="org.eclipse.vex.ui.commands.category"
112 id="org.eclipse.vex.ui.MoveRowUpCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000113 name="%command.moveRowUp.name">
dacarver58ad0f82008-10-01 03:29:54 +0000114 </command>
115 <command
Florian Thienelea330512011-11-14 22:32:49 +0100116 categoryId="org.eclipse.vex.ui.commands.category"
117 id="org.eclipse.vex.ui.MoveRowDownCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000118 name="%command.moveRowDown.name">
dacarver58ad0f82008-10-01 03:29:54 +0000119 </command>
120 <command
Florian Thienelea330512011-11-14 22:32:49 +0100121 categoryId="org.eclipse.vex.ui.commands.category"
122 id="org.eclipse.vex.ui.RemoveRowCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000123 name="%command.removeRow.name">
dacarver58ad0f82008-10-01 03:29:54 +0000124 </command>
125 <command
Florian Thienelea330512011-11-14 22:32:49 +0100126 categoryId="org.eclipse.vex.ui.commands.category"
127 id="org.eclipse.vex.ui.AddColumnLeftCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000128 name="%command.addColumnLeft.name">
dacarver58ad0f82008-10-01 03:29:54 +0000129 </command>
130 <command
Florian Thienelea330512011-11-14 22:32:49 +0100131 categoryId="org.eclipse.vex.ui.commands.category"
132 id="org.eclipse.vex.ui.AddColumnRightCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000133 name="%command.addColumnRight.name">
dacarver58ad0f82008-10-01 03:29:54 +0000134 </command>
135 <command
Florian Thienelea330512011-11-14 22:32:49 +0100136 categoryId="org.eclipse.vex.ui.commands.category"
137 id="org.eclipse.vex.ui.MoveColumnLeftCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000138 name="%command.moveColumnLeft.name">
dacarver58ad0f82008-10-01 03:29:54 +0000139 </command>
140 <command
Florian Thienelea330512011-11-14 22:32:49 +0100141 categoryId="org.eclipse.vex.ui.commands.category"
142 id="org.eclipse.vex.ui.MoveColumnRightCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000143 name="%command.moveColumnRight.name">
dacarver58ad0f82008-10-01 03:29:54 +0000144 </command>
145 <command
Florian Thienelea330512011-11-14 22:32:49 +0100146 categoryId="org.eclipse.vex.ui.commands.category"
147 id="org.eclipse.vex.ui.RemoveColumnCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000148 name="%command.removeColumn.name">
dacarver58ad0f82008-10-01 03:29:54 +0000149 </command>
150 <command
Florian Thienelea330512011-11-14 22:32:49 +0100151 categoryId="org.eclipse.vex.ui.commands.category"
152 id="org.eclipse.vex.ui.PreviousTableCellCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000153 name="%command.previousTableCell.name">
dacarver58ad0f82008-10-01 03:29:54 +0000154 </command>
155 <command
Florian Thienelea330512011-11-14 22:32:49 +0100156 categoryId="org.eclipse.vex.ui.commands.category"
157 id="org.eclipse.vex.ui.NextTableCellCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000158 name="%command.nextTableCell.name">
dacarver58ad0f82008-10-01 03:29:54 +0000159 </command>
160 <command
Florian Thienelea330512011-11-14 22:32:49 +0100161 categoryId="org.eclipse.vex.ui.commands.category"
162 id="org.eclipse.vex.ui.SplitBlockElementCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000163 name="%command.splitBlockElement.name">
dacarver58ad0f82008-10-01 03:29:54 +0000164 </command>
165 <command
Florian Thienelea330512011-11-14 22:32:49 +0100166 categoryId="org.eclipse.vex.ui.commands.category"
167 id="org.eclipse.vex.ui.SplitItemCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000168 name="%command.splitItem.name">
dacarver58ad0f82008-10-01 03:29:54 +0000169 </command>
Florian Thieneld71183b2012-02-28 21:08:06 +0100170 <command
171 categoryId="org.eclipse.vex.ui.commands.category"
172 id="org.eclipse.vex.ui.AddCommentCommand"
173 name="%command.addComment.name">
174 </command>
Holger Voormann2089e332013-02-17 10:35:39 +0100175
dacarver58ad0f82008-10-01 03:29:54 +0000176 </extension>
177 <extension
hvoormannb91295f2009-12-03 19:43:21 +0000178 point="org.eclipse.ui.bindings">
179 <key
Florian Thienelea330512011-11-14 22:32:49 +0100180 commandId="org.eclipse.vex.ui.AddElementCommand"
181 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000182 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
183 sequence="M1+SPACE">
184 </key>
185 <key
Florian Thienelea330512011-11-14 22:32:49 +0100186 commandId="org.eclipse.vex.ui.DuplicateSelectionCommand"
187 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000188 sequence="M1+M3+ARROW_DOWN"
189 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
190 </key>
Holger Voormann2089e332013-02-17 10:35:39 +0100191
hvoormannb91295f2009-12-03 19:43:21 +0000192 <key
Florian Thienelea330512011-11-14 22:32:49 +0100193 commandId="org.eclipse.vex.ui.ConvertElementCommand"
194 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000195 sequence="M1+M3+SPACE"
196 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
197 </key>
198 <key
Florian Thienelea330512011-11-14 22:32:49 +0100199 commandId="org.eclipse.vex.ui.NextTableCellCommand"
200 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000201 sequence="TAB"
202 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
203 </key>
204 <key
Florian Thienelea330512011-11-14 22:32:49 +0100205 commandId="org.eclipse.vex.ui.PreviousTableCellCommand"
206 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000207 sequence="M2+TAB"
208 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
209 </key>
210 <key
Florian Thienelea330512011-11-14 22:32:49 +0100211 commandId="org.eclipse.vex.ui.RemoveTagCommand"
212 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000213 sequence="M2+DEL"
214 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
215 </key>
216 <key
Florian Thienelea330512011-11-14 22:32:49 +0100217 commandId="org.eclipse.vex.ui.SplitBlockElementCommand"
218 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000219 sequence="RETURN"
220 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
221 </key>
222 <key
Florian Thienelea330512011-11-14 22:32:49 +0100223 commandId="org.eclipse.vex.ui.SplitItemCommand"
224 contextId="org.eclipse.vex.ui.VexEditorContext"
hvoormannb91295f2009-12-03 19:43:21 +0000225 sequence="M2+RETURN"
226 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
Florian Thieneld71183b2012-02-28 21:08:06 +0100227 </key>
228 <key
229 commandId="org.eclipse.vex.ui.AddCommentCommand"
230 contextId="org.eclipse.vex.ui.VexEditorContext"
231 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
232 sequence="M1+7">
hvoormannb91295f2009-12-03 19:43:21 +0000233 </key>key>
234
235 </extension>
236 <extension
237 point="org.eclipse.ui.handlers">
238 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100239 class="org.eclipse.vex.ui.internal.handlers.AddElementHandler"
240 commandId="org.eclipse.vex.ui.AddElementCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000241 <activeWhen>
242 <reference
Florian Thienelea330512011-11-14 22:32:49 +0100243 definitionId="org.eclipse.vex.ui.activeVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000244 </reference>
245 </activeWhen>
246 </handler>
247 <handler
Florian Thienel58845302011-12-21 23:19:01 +0100248 class="org.eclipse.vex.ui.internal.namespace.EditNamespacesHandler"
249 commandId="org.eclipse.vex.ui.EditNamespacesCommand">
250 <activeWhen>
251 <reference
252 definitionId="org.eclipse.vex.ui.activeVexEditor">
253 </reference>
254 </activeWhen>
255 </handler>
256 <handler
Florian Thieneld71183b2012-02-28 21:08:06 +0100257 class="org.eclipse.vex.ui.internal.handlers.AddCommentHandler"
258 commandId="org.eclipse.vex.ui.AddCommentCommand">
259 <activeWhen>
260 <reference
261 definitionId="org.eclipse.vex.ui.activeVexEditor">
262 </reference>
263 </activeWhen>
264 </handler>
265 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100266 class="org.eclipse.vex.ui.internal.handlers.DuplicateSelectionHandler"
267 commandId="org.eclipse.vex.ui.DuplicateSelectionCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000268 <activeWhen>
269 <reference
Florian Thienelea330512011-11-14 22:32:49 +0100270 definitionId="org.eclipse.vex.ui.activeVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000271 </reference>
272 </activeWhen>
273 </handler>
274 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100275 class="org.eclipse.vex.ui.internal.handlers.ConvertElementHandler"
276 commandId="org.eclipse.vex.ui.ConvertElementCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000277 <activeWhen>
278 <reference
Florian Thienelea330512011-11-14 22:32:49 +0100279 definitionId="org.eclipse.vex.ui.activeVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000280 </reference>
281 </activeWhen>
282 </handler>
283 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100284 class="org.eclipse.vex.ui.internal.handlers.RemoveTagHandler"
285 commandId="org.eclipse.vex.ui.RemoveTagCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000286 <activeWhen>
287 <reference
Florian Thienelea330512011-11-14 22:32:49 +0100288 definitionId="org.eclipse.vex.ui.activeVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000289 </reference>
290 </activeWhen>
291 </handler>
292 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100293 class="org.eclipse.vex.ui.internal.handlers.AddRowAboveHandler"
294 commandId="org.eclipse.vex.ui.AddRowAboveCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000295 <enabledWhen>
296 <with
Florian Thienelea330512011-11-14 22:32:49 +0100297 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000298 <equals
299 value="true">
300 </equals>
301 </with>
302 </enabledWhen>
303 </handler>
304 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100305 class="org.eclipse.vex.ui.internal.handlers.AddRowBelowHandler"
306 commandId="org.eclipse.vex.ui.AddRowBelowCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000307 <enabledWhen>
308 <with
Florian Thienelea330512011-11-14 22:32:49 +0100309 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000310 <equals
311 value="true">
312 </equals>
313 </with>
314 </enabledWhen>
315 </handler>
316 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100317 class="org.eclipse.vex.ui.internal.handlers.MoveRowUpHandler"
318 commandId="org.eclipse.vex.ui.MoveRowUpCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000319 <enabledWhen>
320 <and>
321 <with
Florian Thienelea330512011-11-14 22:32:49 +0100322 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000323 <equals
324 value="true">
325 </equals>
326 </with>
327 <with
Florian Thienelea330512011-11-14 22:32:49 +0100328 variable="org.eclipse.vex.ui.isFirstRow">
hvoormannb91295f2009-12-03 19:43:21 +0000329 <equals
330 value="false">
331 </equals>
332 </with>
333 </and>
334 </enabledWhen>
335 </handler>
336 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100337 class="org.eclipse.vex.ui.internal.handlers.MoveRowDownHandler"
338 commandId="org.eclipse.vex.ui.MoveRowDownCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000339 <enabledWhen>
340 <and>
341 <with
Florian Thienelea330512011-11-14 22:32:49 +0100342 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000343 <equals
344 value="true">
345 </equals>
346 </with>
347 <with
Florian Thienelea330512011-11-14 22:32:49 +0100348 variable="org.eclipse.vex.ui.isLastRow">
hvoormannb91295f2009-12-03 19:43:21 +0000349 <equals
350 value="false">
351 </equals>
352 </with>
353 </and>
354 </enabledWhen>
355 </handler>
356 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100357 class="org.eclipse.vex.ui.internal.handlers.RemoveRowHandler"
358 commandId="org.eclipse.vex.ui.RemoveRowCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000359 <enabledWhen>
360 <with
Florian Thienelea330512011-11-14 22:32:49 +0100361 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000362 <equals
363 value="true">
364 </equals>
365 </with>
366 </enabledWhen>
367 </handler>
368 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100369 class="org.eclipse.vex.ui.internal.handlers.AddColumnLeftHandler"
370 commandId="org.eclipse.vex.ui.AddColumnLeftCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000371 <enabledWhen>
372 <with
Florian Thienelea330512011-11-14 22:32:49 +0100373 variable="org.eclipse.vex.ui.isColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000374 <equals
375 value="true">
376 </equals>
377 </with>
378 </enabledWhen>
379 </handler>
380 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100381 class="org.eclipse.vex.ui.internal.handlers.AddColumnRightHandler"
382 commandId="org.eclipse.vex.ui.AddColumnRightCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000383 <enabledWhen>
384 <with
Florian Thienelea330512011-11-14 22:32:49 +0100385 variable="org.eclipse.vex.ui.isColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000386 <equals
387 value="true">
388 </equals>
389 </with>
390 </enabledWhen>
391 </handler>
392 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100393 class="org.eclipse.vex.ui.internal.handlers.MoveColumnLeftHandler"
394 commandId="org.eclipse.vex.ui.MoveColumnLeftCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000395 <enabledWhen>
396 <and>
397 <with
Florian Thienelea330512011-11-14 22:32:49 +0100398 variable="org.eclipse.vex.ui.isColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000399 <equals
400 value="true">
401 </equals>
402 </with>
403 <with
Florian Thienelea330512011-11-14 22:32:49 +0100404 variable="org.eclipse.vex.ui.isFirstColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000405 <equals
406 value="false">
407 </equals>
408 </with>
409 </and>
410 </enabledWhen>
411 </handler>
412 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100413 class="org.eclipse.vex.ui.internal.handlers.MoveColumnRightHandler"
414 commandId="org.eclipse.vex.ui.MoveColumnRightCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000415 <enabledWhen>
416 <and>
417 <with
Florian Thienelea330512011-11-14 22:32:49 +0100418 variable="org.eclipse.vex.ui.isColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000419 <equals
420 value="true">
421 </equals>
422 </with>
423 <with
Florian Thienelea330512011-11-14 22:32:49 +0100424 variable="org.eclipse.vex.ui.isLastColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000425 <equals
426 value="false">
427 </equals>
428 </with>
429 </and>
430 </enabledWhen>
431 </handler>
432 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100433 class="org.eclipse.vex.ui.internal.handlers.RemoveColumnHandler"
434 commandId="org.eclipse.vex.ui.RemoveColumnCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000435 <enabledWhen>
436 <with
Florian Thienelea330512011-11-14 22:32:49 +0100437 variable="org.eclipse.vex.ui.isColumn">
hvoormannb91295f2009-12-03 19:43:21 +0000438 <equals
439 value="true">
440 </equals>
441 </with>
442 </enabledWhen>
443 </handler>
444 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100445 class="org.eclipse.vex.ui.internal.handlers.NextTableCellHandler"
446 commandId="org.eclipse.vex.ui.NextTableCellCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000447 <enabledWhen>
448 <with
Florian Thienelea330512011-11-14 22:32:49 +0100449 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000450 <equals
451 value="true">
452 </equals>
453 </with>
454 </enabledWhen>
455 </handler>
456 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100457 class="org.eclipse.vex.ui.internal.handlers.PreviousTableCellHandler"
458 commandId="org.eclipse.vex.ui.PreviousTableCellCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000459 <enabledWhen>
460 <with
Florian Thienelea330512011-11-14 22:32:49 +0100461 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +0000462 <equals
463 value="true">
464 </equals>
465 </with>
466 </enabledWhen>
467 </handler>
468 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100469 class="org.eclipse.vex.ui.internal.handlers.SplitBlockElementHandler"
470 commandId="org.eclipse.vex.ui.SplitBlockElementCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000471 </handler>
472 <handler
Florian Thienelea330512011-11-14 22:32:49 +0100473 class="org.eclipse.vex.ui.internal.handlers.SplitItemHandler"
474 commandId="org.eclipse.vex.ui.SplitItemCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000475 </handler>
Holger Voormann2089e332013-02-17 10:35:39 +0100476
477 <!-- Go to: Previous/Next Column; Line Up/Down; Previous/Next Word;
478 Line Start/End; Page Up/Down; Text Start/End -->
479 <handler
480 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PreviousColumn"
481 commandId="org.eclipse.ui.edit.text.goto.columnPrevious">
482 <activeWhen>
483 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
484 </activeWhen>
485 </handler>
486 <handler
487 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:NextColumn"
488 commandId="org.eclipse.ui.edit.text.goto.columnNext">
489 <activeWhen>
490 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
491 </activeWhen>
492 </handler>
493 <handler
494 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineUp"
495 commandId="org.eclipse.ui.edit.text.goto.lineUp">
496 <activeWhen>
497 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
498 </activeWhen>
499 </handler>
500 <handler
501 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineDown"
502 commandId="org.eclipse.ui.edit.text.goto.lineDown">
503 <activeWhen>
504 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
505 </activeWhen>
506 </handler>
507 <handler
508 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PreviousWord"
509 commandId="org.eclipse.ui.edit.text.goto.wordPrevious">
510 <activeWhen>
511 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
512 </activeWhen>
513 </handler>
514 <handler
515 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:NextWord"
516 commandId="org.eclipse.ui.edit.text.goto.wordNext">
517 <activeWhen>
518 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
519 </activeWhen>
520 </handler>
521 <handler
522 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineStart"
523 commandId="org.eclipse.ui.edit.text.goto.lineStart">
524 <activeWhen>
525 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
526 </activeWhen>
527 </handler>
528 <handler
529 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineEnd"
530 commandId="org.eclipse.ui.edit.text.goto.lineEnd">
531 <activeWhen>
532 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
533 </activeWhen>
534 </handler>
535 <handler
536 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PageUp"
537 commandId="org.eclipse.ui.edit.text.goto.pageUp">
538 <activeWhen>
539 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
540 </activeWhen>
541 </handler>
542 <handler
543 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PageDown"
544 commandId="org.eclipse.ui.edit.text.goto.pageDown">
545 <activeWhen>
546 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
547 </activeWhen>
548 </handler>
549 <handler
550 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:TextStart"
551 commandId="org.eclipse.ui.edit.text.goto.textStart">
552 <activeWhen>
553 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
554 </activeWhen>
555 </handler>
556 <handler
557 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:TextEnd"
558 commandId="org.eclipse.ui.edit.text.goto.textEnd">
559 <activeWhen>
560 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
561 </activeWhen>
562 </handler>
563
564 <!-- Select: Previous/Next Column; Line Up/Down; Previous/Next Word;
565 Line Start/End; Page Up/Down; Text Start/End -->
566 <handler
567 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPreviousColumn"
568 commandId="org.eclipse.ui.edit.text.select.columnPrevious">
569 <activeWhen>
570 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
571 </activeWhen>
572 </handler>
573 <handler
574 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectNextColumn"
575 commandId="org.eclipse.ui.edit.text.select.columnNext">
576 <activeWhen>
577 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
578 </activeWhen>
579 </handler>
580 <handler
581 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineUp"
582 commandId="org.eclipse.ui.edit.text.select.lineUp">
583 <activeWhen>
584 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
585 </activeWhen>
586 </handler>
587 <handler
588 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineDown"
589 commandId="org.eclipse.ui.edit.text.select.lineDown">
590 <activeWhen>
591 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
592 </activeWhen>
593 </handler>
594 <handler
595 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPreviousWord"
596 commandId="org.eclipse.ui.edit.text.select.wordPrevious">
597 <activeWhen>
598 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
599 </activeWhen>
600 </handler>
601 <handler
602 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectNextWord"
603 commandId="org.eclipse.ui.edit.text.select.wordNext">
604 <activeWhen>
605 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
606 </activeWhen>
607 </handler>
608 <handler
609 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineStart"
610 commandId="org.eclipse.ui.edit.text.select.lineStart">
611 <activeWhen>
612 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
613 </activeWhen>
614 </handler>
615 <handler
616 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineEnd"
617 commandId="org.eclipse.ui.edit.text.select.lineEnd">
618 <activeWhen>
619 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
620 </activeWhen>
621 </handler>
622 <handler
623 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPageUp"
624 commandId="org.eclipse.ui.edit.text.select.pageUp">
625 <activeWhen>
626 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
627 </activeWhen>
628 </handler>
629 <handler
630 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPageDown"
631 commandId="org.eclipse.ui.edit.text.select.pageDown">
632 <activeWhen>
633 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
634 </activeWhen>
635 </handler>
636 <handler
637 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectTextStart"
638 commandId="org.eclipse.ui.edit.text.select.textStart">
639 <activeWhen>
640 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
641 </activeWhen>
642 </handler>
643 <handler
644 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectTextEnd"
645 commandId="org.eclipse.ui.edit.text.select.textEnd">
646 <activeWhen>
647 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
648 </activeWhen>
649 </handler>
650
651 <!-- Delete: Previous/Next; Previous/Next Word;
652 Line; To Beginning/End of Line -->
653 <handler
654 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeletePrevious"
655 commandId="org.eclipse.ui.edit.text.deletePrevious">
656 <activeWhen>
657 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
658 </activeWhen>
659 </handler>
660 <handler
661 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteNext"
662 commandId="org.eclipse.ui.edit.text.deleteNext">
663 <activeWhen>
664 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
665 </activeWhen>
666 </handler>
667 <handler
668 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeletePreviousWord"
669 commandId="org.eclipse.ui.edit.text.deletePreviousWord">
670 <activeWhen>
671 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
672 </activeWhen>
673 </handler>
674 <handler
675 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteNextWord"
676 commandId="org.eclipse.ui.edit.text.deleteNextWord">
677 <activeWhen>
678 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
679 </activeWhen>
680 </handler>
681 <handler
682 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteLine"
683 commandId="org.eclipse.ui.edit.text.delete.line">
684 <activeWhen>
685 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
686 </activeWhen>
687 </handler>
688 <handler
689 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteToBeginningOfLine"
690 commandId="org.eclipse.ui.edit.text.delete.line.to.beginning">
691 <activeWhen>
692 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
693 </activeWhen>
694 </handler>
695 <handler
696 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteToEndOfLine"
697 commandId="org.eclipse.ui.edit.text.delete.line.to.end">
698 <activeWhen>
699 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
700 </activeWhen>
701 </handler>
702
703 <!-- Cut: Line; To Beginning/End of Line -->
704 <handler
705 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:CutLine"
706 commandId="org.eclipse.ui.edit.text.cut.line">
707 <activeWhen>
708 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
709 </activeWhen>
710 </handler>
711 <handler
712 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:CutLineToBeginning"
713 commandId="org.eclipse.ui.edit.text.cut.line.to.beginning">
714 <activeWhen>
715 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
716 </activeWhen>
717 </handler>
718 <handler
719 class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:CutLineToEnd"
720 commandId="org.eclipse.ui.edit.text.cut.line.to.end">
721 <activeWhen>
722 <reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
723 </activeWhen>
724 </handler>
725
726 <!-- TODO:
727 - org.eclipse.ui.edit.text.join.lines
728
729 - org.eclipse.ui.edit.text.set.mark
730 - org.eclipse.ui.edit.text.clear.mark
731 - org.eclipse.ui.edit.text.swap.mark
732
733 - org.eclipse.ui.edit.findNext
734 - org.eclipse.ui.edit.findPrevious
735
736 etc. -->
737
hvoormannb91295f2009-12-03 19:43:21 +0000738 </extension>
739 <extension
dacarver58ad0f82008-10-01 03:29:54 +0000740 point="org.eclipse.ui.views">
741 <category
742 name="%VexViewCategory.name"
Florian Thienelea330512011-11-14 22:32:49 +0100743 id="org.eclipse.vex.ui.views.VexViewCategory">
dacarver58ad0f82008-10-01 03:29:54 +0000744 </category>
745 <view
746 name="%DebugView.name"
Florian Thienelc36895c2012-03-09 23:15:58 +0100747 icon="$nl$/icons/vex16.png"
Florian Thienelea330512011-11-14 22:32:49 +0100748 category="org.eclipse.vex.ui.views.VexViewCategory"
749 class="org.eclipse.vex.ui.internal.views.DebugView"
750 id="org.eclipse.vex.ui.views.debug">
dacarver58ad0f82008-10-01 03:29:54 +0000751 </view>
dacarver58ad0f82008-10-01 03:29:54 +0000752 <view
Florian Thienelea330512011-11-14 22:32:49 +0100753 category="org.eclipse.vex.ui.views.VexViewCategory"
754 class="org.eclipse.vex.ui.internal.config.ConfigurationView"
Florian Thienelc36895c2012-03-09 23:15:58 +0100755 icon="$nl$/icons/vex16.png"
Florian Thienelea330512011-11-14 22:32:49 +0100756 id="org.eclipse.vex.ui.views.configuration"
hvoormannb91295f2009-12-03 19:43:21 +0000757 name="%ConfigurationView.name">
dacarver58ad0f82008-10-01 03:29:54 +0000758 </view>
759 </extension>
760 <extension
761 id="pluginNature"
762 name="%PluginProjectNature.name"
763 point="org.eclipse.core.resources.natures">
764 <runtime>
765 <run
Florian Thienelea330512011-11-14 22:32:49 +0100766 class="org.eclipse.vex.ui.internal.config.PluginProjectNature">
dacarver58ad0f82008-10-01 03:29:54 +0000767 </run>
768 </runtime>
769 </extension>
770 <extension
771 point="org.eclipse.ui.newWizards">
fthienel760539f2010-05-05 19:17:10 +0000772 <category
773 name="%NewWizardCategory.name"
Florian Thienelea330512011-11-14 22:32:49 +0100774 id="org.eclipse.vex.XMLAuthoringCategory">
fthienel760539f2010-05-05 19:17:10 +0000775 </category>
dacarver58ad0f82008-10-01 03:29:54 +0000776 <wizard
777 name="%NewPluginProjectWizard.name"
Florian Thienelc36895c2012-03-09 23:15:58 +0100778 icon="$nl$/icons/vex16.png"
Florian Thienelea330512011-11-14 22:32:49 +0100779 category="org.eclipse.vex.XMLAuthoringCategory"
780 class="org.eclipse.vex.ui.internal.config.NewPluginProjectWizard"
dacarver58ad0f82008-10-01 03:29:54 +0000781 project="true"
Florian Thienelea330512011-11-14 22:32:49 +0100782 id="org.eclipse.vex.ui.config.NewPluginProjectWizard">
dacarver58ad0f82008-10-01 03:29:54 +0000783 <description>%NewPluginProjectWizard.desc</description>
Holger Voormann738989e2011-04-26 20:43:46 +0200784 <keywordReference
Florian Thienelea330512011-11-14 22:32:49 +0100785 id="org.eclipse.vex.ui.KeywordVex">
Holger Voormann738989e2011-04-26 20:43:46 +0200786 </keywordReference>
dacarver58ad0f82008-10-01 03:29:54 +0000787 </wizard>
788 </extension>
789 <extension
790 id="pluginBuilder"
791 name="%PluginProjectBuilder.name"
792 point="org.eclipse.core.resources.builders">
793 <builder>
794 <run
Florian Thienelea330512011-11-14 22:32:49 +0100795 class="org.eclipse.vex.ui.internal.config.PluginProjectBuilder">
dacarver58ad0f82008-10-01 03:29:54 +0000796 </run>
797 </builder>
798 </extension>
799 <extension
800 point="org.eclipse.ui.decorators">
801 <decorator
802 lightweight="true"
803 label="%PluginProjectDecorator.name"
804 state="true"
Florian Thienelea330512011-11-14 22:32:49 +0100805 class="org.eclipse.vex.ui.internal.config.PluginProjectDecorator"
806 id="org.eclipse.vex.ui.config.vexPluginProjectDecorator">
dacarver58ad0f82008-10-01 03:29:54 +0000807 <enablement>
808 <objectClass
809 name="org.eclipse.core.resources.IProject">
810 </objectClass>
811 </enablement>
812 </decorator>
dacarver58ad0f82008-10-01 03:29:54 +0000813 <decorator
Florian Thienelea330512011-11-14 22:32:49 +0100814 class="org.eclipse.vex.ui.internal.config.BuildProblemDecorator"
815 id="org.eclipse.vex.ui.config.buildProblemDecorator"
hvoormannb91295f2009-12-03 19:43:21 +0000816 label="%BuildProblemDecorator.name"
817 lightweight="true"
818 state="true">
dacarver58ad0f82008-10-01 03:29:54 +0000819 <enablement>
820 <objectClass
821 name="org.eclipse.core.resources.IResource">
822 </objectClass>
823 </enablement>
824 </decorator>
825 </extension>
826 <extension
827 point="org.eclipse.ui.propertyPages">
828 <page
dacarver58ad0f82008-10-01 03:29:54 +0000829 name="%DoctypePropertyPage.name"
Florian Thienelea330512011-11-14 22:32:49 +0100830 class="org.eclipse.vex.ui.internal.config.DoctypePropertyPage"
dacarver58ad0f82008-10-01 03:29:54 +0000831 nameFilter="*.dtd"
Florian Thienelea330512011-11-14 22:32:49 +0100832 id="org.eclipse.vex.ui.config.DoctypePropertyPage">
dacarver58ad0f82008-10-01 03:29:54 +0000833 <filter
834 name="projectNature"
Florian Thienelea330512011-11-14 22:32:49 +0100835 value="org.eclipse.vex.ui.pluginNature">
dacarver58ad0f82008-10-01 03:29:54 +0000836 </filter>
Florian Thienelcf7164f2010-12-02 23:09:12 +0100837 <enabledWhen>
838 <instanceof
839 value="org.eclipse.core.resources.IFile">
840 </instanceof>
841 </enabledWhen>
dacarver58ad0f82008-10-01 03:29:54 +0000842 </page>
dacarver58ad0f82008-10-01 03:29:54 +0000843 <page
Florian Thienelea330512011-11-14 22:32:49 +0100844 class="org.eclipse.vex.ui.internal.config.StylePropertyPage"
845 id="org.eclipse.vex.ui.config.StylePropertyPage"
hvoormannb91295f2009-12-03 19:43:21 +0000846 name="%StylePropertyPage.name"
Florian Thienelcf7164f2010-12-02 23:09:12 +0100847 nameFilter="*.css">
dacarver58ad0f82008-10-01 03:29:54 +0000848 <filter
849 name="projectNature"
Florian Thienelea330512011-11-14 22:32:49 +0100850 value="org.eclipse.vex.ui.pluginNature">
dacarver58ad0f82008-10-01 03:29:54 +0000851 </filter>
Florian Thienelcf7164f2010-12-02 23:09:12 +0100852 <enabledWhen>
853 <instanceof
854 value="org.eclipse.core.resources.IFile">
855 </instanceof>
856 </enabledWhen>
dacarver58ad0f82008-10-01 03:29:54 +0000857 </page>
858 </extension>
859 <extension
hvoormannb91295f2009-12-03 19:43:21 +0000860 point="org.eclipse.core.expressions.definitions">
861 <definition
Florian Thienelea330512011-11-14 22:32:49 +0100862 id="org.eclipse.vex.ui.activeVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000863 <or>
864 <with
865 variable="activeEditorId">
866 <equals
Florian Thienelea330512011-11-14 22:32:49 +0100867 value="org.eclipse.vex.ui.VexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000868 </equals>
869 </with>
870 <with
871 variable="activeEditorId">
872 <equals
Florian Thienelea330512011-11-14 22:32:49 +0100873 value="org.eclipse.vex.ui.VexEditorMultiPage">
hvoormannb91295f2009-12-03 19:43:21 +0000874 </equals>
875 </with>
876 </or>
877 </definition>
878 <definition
Florian Thienelea330512011-11-14 22:32:49 +0100879 id="org.eclipse.vex.ui.focusedVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000880 <or>
881 <with
882 variable="activePartId">
883 <equals
Florian Thienelea330512011-11-14 22:32:49 +0100884 value="org.eclipse.vex.ui.VexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000885 </equals>
886 </with>
887 <with
888 variable="activePartId">
889 <equals
Florian Thienelea330512011-11-14 22:32:49 +0100890 value="org.eclipse.vex.ui.VexEditorMultiPage">
hvoormannb91295f2009-12-03 19:43:21 +0000891 </equals>
892 </with>
893 </or>
894 </definition>
895 </extension>
896 <extension
897 point="org.eclipse.ui.services">
898 <sourceProvider
Florian Thienelea330512011-11-14 22:32:49 +0100899 provider="org.eclipse.vex.ui.internal.editor.DocumentContextSourceProvider">
hvoormannb91295f2009-12-03 19:43:21 +0000900 <variable
Florian Thienelea330512011-11-14 22:32:49 +0100901 name="org.eclipse.vex.ui.isColumn"
hvoormannb91295f2009-12-03 19:43:21 +0000902 priorityLevel="workbench">
903 </variable>
904 <variable
Florian Thienelea330512011-11-14 22:32:49 +0100905 name="org.eclipse.vex.ui.isFirstColumn"
hvoormannb91295f2009-12-03 19:43:21 +0000906 priorityLevel="workbench">
907 </variable>
908 <variable
Florian Thienelea330512011-11-14 22:32:49 +0100909 name="org.eclipse.vex.ui.isLastColumn"
hvoormannb91295f2009-12-03 19:43:21 +0000910 priorityLevel="workbench">
911 </variable>
912 <variable
Florian Thienelea330512011-11-14 22:32:49 +0100913 name="org.eclipse.vex.ui.isRow"
hvoormannb91295f2009-12-03 19:43:21 +0000914 priorityLevel="workbench">
915 </variable>
916 <variable
Florian Thienelea330512011-11-14 22:32:49 +0100917 name="org.eclipse.vex.ui.isFirstRow"
hvoormannb91295f2009-12-03 19:43:21 +0000918 priorityLevel="workbench">
919 </variable>
920 <variable
Florian Thienelea330512011-11-14 22:32:49 +0100921 name="org.eclipse.vex.ui.isLastRow"
hvoormannb91295f2009-12-03 19:43:21 +0000922 priorityLevel="workbench">
923 </variable>
924 </sourceProvider>
925 </extension>
926 <extension
927 point="org.eclipse.ui.menus">
928 <menuContribution
929 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
930 <menu
931 label="%menu.Document.name">
932 <visibleWhen>
933 <reference
Florian Thienelea330512011-11-14 22:32:49 +0100934 definitionId="org.eclipse.vex.ui.activeVexEditor">
hvoormannb91295f2009-12-03 19:43:21 +0000935 </reference>
936 </visibleWhen>
937 <menu
938 label="%menu.Add.name">
939 <command
Florian Thienelea330512011-11-14 22:32:49 +0100940 commandId="org.eclipse.vex.ui.AddElementCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000941 label="%menu.Add.Element.name">
942 </command>
943 <command
Florian Thieneld71183b2012-02-28 21:08:06 +0100944 commandId="org.eclipse.vex.ui.AddCommentCommand"
945 label="%menu.Add.Comment.name"
946 style="push">
947 </command>
948 <command
Florian Thienelea330512011-11-14 22:32:49 +0100949 commandId="org.eclipse.vex.ui.AddRowAboveCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000950 label="%menu.Add.RowAbove.name">
951 </command>
952 <command
Florian Thienelea330512011-11-14 22:32:49 +0100953 commandId="org.eclipse.vex.ui.AddRowBelowCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000954 label="%menu.Add.RowBelow.name">
955 </command>
956 <command
Florian Thienelea330512011-11-14 22:32:49 +0100957 commandId="org.eclipse.vex.ui.AddColumnLeftCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000958 label="%menu.Add.ColumnLeft.name">
959 </command>
960 <command
Florian Thienelea330512011-11-14 22:32:49 +0100961 commandId="org.eclipse.vex.ui.AddColumnRightCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000962 label="%menu.Add.ColumnRight.name">
963 </command>
964 </menu>
965 <command
Holger Voormannbbfe0f02013-02-17 12:13:57 +0100966 commandId="org.eclipse.vex.ui.DuplicateSelectionCommand"
967 label="%menu.DuplicateSelection.name">
hvoormannb91295f2009-12-03 19:43:21 +0000968 </command>
969 <command
Florian Thienelea330512011-11-14 22:32:49 +0100970 commandId="org.eclipse.vex.ui.ConvertElementCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000971 </command>
972 <menu
973 label="%menu.Move.name">
974 <command
Florian Thienelea330512011-11-14 22:32:49 +0100975 commandId="org.eclipse.vex.ui.MoveRowUpCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000976 label="%menu.Move.RowUp">
977 </command>
978 <command
Florian Thienelea330512011-11-14 22:32:49 +0100979 commandId="org.eclipse.vex.ui.MoveRowDownCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000980 label="%menu.Move.RowDown">
981 </command>
982 <command
Florian Thienelea330512011-11-14 22:32:49 +0100983 commandId="org.eclipse.vex.ui.MoveColumnLeftCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000984 label="%menu.Move.ColumnLeft">
985 </command>
986 <command
Florian Thienelea330512011-11-14 22:32:49 +0100987 commandId="org.eclipse.vex.ui.MoveColumnRightCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000988 label="%menu.Move.ColumnRight">
989 </command>
990 </menu>
991 <menu
992 label="%menu.Remove.name">
993 <command
Florian Thienelea330512011-11-14 22:32:49 +0100994 commandId="org.eclipse.vex.ui.RemoveTagCommand">
hvoormannb91295f2009-12-03 19:43:21 +0000995 </command>
996 <command
Florian Thienelea330512011-11-14 22:32:49 +0100997 commandId="org.eclipse.vex.ui.RemoveRowCommand"
hvoormannb91295f2009-12-03 19:43:21 +0000998 label="%menu.Remove.Row.name">
999 </command>
1000 <command
Florian Thienelea330512011-11-14 22:32:49 +01001001 commandId="org.eclipse.vex.ui.RemoveColumnCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001002 label="%menu.Remove.Column.name">
1003 </command>
1004 </menu>
Holger Voormannbbfe0f02013-02-17 12:13:57 +01001005 <command
1006 commandId="org.eclipse.vex.ui.EditNamespacesCommand"
1007 label="%menu.EditNamespaces.name">
1008 </command>
hvoormannb91295f2009-12-03 19:43:21 +00001009 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001010 name="org.eclipse.vex.ui.popup.style"
hvoormannb91295f2009-12-03 19:43:21 +00001011 visible="true">
1012 </separator>
1013 <menu
1014 label="%menu.Style.name">
1015 <dynamic
Florian Thienelea330512011-11-14 22:32:49 +01001016 class="org.eclipse.vex.ui.internal.handlers.StyleMenu"
1017 id="org.eclipse.vex.ui.StyleMenu">
hvoormannb91295f2009-12-03 19:43:21 +00001018 </dynamic>
1019 </menu>
1020 </menu>
1021 </menuContribution>
1022 <menuContribution
Florian Thienelea330512011-11-14 22:32:49 +01001023 locationURI="popup:org.eclipse.vex.ui.popup">
hvoormannb91295f2009-12-03 19:43:21 +00001024 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001025 name="org.eclipse.vex.ui.popup.undoRevertSave"
hvoormannb91295f2009-12-03 19:43:21 +00001026 visible="true">
1027 </separator>
1028 <command
1029 commandId="org.eclipse.ui.edit.undo">
1030 </command>
1031 <command
1032 commandId="org.eclipse.ui.file.revert">
1033 </command>
1034 <command
1035 commandId="org.eclipse.ui.file.save">
1036 </command>
1037 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001038 name="org.eclipse.vex.ui.popup.vexCommands"
hvoormannb91295f2009-12-03 19:43:21 +00001039 visible="true">
1040 </separator>
1041 <command
Florian Thienelea330512011-11-14 22:32:49 +01001042 commandId="org.eclipse.vex.ui.AddElementCommand">
hvoormannb91295f2009-12-03 19:43:21 +00001043 </command>
1044 <command
Holger Voormannbbfe0f02013-02-17 12:13:57 +01001045 commandId="org.eclipse.vex.ui.DuplicateSelectionCommand"
1046 label="%menu.DuplicateSelection.name">
hvoormannb91295f2009-12-03 19:43:21 +00001047 </command>
1048 <command
Florian Thienelea330512011-11-14 22:32:49 +01001049 commandId="org.eclipse.vex.ui.ConvertElementCommand"
1050 label="org.eclipse.vex.ui.popupmenu.ConvertElement">
hvoormannb91295f2009-12-03 19:43:21 +00001051 </command>
1052 <command
Florian Thienelea330512011-11-14 22:32:49 +01001053 commandId="org.eclipse.vex.ui.RemoveTagCommand">
hvoormannb91295f2009-12-03 19:43:21 +00001054 </command>
Holger Voormannbbfe0f02013-02-17 12:13:57 +01001055 <command
1056 commandId="org.eclipse.vex.ui.EditNamespacesCommand"
1057 label="%menu.EditNamespaces.name">
1058 </command>
hvoormannb91295f2009-12-03 19:43:21 +00001059 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001060 name="org.eclipse.vex.ui.popup.vexTableItems"
hvoormannb91295f2009-12-03 19:43:21 +00001061 visible="true">
1062 </separator>
1063 <menu
1064 label="%menu.Row.name">
1065 <visibleWhen>
1066 <with
Florian Thienelea330512011-11-14 22:32:49 +01001067 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +00001068 <equals
1069 value="true">
1070 </equals>
1071 </with>
1072 </visibleWhen>
1073 <command
Florian Thienelea330512011-11-14 22:32:49 +01001074 commandId="org.eclipse.vex.ui.AddRowAboveCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001075 label="%menu.Row.AddAbove.name">
1076 </command>
1077 <command
Florian Thienelea330512011-11-14 22:32:49 +01001078 commandId="org.eclipse.vex.ui.AddRowBelowCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001079 label="%menu.Row.AddBelow.name">
1080 </command>
1081 <command
Florian Thienelea330512011-11-14 22:32:49 +01001082 commandId="org.eclipse.vex.ui.MoveRowUpCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001083 label="%menu.Row.MoveUp.name">
1084 </command>
1085 <command
Florian Thienelea330512011-11-14 22:32:49 +01001086 commandId="org.eclipse.vex.ui.MoveRowDownCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001087 label="%menu.Row.MoveDown.name">
1088 </command>
1089 <command
Florian Thienelea330512011-11-14 22:32:49 +01001090 commandId="org.eclipse.vex.ui.RemoveRowCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001091 label="%menu.Row.Remove.name">
1092 </command>
1093 </menu>
1094 <menu
1095 label="%menu.Column.name">
1096 <visibleWhen>
1097 <with
Florian Thienelea330512011-11-14 22:32:49 +01001098 variable="org.eclipse.vex.ui.isRow">
hvoormannb91295f2009-12-03 19:43:21 +00001099 <equals
1100 value="true">
1101 </equals>
1102 </with>
1103 </visibleWhen>
1104 <command
Florian Thienelea330512011-11-14 22:32:49 +01001105 commandId="org.eclipse.vex.ui.AddColumnLeftCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001106 label="%menu.Column.AddLeft.name">
1107 </command>
1108 <command
Florian Thienelea330512011-11-14 22:32:49 +01001109 commandId="org.eclipse.vex.ui.AddColumnRightCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001110 label="%menu.Column.AddRight.name">
1111 </command>
1112 <command
Florian Thienelea330512011-11-14 22:32:49 +01001113 commandId="org.eclipse.vex.ui.MoveColumnLeftCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001114 label="%menu.Column.MoveLeft.name">
1115 </command>
1116 <command
Florian Thienelea330512011-11-14 22:32:49 +01001117 commandId="org.eclipse.vex.ui.MoveColumnRightCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001118 label="%menu.Column.MoveRight.name">
1119 </command>
1120 <command
Florian Thienelea330512011-11-14 22:32:49 +01001121 commandId="org.eclipse.vex.ui.RemoveColumnCommand"
hvoormannb91295f2009-12-03 19:43:21 +00001122 label="%menu.Column.Remove.name">
1123 </command>
1124 </menu>
1125 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001126 name="org.eclipse.vex.ui.popup.cutCopyPaste"
hvoormannb91295f2009-12-03 19:43:21 +00001127 visible="true">
1128 </separator>
1129 <command
1130 commandId="org.eclipse.ui.edit.cut">
1131 </command>
1132 <command
1133 commandId="org.eclipse.ui.edit.copy">
1134 </command>
1135 <command
1136 commandId="org.eclipse.ui.edit.paste">
1137 </command>
1138 <command
1139 commandId="org.eclipse.ui.edit.delete">
1140 </command>
1141 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001142 name="org.eclipse.vex.ui.popup.style"
hvoormannb91295f2009-12-03 19:43:21 +00001143 visible="true">
1144 </separator>
1145 <menu
1146 label="%menu.Style.name">
1147 <dynamic
Florian Thienelea330512011-11-14 22:32:49 +01001148 class="org.eclipse.vex.ui.internal.handlers.StyleMenu"
1149 id="org.eclipse.vex.ui.StyleMenu">
hvoormannb91295f2009-12-03 19:43:21 +00001150 </dynamic>
1151 </menu>
1152 <separator
Florian Thienelea330512011-11-14 22:32:49 +01001153 name="org.eclipse.vex.ui.popup.any"
hvoormannb91295f2009-12-03 19:43:21 +00001154 visible="true">
1155 </separator>
1156 </menuContribution>
dacarver58ad0f82008-10-01 03:29:54 +00001157 </extension>
Holger Voormann738989e2011-04-26 20:43:46 +02001158 <extension
1159 point="org.eclipse.ui.keywords">
1160 <keyword
Florian Thienelea330512011-11-14 22:32:49 +01001161 id="org.eclipse.vex.ui.KeywordVex"
Holger Voormann738989e2011-04-26 20:43:46 +02001162 label="%Keyword.Vex">
1163 </keyword>
1164 </extension>
Florian Thienel214465e2012-01-06 00:23:56 +01001165 <extension
1166 point="org.eclipse.ui.preferencePages">
1167 <page
1168 class="org.eclipse.vex.ui.internal.preferences.RootPreferencePage"
1169 id="org.eclipse.vex.ui.preferences.RootPreferencePage"
1170 name="%preferencePage.RootPreferencePage.name">
1171 </page>
1172 </extension>
1173 <extension
1174 point="org.eclipse.core.runtime.preferences">
1175 <initializer
1176 class="org.eclipse.vex.ui.internal.preferences.PreferenceInitializer">
1177 </initializer>
1178 </extension>
dacarver58ad0f82008-10-01 03:29:54 +00001179
1180</plugin>