]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.charts/adapters.xml
ConstantLabelDecorationRule to avoid Display in creating FontDescriptors
[simantics/platform.git] / bundles / org.simantics.charts / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2007, 2011 Association for Decentralized Information Management 
3         in Industry THTH ry. All rights reserved. This program and the accompanying 
4         materials are made available under the terms of the Eclipse Public License 
5         v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html 
6         Contributors: VTT Technical Research Centre of Finland - initial API and 
7         implementation -->
8
9 <adapters>
10
11         <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
12                 <type uri="http://www.simantics.org/Charts-0.0/Chart/Item" class="org.simantics.ui.icons.BundleImageDescriptorProvider">
13                         <bundle />
14                         <string>icons/tag_blue.png</string>
15                 </type>
16         </target>
17
18         <target interface="org.simantics.db.layer0.adapter.ActionFactory">
19                 <resource
20                         uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/NewChart"
21                         class="org.simantics.charts.ui.NewChart" />
22                 <resource uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/NewChartGroup"
23                         class="org.simantics.charts.ui.NewChartGroup" />
24         </target>
25         
26         <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
27                 <resource
28                         uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartGroupDropAction"
29                         class="org.simantics.charts.ui.ChartGroupDropActionFactory" />
30                 <resource
31                         uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartDropAction"
32                         class="org.simantics.charts.ui.ChartDropActionFactory" />
33                 <resource
34                         uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartItemDropAction"
35                         class="org.simantics.charts.ui.ChartItemDropActionFactory" />
36             <resource
37             uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/SubscriptionDropAction"
38             class="org.simantics.charts.ui.SubscriptionDropActionFactory" />
39         </target>
40
41         <target interface="org.simantics.db.layer0.adapter.PasteHandler">
42                 <type uri="http://www.simantics.org/Charts-0.0/TimeSeriesChart"
43                         class="org.simantics.charts.ui.ChartPasteHandler">
44                         <this />
45                 </type>
46                 <type uri="http://www.simantics.org/Charts-0.0/ChartGroup"
47                         class="org.simantics.charts.ui.ChartGroupPasteHandler">
48                         <this />
49                 </type>
50         </target>
51
52         <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
53                 <resource
54                         uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/Images/ChartItemImage"
55                         class="org.simantics.charts.ui.ChartItemImageRule"
56                         constructor="get" />
57                 <resource
58                         uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemLabelRule"
59                         class="org.simantics.charts.ui.ChartItemLabelRule" />
60                 <resource
61                         uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemNameModifierRule"
62                         class="org.simantics.charts.ui.ChartItemNameModifierRule">
63                         <graph />
64                 </resource>
65                 <resource
66                         uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartSorterRule"
67                         class="org.simantics.charts.ui.ChartSorterRule" />
68                 <resource
69                         uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemLabelDecorationRule"
70                         class="org.simantics.charts.ui.ChartItemLabelDecorationRule" />
71         </target>
72
73 </adapters>