]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.spreadsheet.ui/plugin.xml
Removed contact application support prints
[simantics/platform.git] / bundles / org.simantics.spreadsheet.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>\r<!--
3     Copyright (c) 2007, 2010 Association for Decentralized Information Management
4     in Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <plugin>
15
16    <extension
17          point="org.eclipse.ui.editors">
18       <editor
19             class="org.simantics.spreadsheet.ui.editor.SpreadsheetEditor"
20             icon="icons/table.png"
21             id="org.simantics.spreadsheet.ui.editor"
22             matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
23             name="Spreadsheet Editor">
24       </editor>
25           <editor
26          class="org.simantics.spreadsheet.ui.editor.SpreadsheetEditor2"
27          icon="platform:/plugin/com.famfamfam.silk/icons/table_multiple.png"
28          id="org.simantics.spreadsheet.ui.editor2"
29          matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
30          name="Spreadsheet Editor">
31       </editor>
32    </extension>
33
34    <extension
35          point="org.eclipse.ui.handlers">
36       <handler
37             class="org.simantics.spreadsheet.ui.DeleteHandler"
38             commandId="org.eclipse.ui.edit.delete">
39          <activeWhen>
40             <with
41                   variable="activeContexts">
42                <iterate
43                      ifEmpty="false"
44                      operator="or">
45                   <equals
46                         value="org.simantics.spreadsheet.ui.context">
47                   </equals>
48                </iterate>
49             </with>
50          </activeWhen>
51       </handler>
52    </extension>
53    <extension
54          point="org.eclipse.ui.contexts">
55       <context
56             id="org.simantics.spreadsheet.ui.context"
57             name="Spreadsheet UI"
58             parentId="org.eclipse.ui.contexts.dialogAndWindow">
59       </context>
60    </extension>
61 <!--
62    <extension
63          point="org.simantics.browsing.ui.common.selectionProcessorBinding">
64       <binding browseContext="http://www.simantics.org/Spreadsheet-0.0/BrowseContext">
65          <implementation class="org.simantics.spreadsheet.ui.editor.SpreadsheetSelectionProcessor" />
66       </binding>
67    </extension>
68 -->
69 </plugin>