]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.layer0.utils/adapters.xml
Merge "Split scl.ui plugin." into release/1.43.1
[simantics/platform.git] / bundles / org.simantics.layer0.utils / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2007, 2010 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
14 <adapters>
15
16         <target
17                 interface="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate">
18                 <baseType
19                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/BinaryPredicate" />
20                 <type
21                         uri="http://www.simantics.org/Layer0-0.0/Relation"
22                         class="org.simantics.layer0.utils.binaryPredicates.Relation">
23                         <this />
24                 </type>
25                 <type
26                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/CompositePredicate"
27                         class="org.simantics.layer0.utils.binaryPredicates.CompositePredicate">
28                         <single
29                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/AppliesFirst"
30                                 to="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate" />
31                         <single
32                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/AppliesThen"
33                                 to="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate" />
34                 </type>
35                 <type
36                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/InversePredicate"
37                         class="org.simantics.layer0.utils.binaryPredicates.InversePredicate">
38                         <single
39                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasBinaryPredicate"
40                                 to="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate" />
41                 </type>
42                 <type
43                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/TransitiveClosure"
44                         class="org.simantics.layer0.utils.binaryPredicates.TransitiveClosure">
45                         <single
46                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasBinaryPredicate"
47                                 to="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate" />
48                 </type>
49                 <type
50                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/UnionPredicate"
51                         class="org.simantics.layer0.utils.binaryPredicates.UnionPredicate">
52                         <related
53                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasBinaryPredicate"
54                                 to="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate" />
55                 </type>
56                 <!--
57                         <type uri =
58                         "http://www.simantics.org/Layer0X-0.0/Predicate/IntersectionPredicate"
59                         class =
60                         "org.simantics.layer0.utils.binaryPredicates.IntersectionPredicate"/>
61                         <related
62                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasBinaryPredicate"
63                         to="org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate"/>
64                         </type>
65                 -->
66                 <resource
67                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/OrderedSetElements"
68                         class="org.simantics.layer0.utils.binaryPredicates.OrderedSetElementsPredicate" />
69         </target>
70
71         <target
72                 interface="org.simantics.layer0.utils.predicates.IUnaryPredicate">
73                 <baseType
74                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/Predicate" />
75                 <type
76                         uri="http://www.simantics.org/Layer0-0.0/Type"
77                         class="org.simantics.layer0.utils.predicates.Type">
78                         <this />
79                 </type>
80                 <type
81                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/Conjunction"
82                         class="org.simantics.layer0.utils.predicates.Conjunction">
83                         <related
84                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasPredicate"
85                                 to="org.simantics.layer0.utils.predicates.IUnaryPredicate" />
86                 </type>
87                 <type
88                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/Disjunction"
89                         class="org.simantics.layer0.utils.predicates.Disjunction">
90                         <related
91                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasPredicate"
92                                 to="org.simantics.layer0.utils.predicates.IUnaryPredicate" />
93                 </type>
94                 <type
95                         uri="http://www.simantics.org/Layer0X-0.0/Predicate/Negation"
96                         class="org.simantics.layer0.utils.predicates.Negation">
97                         <single
98                                 uri="http://www.simantics.org/Layer0X-0.0/Predicate/HasPredicate"
99                                 to="org.simantics.layer0.utils.predicates.IUnaryPredicate" />
100                 </type>
101         </target>
102
103         <target
104                 interface="org.simantics.layer0.utils.triggers.ITrigger">
105                 <baseType
106                         uri="http://www.simantics.org/Layer0X-0.0/Trigger" />
107         </target>
108
109 <!--
110         <target
111                 interface="org.simantics.layer0.utils.expressions.IExpression">
112                 <baseType
113                         uri="http://www.simantics.org/Layer0-0.0/Value" />
114                 <baseType
115                         uri="http://www.simantics.org/Structural-0.0/Expression" />
116                 <baseType
117                         uri="http://www.simantics.org/Structural-0.0/LiteralVariable" />
118                 <type
119                         uri="http://www.simantics.org/Layer0-0.0/Value"
120                         class="org.simantics.layer0.utils.expressions.ConstantExpression">
121                         <graph />
122                         <this />
123                 </type>
124         </target>
125         -->
126
127         <target
128                 interface="java.lang.String">
129                 <baseType
130                         uri="http://www.simantics.org/Layer0-0.0/Entity" />
131                 <adapter
132                         uri="http://www.simantics.org/Layer0-0.0/Entity"
133                         adapterClass="org.simantics.layer0.utils.representation.representations.DefaultStringAdapter2" />
134         </target>
135
136         <target
137                 interface="org.simantics.layer0.utils.representation.StringRepresentation2">
138                 <baseType
139                         uri="http://www.simantics.org/Layer0-0.0/Entity" />
140                 <adapter
141                         uri="http://www.simantics.org/Layer0-0.0/Entity"
142                         adapterClass="org.simantics.layer0.utils.representation.representations.DefaultStringRepresentationAdapter2" />
143         </target>
144
145         <target
146                 interface="org.simantics.layer0.utils.operations.IOperation">
147                 <baseType
148                         uri="http://www.simantics.org/Layer0X-0.0/Operation/Operation" />
149         </target>
150
151         <target
152                 interface="org.simantics.layer0.utils.collections.IContextualList">
153                 <baseType
154                         uri="http://www.simantics.org/Layer0X-0.0/Operation/AbstractContextualList" />
155                 <type
156                         uri="http://www.simantics.org/Layer0X-0.0/Operation/ContextualList"
157                         class="org.simantics.layer0.utils.collections.ContextualList">
158                         <graph />
159                         <this />
160                 </type>
161                 <type
162                         uri="http://www.simantics.org/Layer0X-0.0/Operation/TypeBasedList"
163                         class="org.simantics.layer0.utils.collections.TypeBasedList">
164                         <single
165                                 uri="http://www.simantics.org/Layer0X-0.0/HasRelation" />
166                 </type>
167                 <type
168                         uri="http://www.simantics.org/Layer0X-0.0/Operation/ConditionalList"
169                         class="org.simantics.layer0.utils.collections.ConditionalList">
170                         <single
171                                 uri="http://www.simantics.org/Layer0X-0.0/Operation/HasCondition"
172                                 to="org.simantics.layer0.utils.predicates.IUnaryPredicate" />
173                         <single
174                                 uri="http://www.simantics.org/Layer0X-0.0/Operation/HasThenElement" />
175                         <atMostOne
176                                 uri="http://www.simantics.org/Layer0X-0.0/Operation/HasElseElement" />
177                 </type>
178         </target>
179
180 </adapters>