]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.template2d.ui/adapters.xml
Fixed SCLCompletionProposal.validate to allow complete matches as well
[simantics/platform.git] / bundles / org.simantics.modeling.template2d.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2012 Association for Decentralized Information Management in
4     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
14 <adapters>
15         <target interface="org.simantics.scenegraph.profile.Group">
16         <!--
17                 <type uri="http://www.simantics.org/Diagram-0.0/SCLGroup" class="fi.vtt.apros.ui.diagram.adapters.SCLGroup">
18                         <this />
19                 </type>
20                 -->
21                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramGroup"
22                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DiagramGroup">
23                 </resource>
24         </target>
25
26         <target interface="org.simantics.db.layer0.adapter.ActionFactory">
27                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTypeVisual"
28                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTypeVisual" />
29         </target>
30
31         <target interface="org.simantics.scenegraph.profile.Style">
32                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DrawingBorderStyle"
33                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DrawingBorderStyle">
34                 </resource>
35                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DrawingFlagTableStyle"
36                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DrawingFlagTableStyle">
37                         <graph/>
38                 </resource>
39                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/DrawingTemplateStyle"
40                         class="org.simantics.modeling.template2d.ui.diagram.adapter.DrawingTemplateStyle">
41                 </resource>
42         </target>
43
44         <target interface="org.simantics.db.layer0.adapter.ActionFactory">
45                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewDrawingTemplate"
46                         class="org.simantics.modeling.template2d.ui.actions.NewDrawingTemplate" />
47                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewScenegraph"
48                         class="org.simantics.modeling.template2d.ui.actions.NewScenegraph" />
49                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTable"
50                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTable" />
51                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTypeVisual"
52                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTypeVisual" />
53                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTypeVisualFilter"
54                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTypeVisualFilter" />
55                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableColumn"
56                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableColumn" />
57                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableRowNumberColumn"
58                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableRowNumberColumn" />
59                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableColumnData"
60                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableColumnData" />
61                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewFlagTableColumnHeader"
62                         class="org.simantics.modeling.template2d.ui.actions.NewFlagTableColumnHeader" />
63                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewMonitor"
64                         class="org.simantics.modeling.template2d.ui.actions.NewMonitor" />
65                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewText"
66                         class="org.simantics.modeling.template2d.ui.actions.NewText" />
67                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/NewSVGImage"
68                         class="org.simantics.modeling.template2d.ui.actions.NewSVGImage" />
69                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/SetBorderColor"
70                         class="org.simantics.modeling.template2d.ui.actions.SetBorderColor" />
71
72                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/MoveUp"
73                         class="org.simantics.modeling.template2d.ui.actions.MoveUp" />
74                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/MoveDown"
75                         class="org.simantics.modeling.template2d.ui.actions.MoveDown" />
76
77                         <!--
78                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/ChangePageOrientation"
79                         class="org.simantics.modeling.template2d.ui.actions.ChangePageOrientation" />
80                         -->
81                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/AssignDrawingTemplate"
82                         class="org.simantics.modeling.template2d.ui.actions.AssignDrawingTemplate" />
83
84                 <!--
85                 <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/FixLinkedList"
86                         class="org.simantics.modeling.template2d.ui.actions.FixLinkedList" />
87                 -->
88         </target>
89
90         <target
91                 interface="org.simantics.db.layer0.adapter.PasteHandler">
92                 <baseType
93                         uri="http://www.simantics.org/Layer0-0.0/Entity" />
94                 <type
95                         uri="http://www.simantics.org/Diagram-0.0/Scenegraph/SVGImage"
96                         class="org.simantics.modeling.template2d.ui.adapters.SVGImagePasteHandler">
97                         <this />
98                 </type>
99         </target>
100
101         <target interface="org.simantics.browsing.ui.model.children.ChildRule">
102                 <resource
103                         uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateBC/ScenegraphChildren"
104                         class="org.simantics.modeling.template2d.ui.adapters.ScenegraphChildrenRule" />
105         </target>
106
107         <target interface="org.simantics.browsing.ui.model.tests.Test">
108                 <resource
109                         uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateAC/IsInModelTest"
110                         class="org.simantics.modeling.template2d.ui.adapters.IsInModelTest"
111                         constructor="get" />
112         </target>
113 </adapters>