blob: b71b866c4b55d295f5c03e9f8790bcb79688788c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<menu
height="201"
layout="topleft"
left="100"
mouse_opaque="false"
name="Navbar Menu"
top="624"
visible="false"
width="128">
<menu_item_check
label="Show Coordinates"
name="Show Coordinates">
<menu_item_check.on_click
function="Navbar.Action"
parameter="show_coordinates" />
<menu_item_check.on_check
function="Navbar.EnableMenuItem"
parameter="show_coordinates" />
</menu_item_check>
<menu_item_check
label="Show Parcel Properties"
name="Show Parcel Properties">
<menu_item_check.on_click
function="Navbar.Action"
parameter="show_properties" />
<menu_item_check.on_check
control="NavBarShowParcelProperties" />
</menu_item_check>
<menu_item_separator
name="Separator" />
<!-- Label of 'Landmark' item is changing in runtime,
see AddLandmarkNavBarMenu/EditLandmarkNavBarMenu in strings.xml -->
<menu_item_call
label="Landmark"
name="Landmark">
<menu_item_call.on_click
function="Navbar.Action"
parameter="landmark" />
</menu_item_call>
<menu_item_separator
name="Separator" />
<menu_item_call
label="Cut"
name="Cut">
<menu_item_call.on_click
function="Navbar.Action"
parameter="cut" />
<menu_item_call.on_enable
function="Navbar.EnableMenuItem"
parameter="can_cut" />
</menu_item_call>
<menu_item_call
label="Copy"
name="Copy">
<menu_item_call.on_click
function="Navbar.Action"
parameter="copy" />
<menu_item_call.on_enable
function="Navbar.EnableMenuItem"
parameter="can_copy" />
</menu_item_call>
<menu_item_call
label="Paste"
name="Paste">
<menu_item_call.on_click
function="Navbar.Action"
parameter="paste" />
<menu_item_call.on_enable
function="Navbar.EnableMenuItem"
parameter="can_paste" />
</menu_item_call>
<menu_item_call
label="Delete"
name="Delete">
<menu_item_call.on_click
function="Navbar.Action"
parameter="delete" />
<menu_item_call.on_enable
function="Navbar.EnableMenuItem"
parameter="can_delete" />
</menu_item_call>
<menu_item_call
label="Select All"
name="Select All">
<menu_item_call.on_click
function="Navbar.Action"
parameter="select_all" />
<menu_item_call.on_enable
function="Navbar.EnableMenuItem"
parameter="can_select_all" />
</menu_item_call>
</menu>
|