OsmAnd/build-scripts/net.osmand.translator/plugin.xml
2012-09-13 20:54:49 +02:00

62 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<category
name="Sample Category"
id="net.osmand.translator.commands.category">
</category>
<command
name="Sample Command"
categoryId="net.osmand.translator.commands.category"
id="net.osmand.translator.commands.sampleCommand">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="net.osmand.translator.commands.sampleCommand"
class="net.osmand.translator.handlers.TranslationHandler">
</handler>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="net.osmand.translator.commands.sampleCommand"
contextId="org.eclipse.ui.contexts.window"
sequence="M1+6"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
</key>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
label="Translate To C++"
mnemonic="M"
id="net.osmand.translator.menus.sampleMenu">
<command
commandId="net.osmand.translator.commands.sampleCommand"
mnemonic="S"
id="net.osmand.translator.menus.sampleCommand">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="net.osmand.translator.toolbars.sampleToolbar">
<command
commandId="net.osmand.translator.commands.sampleCommand"
icon="icons/sample.gif"
tooltip="Say hello world"
id="net.osmand.translator.toolbars.sampleCommand">
</command>
</toolbar>
</menuContribution>
</extension>
</plugin>