]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graphfile.ui/adapters.xml
Add isDisposed checking to avoid unexpected NPE
[simantics/platform.git] / bundles / org.simantics.graphfile.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2013, 2014 Association for Decentralized 
4     Information Management in Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the THTH Simantics 
7     Division Member Component License which accompanies this 
8     distribution, and is available at
9     http://www.simantics.org/legal/sdmcl-v10.html
10     
11     Contributors:
12         Semantum Oy - initial API and implementation
13  -->
14
15 <adapters>
16     <target interface="org.simantics.db.layer0.adapter.ActionFactory">
17         <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ImportFileDocument"
18             class="org.simantics.document.ui.actions.ImportDocument">
19             <graph/>
20             <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
21         </resource>
22         <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ImportDocumentFolder"
23             class="org.simantics.document.ui.actions.ImportDocumentFolder">
24             <graph/>
25             <string>http://www.simantics.org/GraphFile-0.0/Folder</string>
26             <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
27         </resource>
28         <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/NewFileDocument"
29             class="org.simantics.document.ui.actions.NewFileDocument">
30             <graph/>
31             <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
32             <string>File</string>            
33         </resource>
34         <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/NewDocumentFolder"
35             class="org.simantics.document.ui.actions.NewDocumentFolder">
36             <graph/>
37             <string>http://www.simantics.org/GraphFile-0.0/Folder</string>
38             <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
39         </resource>
40         <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ExportFileDocument"
41             class="org.simantics.document.ui.actions.ExportDocumentFile" />
42         <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ExportDocumentFolder"
43             class="org.simantics.document.ui.actions.ExportDocumentFolder">
44             <graph/>
45             <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
46             <string>false</string>
47         </resource>
48     </target>
49
50 </adapters>