--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?eclipse version="3.2"?>\r<!--\r
+ Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+ in Industry THTH ry.\r
+ All rights reserved. This program and the accompanying materials\r
+ are made available under the terms of the Eclipse Public License v1.0\r
+ which accompanies this distribution, and is available at\r
+ http://www.eclipse.org/legal/epl-v10.html\r
+ \r
+ Contributors:\r
+ VTT Technical Research Centre of Finland - initial API and implementation\r
+ -->\r
+
+<plugin>\r
+\r
+ <extension\r
+ point="org.eclipse.ui.editors">\r
+ <editor\r
+ class="org.simantics.spreadsheet.ui.editor.SpreadsheetEditor"\r
+ icon="icons/table.png"\r
+ id="org.simantics.spreadsheet.ui.editor"\r
+ matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"\r
+ name="Spreadsheet Editor">\r
+ </editor>\r
+ <editor\r
+ class="org.simantics.spreadsheet.ui.editor.SpreadsheetEditor2"\r
+ icon="platform:/plugin/com.famfamfam.silk/icons/table_multiple.png"\r
+ id="org.simantics.spreadsheet.ui.editor2"\r
+ matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"\r
+ name="Spreadsheet Editor">\r
+ </editor>\r
+ </extension>\r
+\r
+ <extension\r
+ point="org.eclipse.ui.handlers">\r
+ <handler\r
+ class="org.simantics.spreadsheet.ui.DeleteHandler"\r
+ commandId="org.eclipse.ui.edit.delete">\r
+ <activeWhen>\r
+ <with\r
+ variable="activeContexts">\r
+ <iterate\r
+ ifEmpty="false"\r
+ operator="or">\r
+ <equals\r
+ value="org.simantics.spreadsheet.ui.context">\r
+ </equals>\r
+ </iterate>\r
+ </with>\r
+ </activeWhen>\r
+ </handler>\r
+ </extension>\r
+ <extension\r
+ point="org.eclipse.ui.contexts">\r
+ <context\r
+ id="org.simantics.spreadsheet.ui.context"\r
+ name="Spreadsheet UI"\r
+ parentId="org.eclipse.ui.contexts.dialogAndWindow">\r
+ </context>\r
+ </extension>\r
+<!--\r
+ <extension\r
+ point="org.simantics.browsing.ui.common.selectionProcessorBinding">\r
+ <binding browseContext="http://www.simantics.org/Spreadsheet-0.0/BrowseContext">\r
+ <implementation class="org.simantics.spreadsheet.ui.editor.SpreadsheetSelectionProcessor" />\r
+ </binding>\r
+ </extension>\r
+-->\r
+</plugin>\r