]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graphfile.ui/adapters.xml
Move some GraphFile UI from Simupedia to platform
[simantics/platform.git] / bundles / org.simantics.graphfile.ui / adapters.xml
diff --git a/bundles/org.simantics.graphfile.ui/adapters.xml b/bundles/org.simantics.graphfile.ui/adapters.xml
new file mode 100644 (file)
index 0000000..6eceb37
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2013, 2014 Association for Decentralized 
+    Information Management in Industry THTH ry.
+    All rights reserved. This program and the accompanying materials
+    are made available under the terms of the THTH Simantics 
+    Division Member Component License which accompanies this 
+    distribution, and is available at
+    http://www.simantics.org/legal/sdmcl-v10.html
+    
+    Contributors:
+        Semantum Oy - initial API and implementation
+ -->
+
+<adapters>
+    <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+        <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ImportFileDocument"
+            class="org.simantics.document.ui.actions.ImportDocument">
+            <graph/>
+            <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
+        </resource>
+        <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ImportDocumentFolder"
+            class="org.simantics.document.ui.actions.ImportDocumentFolder">
+            <graph/>
+            <string>http://www.simantics.org/GraphFile-0.0/Folder</string>
+            <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
+        </resource>
+        <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/NewFileDocument"
+            class="org.simantics.document.ui.actions.NewFileDocument">
+            <graph/>
+            <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
+            <string>File</string>            
+        </resource>
+        <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/NewDocumentFolder"
+            class="org.simantics.document.ui.actions.NewDocumentFolder">
+            <graph/>
+            <string>http://www.simantics.org/GraphFile-0.0/Folder</string>
+            <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
+        </resource>
+        <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ExportFileDocument"
+            class="org.simantics.document.ui.actions.ExportDocumentFile" />
+        <resource uri="http://www.simantics.org/GraphFileUI-1.0/BrowseContext/Actions/ExportDocumentFolder"
+            class="org.simantics.document.ui.actions.ExportDocumentFolder">
+            <graph/>
+            <string>http://www.simantics.org/Layer0-0.0/ConsistsOf</string>
+            <string>false</string>
+        </resource>
+    </target>
+
+</adapters>
\ No newline at end of file