]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.annotation.ui/adapters.xml
foobaz
[simantics/platform.git] / bundles / org.simantics.annotation.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2007, 2012 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 <adapters>
14         <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
15                 <type uri="http://www.simantics.org/Annotation-0.0/Annotation"
16                         class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationNode">
17                         <this />
18                 </type>
19         </target>
20         <target interface="org.simantics.db.layer0.adapter.ActionFactory">
21                 <resource
22                         uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotation"
23                         class="org.simantics.annotation.ui.actions.NewAnnotation" />
24                 <resource
25                         uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationType"
26                         class="org.simantics.annotation.ui.actions.NewAnnotationType" />
27                 <resource
28                         uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationInstance"
29                         class="org.simantics.annotation.ui.actions.NewAnnotationInstance" />
30         </target>
31
32         <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
33                 <resource
34                         uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeLabelRule"
35                         class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationTypeLabelRule"
36                         constructor="get" />
37         </target>
38
39         <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
40                 <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />
41                 <resource
42                         uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeModifierRule"
43                         class="org.simantics.browsing.ui.model.modifiers.SingleObjectStringPropertyModifierRule">
44                         <graph />
45                         <string>http://www.simantics.org/Layer0-0.0/HasRange/Inverse</string>
46                         <string>http://www.simantics.org/Layer0-0.0/HasName</string>
47                 </resource>
48         </target>
49
50         <target interface="org.simantics.ui.workbench.IEditorNamingService">
51                 <type uri="http://www.simantics.org/Annotation-0.0/AnnotationType"
52                         class="org.simantics.annotation.ui.editor.AnnotationTypeEditorNamingService">
53                 </type>
54         </target>
55         
56         <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
57                 <resource
58                         uri="http://www.simantics.org/Annotation-1.0/Actions/AnnotationDropAction"
59                         class="org.simantics.annotation.ui.actions.AnnotationDropActionFactory" />
60         </target>
61         
62 </adapters>