]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.spreadsheet.ui/adapters.xml
BrowseContext creation fails when including invalid contributions
[simantics/platform.git] / bundles / org.simantics.spreadsheet.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
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 <adapters>
15
16         <target interface="org.simantics.diagram.synchronization.graph.ElementWriter">
17                 <resource uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"
18                         class="org.simantics.spreadsheet.ui.SheetWriter" />
19         </target>
20
21         <target interface="org.simantics.diagram.adapter.ElementFactory">
22                 <resource
23                         uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"
24                         class="org.simantics.spreadsheet.ui.SheetFactory">
25                 </resource>
26                 <type
27                         uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"
28                         class="org.simantics.spreadsheet.ui.SheetFactory">
29                 </type>
30         </target>
31
32         <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
33                 <type uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"
34                         class="org.simantics.ui.icons.BundleImageDescriptorProvider">
35                         <bundle />
36                         <string>icons/table.png</string>
37                 </type>
38         </target>
39
40         <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
41                 <type uri="http://www.simantics.org/Spreadsheet-0.0/Book"
42                         class="org.simantics.ui.icons.BundleImageDescriptorProvider">
43                         <bundle />
44                         <string>icons/book.png</string>
45                 </type>
46         </target>
47 </adapters>