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="onerow_template"> |
|
6 |
|
7 <!-- Data plugin in this widget --> |
|
8 <contentsource id="onerow_plugin" name="" value="0x20019594" /> |
|
9 |
|
10 <configuration name="service" value="Service.ContentPublishing"/> |
|
11 <configuration name="interface" value="IContentPublishing"/> |
|
12 <configuration name="command" value="GetList"/> |
|
13 <configuration id="pub_id" name="publisher" value=""/> |
|
14 |
|
15 <image id="image_container" focusable="true" _s60-initial-focus="1"> |
|
16 <!-- Template designer choice --> |
|
17 <actions> |
|
18 <action> |
|
19 <trigger name="activate"/> |
|
20 <event id="p1trigger" name="" /> |
|
21 </action> |
|
22 </actions> |
|
23 <configuration name="content_type" value="image1"/> |
|
24 <property id="prop1" class=""/> |
|
25 </image> |
|
26 |
|
27 <box id="text_container"> |
|
28 <text id="row1" focusable="true"> |
|
29 <!-- Template designer choice --> |
|
30 <actions> |
|
31 <action> |
|
32 <trigger name="activate"/> |
|
33 <event id="p2trigger" name="" /> |
|
34 </action> |
|
35 </actions> |
|
36 <configuration name="content_type" value="text1"/> |
|
37 <property id="prop2" class=""/> |
|
38 </text> |
|
39 </box> |
|
40 <menuextension> |
|
41 <!-- dynmenuitems are mapped to HS view.xml menu based on target attribute. |
|
42 HS view.xml provides localisation for predined items: "settings" and "refresh". --> |
|
43 <dynmenuitem type="widgetsettings" target="hs_widget_menuitem_settings"> |
|
44 <actions> |
|
45 <action> |
|
46 <trigger name="activate"/> |
|
47 <event name="menuitem(widgetsettings)" destination="onerow_plugin"/> |
|
48 </action> |
|
49 </actions> |
|
50 </dynmenuitem> |
|
51 <dynmenuitem type="refresh" target="hs_widget_menuitem_refresh"> |
|
52 <actions> |
|
53 <action> |
|
54 <trigger name="activate"/> |
|
55 <event name="menuitem(refresh)" destination="onerow_plugin"/> |
|
56 </action> |
|
57 </actions> |
|
58 </dynmenuitem> |
|
59 </menuextension> |
|
60 </widget> |
|
61 </xmluiml> |
|