|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- <!DOCTYPE xmluiml SYSTEM "AI3_Demo.dtd"> --> |
|
3 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0"> |
|
4 |
|
5 <widget id="threerows_template"> |
|
6 <!-- Data plugin in this widget --> |
|
7 <contentsource id="threerows_plugin" name="" value="0x20019594" /> |
|
8 |
|
9 <configuration name="service" value="Service.ContentPublishing"/> |
|
10 <configuration name="interface" value="IContentPublishing"/> |
|
11 <configuration name="command" value="GetList"/> |
|
12 <configuration id="pub_id" name="publisher" value=""/> |
|
13 |
|
14 <image id="image_container" focusable="true" _s60-initial-focus="1"> |
|
15 <!-- Template designer choice --> |
|
16 <actions> |
|
17 <action> |
|
18 <trigger name="activate"/> |
|
19 <event id="p1trigger" name=""/> |
|
20 </action> |
|
21 </actions> |
|
22 <configuration name="content_type" value="image1"/> |
|
23 <property id="prop1" class=""/> |
|
24 </image> |
|
25 |
|
26 <box id="text_container"> |
|
27 <text id="row1" class="text_box" focusable="true" > |
|
28 <!-- Template designer choice --> |
|
29 <actions> |
|
30 <action> |
|
31 <trigger name="activate"/> |
|
32 <event id="p2trigger" name=""/> |
|
33 </action> |
|
34 </actions> |
|
35 <configuration name="content_type" value="text1"/> |
|
36 <property id="prop2" class=""/> |
|
37 </text> |
|
38 |
|
39 <text id="row2" class="text_box" focusable="true" > |
|
40 <!-- Template designer choice --> |
|
41 <actions> |
|
42 <action> |
|
43 <trigger name="activate"/> |
|
44 <event id="p3trigger" name=""/> |
|
45 </action> |
|
46 </actions> |
|
47 <configuration name="content_type" value="text2"/> |
|
48 <property id="prop3" class=""/> |
|
49 </text> |
|
50 |
|
51 <text id="row3" class="text_box" focusable="true" > |
|
52 <!-- Template designer choice --> |
|
53 <actions> |
|
54 <action> |
|
55 <trigger name="activate"/> |
|
56 <event id="p4trigger" name=""/> |
|
57 </action> |
|
58 </actions> |
|
59 <configuration name="content_type" value="text3"/> |
|
60 <property id="prop4" class=""/> |
|
61 </text> |
|
62 </box> |
|
63 <menuextension> |
|
64 <!-- dynmenuitems are mapped to HS view.xml menu based on target attribute. |
|
65 HS view.xml provides localisation for predined items: "settings" and "refresh". --> |
|
66 <dynmenuitem type="widgetsettings" target="hs_widget_menuitem_settings"> |
|
67 <actions> |
|
68 <action> |
|
69 <trigger name="activate"/> |
|
70 <event name="menuitem(widgetsettings)" destination="threerows_plugin"/> |
|
71 </action> |
|
72 </actions> |
|
73 </dynmenuitem> |
|
74 <dynmenuitem type="refresh" target="hs_widget_menuitem_refresh"> |
|
75 <actions> |
|
76 <action> |
|
77 <trigger name="activate"/> |
|
78 <event name="menuitem(refresh)" destination="threerows_plugin"/> |
|
79 </action> |
|
80 </actions> |
|
81 </dynmenuitem> |
|
82 </menuextension> |
|
83 </widget> |
|
84 </xmluiml> |