diff options
Diffstat (limited to 'plugins/editor/org.eclipse.papyrus.editor/plugin.xml')
-rw-r--r-- | plugins/editor/org.eclipse.papyrus.editor/plugin.xml | 100 |
1 files changed, 75 insertions, 25 deletions
diff --git a/plugins/editor/org.eclipse.papyrus.editor/plugin.xml b/plugins/editor/org.eclipse.papyrus.editor/plugin.xml index e93975eabfb..656c9b7a877 100644 --- a/plugins/editor/org.eclipse.papyrus.editor/plugin.xml +++ b/plugins/editor/org.eclipse.papyrus.editor/plugin.xml @@ -1,25 +1,75 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor"
- contributorClass="org.eclipse.papyrus.editor.PapyrusActionBarContributor"
- default="true"
- extensions="di"
- icon="icons/papyrus/Papyrus_16x16.gif"
- id="org.eclipse.papyrus.infra.core.papyrusEditor"
- matchingStrategy="org.eclipse.papyrus.editor.PapyrusMatchingStrategy"
- name="Papyrus Editor Core">
- </editor>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <category
- description="this a category of papyrus commands"
- id="org.eclipse.papyrus.editor.category"
- name="Papyrus Category">
- </category>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.2"?> +<plugin> + <extension point="org.eclipse.ui.editors"> + <editor + class="org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor" + contributorClass="org.eclipse.papyrus.editor.PapyrusActionBarContributor" + default="true" + extensions="di" + icon="icons/papyrus/Papyrus_16x16.gif" + id="org.eclipse.papyrus.infra.core.papyrusEditor" + matchingStrategy="org.eclipse.papyrus.editor.PapyrusMatchingStrategy" + name="Papyrus Editor Core"> + </editor> + </extension> + <extension + point="org.eclipse.ui.commands"> + <category + description="this a category of papyrus commands" + id="org.eclipse.papyrus.editor.category" + name="Papyrus Category"> + </category> + + <command + categoryId="org.eclipse.ui.category.navigate" + id="org.eclipse.papyrus.editor.nextTabCommand" + name="Next Tab"> + </command> + <command + categoryId="org.eclipse.ui.category.navigate" + id="org.eclipse.papyrus.editor.previousTabCommand" + name="Previous Tab"> + </command> + </extension> + <extension + point="org.eclipse.ui.bindings"> + <key + commandId="org.eclipse.papyrus.editor.nextTabCommand" + contextId="org.eclipse.ui.contexts.window" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="CTRL+TAB"> + </key> + <key + commandId="org.eclipse.papyrus.editor.previousTabCommand" + contextId="org.eclipse.ui.contexts.window" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="CTRL+M2+TAB"> + </key> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.papyrus.editor.handlers.NextTabHandler" + commandId="org.eclipse.papyrus.editor.nextTabCommand"> + <activeWhen> + <with variable="activeEditorId"> + <equals value="org.eclipse.papyrus.infra.core.papyrusEditor"/> + </with> + </activeWhen> + </handler> + <handler + class="org.eclipse.papyrus.editor.handlers.PreviousTabHandler" + commandId="org.eclipse.papyrus.editor.previousTabCommand"> + <activeWhen> + <with + variable="activeEditorId"> + <equals + value="org.eclipse.papyrus.infra.core.papyrusEditor"> + </equals> + </with> + </activeWhen> + </handler> + </extension> + +</plugin> |