blob: 8e702de28a6d9fcfa591840731bd916838228e63 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension-point id="doctypes" name="%extensionPoint.doctypes" schema="schema/doctype.exsd"/>
<extension-point id="styles" name="%extensionPoint.styles" schema="schema/style.exsd"/>
<extension point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.xml"
describer="org.eclipse.vex.ui.internal.contenttype.VexContentDescriber"
file-extensions="xml"
id="org.eclipse.vex.ui.XmlDocument"
name="%contentType.XmlDocument.name"
priority="low">
</content-type>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
name="%VexEditor.name"
extensions="xml"
icon="$nl$/icons/vex16.png"
class="org.eclipse.vex.ui.internal.editor.VexEditor"
contributorClass="org.eclipse.vex.ui.internal.editor.VexActionBarContributor"
id="org.eclipse.vex.ui.VexEditor">
<contentTypeBinding
contentTypeId="org.eclipse.vex.ui.XmlDocument">
</contentTypeBinding>
</editor>
</extension>
<extension
point="org.eclipse.ui.newWizards">
<category
name="%NewWizardCategory.name"
id="org.eclipse.vex.XMLAuthoringCategory">
</category>
<wizard
name="%NewDocumentWizard.name"
icon="$nl$/icons/vex16.png"
category="org.eclipse.vex.XMLAuthoringCategory"
class="org.eclipse.vex.ui.internal.wizards.NewDocumentWizard"
id="org.eclipse.vex.ui.NewDocumentWizard">
<description>%NewDocumentWizard.desc</description>
<keywordReference
id="org.eclipse.vex.ui.KeywordVex">
</keywordReference>
</wizard>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
name="%DocumentPerspective.name"
icon="$nl$/icons/vex16.png"
class="org.eclipse.vex.ui.internal.perspective.DocumentPerspective"
id="org.eclipse.vex.ui.DocumentPerspective">
</perspective>
</extension>
<extension
point="org.eclipse.ui.contexts">
<context
name="%VexEditorContext.name"
id="org.eclipse.vex.ui.VexEditorContext"
parentId="org.eclipse.ui.textEditorScope">
</context>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
id="org.eclipse.vex.ui.commands.category"
name="%command.category.name">
</category>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddElementCommand"
name="%command.addElement.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.EditNamespacesCommand"
name="%command.editNamespaces.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.DuplicateSelectionCommand"
name="%command.duplicateSelection.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.JoinCommand"
name="%command.join.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.ConvertElementCommand"
name="%command.convertElement.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.RemoveTagCommand"
name="%command.removeTag.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddRowAboveCommand"
name="%command.addRowAbove.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddRowBelowCommand"
name="%command.addRowBelow.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.MoveRowUpCommand"
name="%command.moveRowUp.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.MoveRowDownCommand"
name="%command.moveRowDown.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.RemoveRowCommand"
name="%command.removeRow.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddColumnLeftCommand"
name="%command.addColumnLeft.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddColumnRightCommand"
name="%command.addColumnRight.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.MoveColumnLeftCommand"
name="%command.moveColumnLeft.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.MoveColumnRightCommand"
name="%command.moveColumnRight.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.RemoveColumnCommand"
name="%command.removeColumn.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.PreviousTableCellCommand"
name="%command.previousTableCell.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.NextTableCellCommand"
name="%command.nextTableCell.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.SplitBlockElementCommand"
name="%command.splitBlockElement.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.SplitItemCommand"
name="%command.splitItem.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddCommentCommand"
name="%command.addComment.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.AddProcessingInstructionCommand"
name="%command.addProcessingInstruction.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.SetProcessingInstructionTargetCommand"
name="%command.setProcessingInstructionTarget.name">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.Bold"
name="Bold">
</command>
<command
categoryId="org.eclipse.vex.ui.commands.category"
id="org.eclipse.vex.ui.Italic"
name="Italic">
</command>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="org.eclipse.vex.ui.AddElementCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+SPACE">
</key>
<key
commandId="org.eclipse.vex.ui.DuplicateSelectionCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="M1+M3+ARROW_DOWN"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.ConvertElementCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="M1+M3+SPACE"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.NextTableCellCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="TAB"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.PreviousTableCellCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="M2+TAB"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.RemoveTagCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="M2+DEL"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.SplitBlockElementCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="RETURN"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.SplitItemCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
sequence="M2+RETURN"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
<key
commandId="org.eclipse.vex.ui.AddCommentCommand"
contextId="org.eclipse.vex.ui.VexEditorContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+7">
</key>key>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.vex.ui.internal.handlers.AddElementHandler"
commandId="org.eclipse.vex.ui.AddElementCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.namespace.EditNamespacesHandler"
commandId="org.eclipse.vex.ui.EditNamespacesCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.AddCommentHandler"
commandId="org.eclipse.vex.ui.AddCommentCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.AddProcessingInstructionHandler"
commandId="org.eclipse.vex.ui.AddProcessingInstructionCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.SetProcessingInstructionTargetHandler"
commandId="org.eclipse.vex.ui.SetProcessingInstructionTargetCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isProcessingInstruction">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.DuplicateSelectionHandler"
commandId="org.eclipse.vex.ui.DuplicateSelectionCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.JoinHandler"
commandId="org.eclipse.vex.ui.JoinCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.ConvertElementHandler"
commandId="org.eclipse.vex.ui.ConvertElementCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.RemoveTagHandler"
commandId="org.eclipse.vex.ui.RemoveTagCommand">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.AddRowAboveHandler"
commandId="org.eclipse.vex.ui.AddRowAboveCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.AddRowBelowHandler"
commandId="org.eclipse.vex.ui.AddRowBelowCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.MoveRowUpHandler"
commandId="org.eclipse.vex.ui.MoveRowUpCommand">
<enabledWhen>
<and>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
<with
variable="org.eclipse.vex.ui.isFirstRow">
<equals
value="false">
</equals>
</with>
</and>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.MoveRowDownHandler"
commandId="org.eclipse.vex.ui.MoveRowDownCommand">
<enabledWhen>
<and>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
<with
variable="org.eclipse.vex.ui.isLastRow">
<equals
value="false">
</equals>
</with>
</and>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.RemoveRowHandler"
commandId="org.eclipse.vex.ui.RemoveRowCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.AddColumnLeftHandler"
commandId="org.eclipse.vex.ui.AddColumnLeftCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isColumn">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.AddColumnRightHandler"
commandId="org.eclipse.vex.ui.AddColumnRightCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isColumn">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.MoveColumnLeftHandler"
commandId="org.eclipse.vex.ui.MoveColumnLeftCommand">
<enabledWhen>
<and>
<with
variable="org.eclipse.vex.ui.isColumn">
<equals
value="true">
</equals>
</with>
<with
variable="org.eclipse.vex.ui.isFirstColumn">
<equals
value="false">
</equals>
</with>
</and>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.MoveColumnRightHandler"
commandId="org.eclipse.vex.ui.MoveColumnRightCommand">
<enabledWhen>
<and>
<with
variable="org.eclipse.vex.ui.isColumn">
<equals
value="true">
</equals>
</with>
<with
variable="org.eclipse.vex.ui.isLastColumn">
<equals
value="false">
</equals>
</with>
</and>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.RemoveColumnHandler"
commandId="org.eclipse.vex.ui.RemoveColumnCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isColumn">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.NextTableCellHandler"
commandId="org.eclipse.vex.ui.NextTableCellCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.PreviousTableCellHandler"
commandId="org.eclipse.vex.ui.PreviousTableCellCommand">
<enabledWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</enabledWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.SplitBlockElementHandler"
commandId="org.eclipse.vex.ui.SplitBlockElementCommand">
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.SplitItemHandler"
commandId="org.eclipse.vex.ui.SplitItemCommand">
</handler>
<!-- Go to: Previous/Next Column; Line Up/Down; Previous/Next Word;
Line Start/End; Page Up/Down; Text Start/End -->
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PreviousColumn"
commandId="org.eclipse.ui.edit.text.goto.columnPrevious">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:NextColumn"
commandId="org.eclipse.ui.edit.text.goto.columnNext">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineUp"
commandId="org.eclipse.ui.edit.text.goto.lineUp">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineDown"
commandId="org.eclipse.ui.edit.text.goto.lineDown">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PreviousWord"
commandId="org.eclipse.ui.edit.text.goto.wordPrevious">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:NextWord"
commandId="org.eclipse.ui.edit.text.goto.wordNext">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineStart"
commandId="org.eclipse.ui.edit.text.goto.lineStart">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:LineEnd"
commandId="org.eclipse.ui.edit.text.goto.lineEnd">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PageUp"
commandId="org.eclipse.ui.edit.text.goto.pageUp">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:PageDown"
commandId="org.eclipse.ui.edit.text.goto.pageDown">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:TextStart"
commandId="org.eclipse.ui.edit.text.goto.textStart">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:TextEnd"
commandId="org.eclipse.ui.edit.text.goto.textEnd">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<!-- Select: Previous/Next Column; Line Up/Down; Previous/Next Word;
Line Start/End; Page Up/Down; Text Start/End -->
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPreviousColumn"
commandId="org.eclipse.ui.edit.text.select.columnPrevious">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectNextColumn"
commandId="org.eclipse.ui.edit.text.select.columnNext">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineUp"
commandId="org.eclipse.ui.edit.text.select.lineUp">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineDown"
commandId="org.eclipse.ui.edit.text.select.lineDown">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPreviousWord"
commandId="org.eclipse.ui.edit.text.select.wordPrevious">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectNextWord"
commandId="org.eclipse.ui.edit.text.select.wordNext">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineStart"
commandId="org.eclipse.ui.edit.text.select.lineStart">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectLineEnd"
commandId="org.eclipse.ui.edit.text.select.lineEnd">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPageUp"
commandId="org.eclipse.ui.edit.text.select.pageUp">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectPageDown"
commandId="org.eclipse.ui.edit.text.select.pageDown">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectTextStart"
commandId="org.eclipse.ui.edit.text.select.textStart">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:SelectTextEnd"
commandId="org.eclipse.ui.edit.text.select.textEnd">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<!-- Delete: Previous/Next; Previous/Next Word;
Line; To Beginning/End of Line -->
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeletePrevious"
commandId="org.eclipse.ui.edit.text.deletePrevious">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteNext"
commandId="org.eclipse.ui.edit.text.deleteNext">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeletePreviousWord"
commandId="org.eclipse.ui.edit.text.deletePreviousWord">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteNextWord"
commandId="org.eclipse.ui.edit.text.deleteNextWord">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteLine"
commandId="org.eclipse.ui.edit.text.delete.line">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteToBeginningOfLine"
commandId="org.eclipse.ui.edit.text.delete.line.to.beginning">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:DeleteToEndOfLine"
commandId="org.eclipse.ui.edit.text.delete.line.to.end">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<!-- Cut: Line; To Beginning/End of Line -->
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:CutLine"
commandId="org.eclipse.ui.edit.text.cut.line">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:CutLineToBeginning"
commandId="org.eclipse.ui.edit.text.cut.line.to.beginning">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.internal.handlers.TextEditingHandlerFactory:CutLineToEnd"
commandId="org.eclipse.ui.edit.text.cut.line.to.end">
<activeWhen>
<reference definitionId="org.eclipse.vex.ui.activeVexEditor"/>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.boxview.RefreshHandler"
commandId="org.eclipse.ui.file.refresh">
<activeWhen>
<reference
definitionId="org.eclipse.vex.ui.activeBoxView">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.vex.ui.boxview.InsertBoldHandler"
commandId="org.eclipse.vex.ui.Bold">
</handler>
<handler
class="org.eclipse.vex.ui.boxview.InsertItalicHandler"
commandId="org.eclipse.vex.ui.Italic">
</handler>
<!-- TODO:
- org.eclipse.ui.edit.text.join.lines
- org.eclipse.ui.edit.text.set.mark
- org.eclipse.ui.edit.text.clear.mark
- org.eclipse.ui.edit.text.swap.mark
- org.eclipse.ui.edit.findNext
- org.eclipse.ui.edit.findPrevious
etc. -->
</extension>
<extension
point="org.eclipse.ui.views">
<category
name="%VexViewCategory.name"
id="org.eclipse.vex.ui.views.VexViewCategory">
</category>
<view
name="%DebugView.name"
icon="$nl$/icons/vex16.png"
category="org.eclipse.vex.ui.views.VexViewCategory"
class="org.eclipse.vex.ui.internal.views.DebugView"
id="org.eclipse.vex.ui.views.debug">
</view>
<view
category="org.eclipse.vex.ui.views.VexViewCategory"
class="org.eclipse.vex.ui.internal.config.ConfigurationView"
icon="$nl$/icons/vex16.png"
id="org.eclipse.vex.ui.views.configuration"
name="%ConfigurationView.name">
</view>
<view
category="org.eclipse.vex.ui.views.VexViewCategory"
class="org.eclipse.vex.ui.boxview.BoxDemoView"
id="org.eclipse.vex.ui.views.box"
name="Vex Box Viewer">
</view>
</extension>
<extension
id="pluginNature"
name="%PluginProjectNature.name"
point="org.eclipse.core.resources.natures">
<runtime>
<run
class="org.eclipse.vex.ui.internal.config.PluginProjectNature">
</run>
</runtime>
</extension>
<extension
point="org.eclipse.ui.newWizards">
<category
name="%NewWizardCategory.name"
id="org.eclipse.vex.XMLAuthoringCategory">
</category>
<wizard
name="%NewPluginProjectWizard.name"
icon="$nl$/icons/vex16.png"
category="org.eclipse.vex.XMLAuthoringCategory"
class="org.eclipse.vex.ui.internal.config.NewPluginProjectWizard"
project="true"
id="org.eclipse.vex.ui.config.NewPluginProjectWizard">
<description>%NewPluginProjectWizard.desc</description>
<keywordReference
id="org.eclipse.vex.ui.KeywordVex">
</keywordReference>
</wizard>
</extension>
<extension
id="pluginBuilder"
name="%PluginProjectBuilder.name"
point="org.eclipse.core.resources.builders">
<builder>
<run
class="org.eclipse.vex.ui.internal.config.PluginProjectBuilder">
</run>
</builder>
</extension>
<extension
point="org.eclipse.ui.decorators">
<decorator
lightweight="true"
label="%PluginProjectDecorator.name"
state="true"
class="org.eclipse.vex.ui.internal.config.PluginProjectDecorator"
id="org.eclipse.vex.ui.config.vexPluginProjectDecorator">
<enablement>
<objectClass
name="org.eclipse.core.resources.IProject">
</objectClass>
</enablement>
</decorator>
<decorator
class="org.eclipse.vex.ui.internal.config.BuildProblemDecorator"
id="org.eclipse.vex.ui.config.buildProblemDecorator"
label="%BuildProblemDecorator.name"
lightweight="true"
state="true">
<enablement>
<objectClass
name="org.eclipse.core.resources.IResource">
</objectClass>
</enablement>
</decorator>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
name="%DoctypePropertyPage.name"
class="org.eclipse.vex.ui.internal.config.DoctypePropertyPage"
nameFilter="*.dtd"
id="org.eclipse.vex.ui.config.DoctypePropertyPage">
<filter
name="projectNature"
value="org.eclipse.vex.ui.pluginNature">
</filter>
<enabledWhen>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
</enabledWhen>
</page>
<page
class="org.eclipse.vex.ui.internal.config.StylePropertyPage"
id="org.eclipse.vex.ui.config.StylePropertyPage"
name="%StylePropertyPage.name"
nameFilter="*.css">
<filter
name="projectNature"
value="org.eclipse.vex.ui.pluginNature">
</filter>
<enabledWhen>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
</enabledWhen>
</page>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
<definition
id="org.eclipse.vex.ui.activeVexEditor">
<or>
<with
variable="activeEditorId">
<equals
value="org.eclipse.vex.ui.VexEditor">
</equals>
</with>
<with
variable="activeEditorId">
<equals
value="org.eclipse.vex.ui.VexEditorMultiPage">
</equals>
</with>
</or>
</definition>
<definition
id="org.eclipse.vex.ui.focusedVexEditor">
<or>
<with
variable="activePartId">
<equals
value="org.eclipse.vex.ui.VexEditor">
</equals>
</with>
<with
variable="activePartId">
<equals
value="org.eclipse.vex.ui.VexEditorMultiPage">
</equals>
</with>
</or>
</definition>
<definition
id="org.eclipse.vex.ui.activeBoxView">
<with
variable="activePartId">
<equals
value="org.eclipse.vex.ui.views.box">
</equals>
</with>
</definition>
</extension>
<extension
point="org.eclipse.ui.services">
<sourceProvider
provider="org.eclipse.vex.ui.internal.editor.DocumentContextSourceProvider">
<variable
name="org.eclipse.vex.ui.isColumn"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isFirstColumn"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isLastColumn"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isRow"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isFirstRow"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isLastRow"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isElement"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isComment"
priorityLevel="workbench">
</variable>
<variable
name="org.eclipse.vex.ui.isProcessingInstruction"
priorityLevel="workbench">
</variable>
</sourceProvider>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=edit">
<menu
label="%menu.Document.name">
<visibleWhen>
<reference
definitionId="org.eclipse.vex.ui.activeVexEditor">
</reference>
</visibleWhen>
<menu
label="%menu.Add.name">
<command
commandId="org.eclipse.vex.ui.AddElementCommand"
label="%menu.Add.Element.name">
</command>
<command
commandId="org.eclipse.vex.ui.AddCommentCommand"
label="%menu.Add.Comment.name"
style="push">
</command>
<command
commandId="org.eclipse.vex.ui.AddProcessingInstructionCommand"
label="%menu.Add.ProcessingInstruction.name">
<visibleWhen>
<and>
<with variable="org.eclipse.vex.ui.isComment">
<equals value="false" />
</with>
<with variable="org.eclipse.vex.ui.isProcessingInstruction">
<equals value="false" />
</with>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.vex.ui.AddRowAboveCommand"
label="%menu.Add.RowAbove.name">
</command>
<command
commandId="org.eclipse.vex.ui.AddRowBelowCommand"
label="%menu.Add.RowBelow.name">
</command>
<command
commandId="org.eclipse.vex.ui.AddColumnLeftCommand"
label="%menu.Add.ColumnLeft.name">
</command>
<command
commandId="org.eclipse.vex.ui.AddColumnRightCommand"
label="%menu.Add.ColumnRight.name">
</command>
</menu>
<command
commandId="org.eclipse.vex.ui.DuplicateSelectionCommand"
label="%menu.DuplicateSelection.name">
</command>
<command
commandId="org.eclipse.vex.ui.ConvertElementCommand">
</command>
<menu
label="%menu.Move.name">
<command
commandId="org.eclipse.vex.ui.MoveRowUpCommand"
label="%menu.Move.RowUp">
</command>
<command
commandId="org.eclipse.vex.ui.MoveRowDownCommand"
label="%menu.Move.RowDown">
</command>
<command
commandId="org.eclipse.vex.ui.MoveColumnLeftCommand"
label="%menu.Move.ColumnLeft">
</command>
<command
commandId="org.eclipse.vex.ui.MoveColumnRightCommand"
label="%menu.Move.ColumnRight">
</command>
</menu>
<menu
label="%menu.Remove.name">
<command
commandId="org.eclipse.vex.ui.RemoveTagCommand">
</command>
<command
commandId="org.eclipse.vex.ui.RemoveRowCommand"
label="%menu.Remove.Row.name">
</command>
<command
commandId="org.eclipse.vex.ui.RemoveColumnCommand"
label="%menu.Remove.Column.name">
</command>
</menu>
<command
commandId="org.eclipse.vex.ui.JoinCommand"
label="%menu.Join.name">
</command>
<command
commandId="org.eclipse.vex.ui.SetProcessingInstructionTargetCommand"
label="%command.setProcessingInstructionTarget.name">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.vex.ui.EditNamespacesCommand"
label="%menu.EditNamespaces.name">
</command>
<separator
name="org.eclipse.vex.ui.popup.style"
visible="true">
</separator>
<menu
label="%menu.Style.name">
<dynamic
class="org.eclipse.vex.ui.internal.handlers.StyleMenu"
id="org.eclipse.vex.ui.StyleMenu">
</dynamic>
</menu>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.vex.ui.popup">
<separator
name="org.eclipse.vex.ui.popup.undoRevertSave"
visible="true">
</separator>
<command
commandId="org.eclipse.ui.edit.undo">
</command>
<command
commandId="org.eclipse.ui.file.revert">
</command>
<command
commandId="org.eclipse.ui.file.save">
</command>
<separator
name="org.eclipse.vex.ui.popup.vexCommands"
visible="true">
</separator>
<command
commandId="org.eclipse.vex.ui.AddElementCommand">
</command>
<command
commandId="org.eclipse.vex.ui.DuplicateSelectionCommand"
label="%menu.DuplicateSelection.name">
</command>
<command
commandId="org.eclipse.vex.ui.ConvertElementCommand"
label="org.eclipse.vex.ui.popupmenu.ConvertElement">
</command>
<command
commandId="org.eclipse.vex.ui.RemoveTagCommand">
</command>
<command
commandId="org.eclipse.vex.ui.JoinCommand"
label="%menu.Join.name">
</command>
<command
commandId="org.eclipse.vex.ui.SetProcessingInstructionTargetCommand"
label="%command.setProcessingInstructionTarget.name">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
<command
commandId="org.eclipse.vex.ui.EditNamespacesCommand"
label="%menu.EditNamespaces.name">
</command>
<separator
name="org.eclipse.vex.ui.popup.vexTableItems"
visible="true">
</separator>
<menu
label="%menu.Row.name">
<visibleWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</visibleWhen>
<command
commandId="org.eclipse.vex.ui.AddRowAboveCommand"
label="%menu.Row.AddAbove.name">
</command>
<command
commandId="org.eclipse.vex.ui.AddRowBelowCommand"
label="%menu.Row.AddBelow.name">
</command>
<command
commandId="org.eclipse.vex.ui.MoveRowUpCommand"
label="%menu.Row.MoveUp.name">
</command>
<command
commandId="org.eclipse.vex.ui.MoveRowDownCommand"
label="%menu.Row.MoveDown.name">
</command>
<command
commandId="org.eclipse.vex.ui.RemoveRowCommand"
label="%menu.Row.Remove.name">
</command>
</menu>
<menu
label="%menu.Column.name">
<visibleWhen>
<with
variable="org.eclipse.vex.ui.isRow">
<equals
value="true">
</equals>
</with>
</visibleWhen>
<command
commandId="org.eclipse.vex.ui.AddColumnLeftCommand"
label="%menu.Column.AddLeft.name">
</command>
<command
commandId="org.eclipse.vex.ui.AddColumnRightCommand"
label="%menu.Column.AddRight.name">
</command>
<command
commandId="org.eclipse.vex.ui.MoveColumnLeftCommand"
label="%menu.Column.MoveLeft.name">
</command>
<command
commandId="org.eclipse.vex.ui.MoveColumnRightCommand"
label="%menu.Column.MoveRight.name">
</command>
<command
commandId="org.eclipse.vex.ui.RemoveColumnCommand"
label="%menu.Column.Remove.name">
</command>
</menu>
<separator
name="org.eclipse.vex.ui.popup.cutCopyPaste"
visible="true">
</separator>
<command
commandId="org.eclipse.ui.edit.cut">
</command>
<command
commandId="org.eclipse.ui.edit.copy">
</command>
<command
commandId="org.eclipse.ui.edit.paste">
</command>
<command
commandId="org.eclipse.ui.edit.delete">
</command>
<separator
name="org.eclipse.vex.ui.popup.style"
visible="true">
</separator>
<menu
label="%menu.Style.name">
<dynamic
class="org.eclipse.vex.ui.internal.handlers.StyleMenu"
id="org.eclipse.vex.ui.StyleMenu">
</dynamic>
</menu>
<separator
name="org.eclipse.vex.ui.popup.any"
visible="true">
</separator>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.vex.ui.views.box">
<command
commandId="org.eclipse.ui.file.refresh"
icon="icons/refresh.gif"
label="Refresh"
style="push"
tooltip="Refresh the BoxView">
</command>
<command
commandId="org.eclipse.vex.ui.Bold"
icon="icons/style_bold.gif"
label="Bold"
style="push">
</command>
<command
commandId="org.eclipse.vex.ui.Italic"
icon="icons/style_italic.gif"
label="Italic"
style="push">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.keywords">
<keyword
id="org.eclipse.vex.ui.KeywordVex"
label="%Keyword.Vex">
</keyword>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="org.eclipse.vex.ui.internal.preferences.RootPreferencePage"
id="org.eclipse.vex.ui.preferences.RootPreferencePage"
name="%preferencePage.RootPreferencePage.name">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.vex.ui.internal.preferences.PreferenceInitializer">
</initializer>
</extension>
</plugin>