]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.annotation.ui/adapters.xml
Fixed adapters.xml line endings to standard LF.
[simantics/platform.git] / bundles / org.simantics.annotation.ui / adapters.xml
index df1bf75e920b1c623d959331f16496a96768fa22..4bc8d9f0f4cc49d4daf0753ce0dd4d25b4adba31 100644 (file)
@@ -1,3 +1,62 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2007, 2012 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 -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2012 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:
+        VTT Technical Research Centre of Finland - initial API and implementation
+ -->
 <adapters>
-       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">\r               <type uri="http://www.simantics.org/Annotation-0.0/Annotation"\r                 class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationNode">\r                        <this />\r               </type>\r        </target>\r      <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r             <resource\r                      uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotation"\r                    class="org.simantics.annotation.ui.actions.NewAnnotation" />\r           <resource\r                      uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationType"\r                        class="org.simantics.annotation.ui.actions.NewAnnotationType" />\r               <resource\r                      uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationInstance"\r                    class="org.simantics.annotation.ui.actions.NewAnnotationInstance" />\r   </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource\r                      uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeLabelRule"\r                     class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationTypeLabelRule"\r                        constructor="get" />\r   </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />\r          <resource\r                      uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeModifierRule"\r                  class="org.simantics.browsing.ui.model.modifiers.SingleObjectStringPropertyModifierRule">\r                      <graph />\r                      <string>http://www.simantics.org/Layer0-0.0/HasRange/Inverse</string>\r                  <string>http://www.simantics.org/Layer0-0.0/HasName</string>\r           </resource>\r    </target>\r\r     <target interface="org.simantics.ui.workbench.IEditorNamingService">\r           <type uri="http://www.simantics.org/Annotation-0.0/AnnotationType"\r                     class="org.simantics.annotation.ui.editor.AnnotationTypeEditorNamingService">\r          </type>\r        </target>\r      \r       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">\r         <resource\r                      uri="http://www.simantics.org/Annotation-1.0/Actions/AnnotationDropAction"\r                     class="org.simantics.annotation.ui.actions.AnnotationDropActionFactory" />\r     </target>\r      \r</adapters>
\ No newline at end of file
+       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
+               <type uri="http://www.simantics.org/Annotation-0.0/Annotation"
+                       class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationNode">
+                       <this />
+               </type>
+       </target>
+       <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotation"
+                       class="org.simantics.annotation.ui.actions.NewAnnotation" />
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationType"
+                       class="org.simantics.annotation.ui.actions.NewAnnotationType" />
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationInstance"
+                       class="org.simantics.annotation.ui.actions.NewAnnotationInstance" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeLabelRule"
+                       class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationTypeLabelRule"
+                       constructor="get" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeModifierRule"
+                       class="org.simantics.browsing.ui.model.modifiers.SingleObjectStringPropertyModifierRule">
+                       <graph />
+                       <string>http://www.simantics.org/Layer0-0.0/HasRange/Inverse</string>
+                       <string>http://www.simantics.org/Layer0-0.0/HasName</string>
+               </resource>
+       </target>
+
+       <target interface="org.simantics.ui.workbench.IEditorNamingService">
+               <type uri="http://www.simantics.org/Annotation-0.0/AnnotationType"
+                       class="org.simantics.annotation.ui.editor.AnnotationTypeEditorNamingService">
+               </type>
+       </target>
+       
+       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Annotation-1.0/Actions/AnnotationDropAction"
+                       class="org.simantics.annotation.ui.actions.AnnotationDropActionFactory" />
+       </target>
+       
+</adapters>
\ No newline at end of file