]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram.profile/adapters.xml
Merge "Added hashcode/equals methods to generic profile Group implementations"
[simantics/platform.git] / bundles / org.simantics.diagram.profile / 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 interface="org.simantics.browsing.ui.model.children.ChildRule">
17         <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/DirectProfileRule"
18             class="org.simantics.diagram.profile.view.RuntimeDirectProfileEntries"/>
19         <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryChildrenRule"
20             class="org.simantics.diagram.profile.view.ProfileEntryChildren"/>
21     </target>
22
23     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
24         <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />
25         <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryImageRule"
26             class="org.simantics.diagram.profile.view.ResourcePairImageRule"/>
27         <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryLabelRule"
28             class="org.simantics.diagram.profile.view.ResourcePairLabelRule"/>
29         <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryCheckRule"
30             class="org.simantics.diagram.profile.view.ProfileCheckContributor"/>
31     </target>
32
33         <target interface="org.simantics.browsing.ui.swt.ModelledAction">
34         <!--
35                 <resource
36                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/AddEntriesAction"
37                         class="org.simantics.diagram.profile.view.AddEntriesAction">
38                         <this />
39                 </resource>
40                 <resource
41                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/RemoveEntriesAction"
42                         class="org.simantics.diagram.profile.view.RemoveEntriesAction">
43                         <this />
44                 </resource>
45                 <resource
46                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateProfileAction"
47                         class="org.simantics.diagram.profile.view.CreateProfileAction">
48                         <this />
49                 </resource>
50                 <resource
51                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateStyleAction"
52                         class="org.simantics.diagram.profile.view.CreateStyleAction">
53                         <this />
54                 </resource>
55                 <resource
56                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateGroupAction"
57                         class="org.simantics.diagram.profile.view.CreateGroupAction">
58                         <this />
59                 </resource>
60                 <resource
61                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateEntryAction"
62                         class="org.simantics.diagram.profile.view.CreateEntryAction">
63                         <this />
64                 </resource>
65         -->
66         </target>
67
68         <target interface="org.simantics.browsing.ui.swt.widgets.impl.ReadFactory">
69                 <resource
70                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/AvailableProfiles"
71                         class="org.simantics.diagram.profile.view.AvailableProfiles">
72                 </resource>
73                 <resource
74                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/SelectedProfile"
75                         class="org.simantics.diagram.profile.view.SelectedProfile">
76                 </resource>
77         </target>
78
79         <target interface="org.eclipse.swt.events.ModifyListener">
80                 <resource
81                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ActiveProfileModifier"
82                         class="org.simantics.diagram.profile.view.ActiveProfileModifier">
83                 </resource>
84         </target>
85
86         <target interface="org.eclipse.swt.widgets.Listener">
87                 <resource
88                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ProfileEntrySelectionListener"
89                         class="org.simantics.diagram.profile.view.ProfileEntrySelectionListener">
90                 </resource>
91         </target>
92
93         <target
94                 interface="org.simantics.browsing.ui.graph.impl.SessionContextInputSource">
95                 <resource
96                         uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ActiveRuntimeDiagramInputSource"
97                         class="org.simantics.diagram.profile.view.ActiveRuntimeDiagramInputSource">
98                 </resource>
99         </target>
100
101 </adapters>