blob: 16f3ce17e0a1eae7b03a9439eeda31becf06fd85 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
Copyright (c) 2016 Chalmers | University of Gothenburg, rt-labs and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Chalmers | University of Gothenburg and rt-labs - initial API and implementation and/or initial documentation
-->
<plugin>
<extension
point="org.eclipse.ui.views">
<category
id="org.eclipse.capra.ui.views"
name="Capra Views">
</category>
<view
category="org.eclipse.capra.ui.views"
class="org.eclipse.capra.ui.office.views.OfficeView"
icon="icons/selectionView.png"
id="org.eclipse.capra.ui.views.OfficeView"
name="Office Selection View">
</view>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
id="org.eclipse.capra.ui.office.clearselection"
name="Clear Selection">
</command>
<command
id="org.eclipse.capra.ui.office.showdetails"
name="Show Details">
</command>
<command
id="org.eclipse.capra.ui.office.openfile"
name="Open File">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.capra.ui.office.handlers.ClearSelectionHandler"
commandId="org.eclipse.capra.ui.office.clearselection">
</handler>
<handler
class="org.eclipse.capra.ui.office.handlers.ShowObjectDetailsHandler"
commandId="org.eclipse.capra.ui.office.showdetails">
</handler>
<handler
class="org.eclipse.capra.ui.office.handlers.OpenFileHandler"
commandId="org.eclipse.capra.ui.office.openfile">
</handler>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.capra.ui.views.OfficeView?after=additions">
<command
commandId="org.eclipse.capra.ui.office.openfile"
label="Open File"
style="push"
tooltip="Triggers the file selection dialog.">
</command>
<separator
name="org.eclipse.capra.generic.tracecreation.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.capra.ui.office.showdetails"
label="Show Details"
style="push"
tooltip="Shows the details of the selected row">
</command>
<command
commandId="org.eclipse.capra.ui.office.clearselection"
label="Clear Selection"
style="push"
tooltip="Clears the current selection of elements">
</command>
<separator
name="org.eclipse.capra.generic.tracecreation.separator1"
visible="true">
</separator>
</menuContribution>
</extension>
</plugin>