]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.template2d.ui/adapters.xml
Merge remote-tracking branch 'origin/svn'
[simantics/platform.git] / bundles / org.simantics.modeling.template2d.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r<!--\r
2     Copyright (c) 2012 Association for Decentralized Information Management in\r
3     Industry THTH ry.\r
4     All rights reserved. This program and the accompanying materials\r
5     are made available under the terms of the Eclipse Public License v1.0\r
6     which accompanies this distribution, and is available at\r
7     http://www.eclipse.org/legal/epl-v10.html\r
8    \r
9     Contributors:\r
10         VTT Technical Research Centre of Finland - initial API and implementation\r
11  -->\r
12
13 <adapters>\r
14         <target interface="org.simantics.scenegraph.profile.Group">\r
15         <!--\r
16                 <type uri="http://www.simantics.org/Diagram-0.0/SCLGroup" class="fi.vtt.apros.ui.diagram.adapters.SCLGroup">\r
17                         <this />\r
18                 </type>\r
19                 -->\r
20                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramGroup"\r
21                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DiagramGroup">\r
22                 </resource>\r
23         </target>\r
24 \r
25         <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r
26                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTypeVisual"\r
27                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTypeVisual" />\r
28         </target>\r
29 \r
30         <target interface="org.simantics.scenegraph.profile.Style">\r
31                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DrawingBorderStyle"\r
32                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DrawingBorderStyle">\r
33                 </resource>\r
34                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DrawingFlagTableStyle"\r
35                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DrawingFlagTableStyle">\r
36                         <graph/>\r
37                 </resource>\r
38                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DrawingTemplateStyle"\r
39                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DrawingTemplateStyle">\r
40                 </resource>\r
41         </target>\r
42 \r
43         <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r
44                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewDrawingTemplate"\r
45                         class="org.simantics.modeling.template2d.ui.actions.NewDrawingTemplate" />\r
46                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewScenegraph"\r
47                         class="org.simantics.modeling.template2d.ui.actions.NewScenegraph" />\r
48                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTable"\r
49                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTable" />\r
50                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTypeVisual"\r
51                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTypeVisual" />\r
52                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTypeVisualFilter"\r
53                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTypeVisualFilter" />\r
54                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableColumn"\r
55                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableColumn" />\r
56                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableRowNumberColumn"\r
57                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableRowNumberColumn" />\r
58                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableColumnData"\r
59                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableColumnData" />\r
60                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableColumnHeader"\r
61                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableColumnHeader" />\r
62                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewMonitor"\r
63                         class="org.simantics.modeling.template2d.ui.actions.NewMonitor" />\r
64                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewText"\r
65                         class="org.simantics.modeling.template2d.ui.actions.NewText" />\r
66                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewSVGImage"\r
67                         class="org.simantics.modeling.template2d.ui.actions.NewSVGImage" />\r
68                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/SetBorderColor"\r
69                         class="org.simantics.modeling.template2d.ui.actions.SetBorderColor" />\r
70 \r
71                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/MoveUp"\r
72                         class="org.simantics.modeling.template2d.ui.actions.MoveUp" />\r
73                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/MoveDown"\r
74                         class="org.simantics.modeling.template2d.ui.actions.MoveDown" />\r
75 \r
76                         <!--\r
77                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/ChangePageOrientation"\r
78                         class="org.simantics.modeling.template2d.ui.actions.ChangePageOrientation" />\r
79                         -->\r
80                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/AssignDrawingTemplate"\r
81                         class="org.simantics.modeling.template2d.ui.actions.AssignDrawingTemplate" />\r
82 \r               <!--\r           <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/FixLinkedList"\r                  class="org.simantics.modeling.template2d.ui.actions.FixLinkedList" />\r          -->\r    </target>\r
83 \r
84         <target\r
85                 interface="org.simantics.db.layer0.adapter.PasteHandler">\r
86                 <baseType\r
87                         uri="http://www.simantics.org/Layer0-0.0/Entity" />\r
88                 <type\r
89                         uri="http://www.simantics.org/Diagram-0.0/Scenegraph/SVGImage"\r
90                         class="org.simantics.modeling.template2d.ui.adapters.SVGImagePasteHandler">\r
91                         <this />\r
92                 </type>\r
93         </target>\r\r     <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r                <resource\r                      uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateBC/ScenegraphChildren"\r                     class="org.simantics.modeling.template2d.ui.adapters.ScenegraphChildrenRule" />\r        </target>\r\r     <target interface="org.simantics.browsing.ui.model.tests.Test">\r                <resource\r                      uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateAC/IsInModelTest"\r                  class="org.simantics.modeling.template2d.ui.adapters.IsInModelTest"\r                    constructor="get" />\r   </target>\r\r
94 </adapters>