<?xml version="1.0" encoding="UTF-8"?> | |
<?eclipse version="3.4"?> | |
<plugin> | |
<extension | |
point="org.eclipse.ui.commands"> | |
<category | |
name="Sample Category" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.commands.category"> | |
</category> | |
<command | |
name="Import from file..." | |
categoryId="org.eclipse.opencert.evm.oslc.km.importevid.commands.category" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.commands.sampleCommand"> | |
</command> | |
<command | |
categoryId="org.eclipse.opencert.evm.oslc.km.importevid.commands.category" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.commands.indexCommand" | |
name="Index file ..."> | |
</command> | |
<command | |
categoryId="org.eclipse.opencert.evm.oslc.km.importevid.commands.category" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.commands.retrieveCommand" | |
name="Look for similar models ..."> | |
</command> | |
</extension> | |
<extension | |
point="org.eclipse.ui.handlers"> | |
<handler | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.sampleCommand" | |
class="org.eclipse.opencert.evm.oslc.km.importevid.handlers.OslcKmImporterHandler"> | |
</handler> | |
<handler | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.indexCommand" | |
class="org.eclipse.opencert.evm.oslc.km.importevid.handlers.OslcKmIndexFileHandler"> | |
</handler> | |
<handler | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.retrieveCommand" | |
class="org.eclipse.opencert.evm.oslc.km.importevid.handlers.OslcKmRetrieveHandler"> | |
</handler> | |
</extension> | |
<extension | |
point="org.eclipse.ui.bindings"> | |
<key | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.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="OSLC-KM" | |
mnemonic="K" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.menus.sampleMenu"> | |
<command | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.sampleCommand" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.menus.sampleCommand" | |
label="Import evidence model from file" | |
mnemonic="S" | |
tooltip="Imports evidences from any Papyrus model"> | |
</command> | |
<separator name="additions" visible="true"></separator> | |
<command | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.indexCommand" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.menus.indexCommand" | |
label="Index file" | |
mnemonic="S" | |
tooltip="Indexes a local file, for Reuse Discovery purposes"> | |
</command> | |
<command | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.retrieveCommand" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.menus.retrieveCommand" | |
label="Look for similar models" | |
mnemonic="S" | |
tooltip="Indexes and searches for similar files, for Reuse Discovery purposes"> | |
</command> | |
</menu> | |
</menuContribution> | |
<menuContribution | |
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions"> | |
<toolbar | |
id="org.eclipse.opencert.evm.oslc.km.importevid.toolbars.sampleToolbar"> | |
<command | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.commands.sampleCommand" | |
icon="icons/sample.gif" | |
id="org.eclipse.opencert.evm.oslc.km.importevid.toolbars.sampleCommand" | |
label="Import from file..."> | |
</command> | |
</toolbar> | |
<menu | |
id="fileMenu" | |
label="File"> | |
<command | |
commandId="org.eclipse.opencert.evm.oslc.km.importevid.command1" | |
label="Exit" | |
style="push" | |
tooltip="Exits the application"> | |
</command> | |
</menu> | |
</menuContribution> | |
</extension> | |
</plugin> |