]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.views.text/adapters.xml
Added org.simantics.views.text[.ontology] for modelled source viewers
[simantics/platform.git] / bundles / org.simantics.views.text / adapters.xml
diff --git a/bundles/org.simantics.views.text/adapters.xml b/bundles/org.simantics.views.text/adapters.xml
new file mode 100644 (file)
index 0000000..c6dbeee
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2017 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 Eclipse Public License v1.0
+    which accompanies this distribution, and is available at
+    http://www.eclipse.org/legal/epl-v10.html
+   
+    Contributors:
+        Semantum Oy - initial API and implementation
+ -->
+<adapters>
+
+       <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">
+               <type uri="http://www.simantics.org/TextViews-0.0/MarkupSourceViewer" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.text.internal.SWTMarkupSourceViewer</string>
+               </type>
+       </target>
+
+</adapters>