12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?eclipse version="3.4"?>
- <plugin>
-
- <!-- Define commands -->
- <extension
- point="org.eclipse.ui.commands">
- <category
- name="%category.name"
- id="com.nokia.hag.commands.category">
- </category>
- <command
- name="%command.preview.name"
- categoryId="com.nokia.hag.commands.category"
- id="com.nokia.hag.commands.preview">
- </command>
- <command
- name="%command.build.name"
- categoryId="com.nokia.hag.commands.category"
- id="com.nokia.hag.commands.build">
- </command>
- </extension>
- <!-- Command handlers -->
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- commandId="com.nokia.hag.commands.preview"
- class="com.nokia.hag.handlers.PreviewHandler">
- </handler>
- <handler
- commandId="com.nokia.hag.commands.build"
- class="com.nokia.hag.handlers.BuildHandler">
- </handler>
- </extension>
- <!-- Shortcuts -->
- <extension
- point="org.eclipse.ui.bindings">
- <key
- commandId="com.nokia.hag.commands.build"
- contextId="org.eclipse.ui.contexts.window"
- sequence="M1+6"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </key>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <!-- Main menu includes all commands -->
- <menuContribution
- locationURI="menu:org.eclipse.ui.main.menu?after=additions">
- <menu
- label="%menu.label"
- mnemonic="%menu.mnemonic"
- id="com.nokia.hag.menus.hybridMenu">
- <command
- commandId="com.nokia.hag.commands.preview"
- mnemonic="%command.preview.mnemonic"
- id="com.nokia.hag.menus.preview">
- </command>
- <command
- commandId="com.nokia.hag.commands.build"
- mnemonic="%command.build.mnemonic"
- id="com.nokia.hag.menus.build">
- </command>
- </menu>
- </menuContribution>
- <!-- Toolbar only for build, now at least -->
- <menuContribution
- locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
- <toolbar
- id="com.nokia.hag.toolbars.hybridToolbar">
- <command
- commandId="com.nokia.hag.commands.build"
- icon="icons/hag.png"
- tooltip="%command.build.tooltip"
- id="com.nokia.hag.toolbars.build">
- </command>
- </toolbar>
- </menuContribution>
- </extension>
- </plugin>
|