blob: ea8e328407d99cfbe02c1f8e09368be123afb426 (
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
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<toggleable_menu
layout="topleft"
mouse_opaque="false"
name="menu_settings_gear"
visible="false">
<menu_item_call
label="Edit"
layout="topleft"
name="edit_settings">
<on_click
function="MyEnvironments.DoEdit" />
<on_enable
function="MyEnvironments.EnableAction"
parameter="edit" />
</menu_item_call>
<menu_item_separator
layout="topleft"
name="Separator" />
<menu_item_call
name="Settings Apply Local"
layout="topleft"
label="Apply Only To Myself">
<menu_item_call.on_click
function="MyEnvironments.DoApply"
parameter="local" />
</menu_item_call>
<menu_item_call
name="Settings Apply Parcel"
layout="topleft"
label="Apply To Parcel">
<menu_item_call.on_click
function="MyEnvironments.DoApply"
parameter="parcel" />
<menu_item_call.on_enable
function="MyEnvironments.CanApply"
parameter="parcel"/>
</menu_item_call>
<menu_item_call
name="Settings Apply Region"
layout="topleft"
label="Apply To Region">
<menu_item_call.on_click
function="MyEnvironments.DoApply"
parameter="region" />
<menu_item_call.on_enable
function="MyEnvironments.CanApply"
parameter="region"/>
</menu_item_call>
<menu_item_separator
layout="topleft"
name="Separator" />
<menu_item_call
label="Copy"
layout="topleft"
name="copy_settings">
<on_click
function="MyEnvironments.CopyPaste"
parameter="copy" />
<on_enable
function="MyEnvironments.EnableAction"
parameter="copy" />
</menu_item_call>
<menu_item_call
label="Paste"
layout="topleft"
name="paste_settings">
<on_click
function="MyEnvironments.CopyPaste"
parameter="paste" />
<on_enable
function="MyEnvironments.EnableAction"
parameter="paste" />
</menu_item_call>
<menu_item_call
label="Copy UUID"
layout="topleft"
name="copy_uuid">
<on_click
function="MyEnvironments.CopyPaste"
parameter="copy_uuid" />
<on_enable
function="MyEnvironments.EnableAction"
parameter="copy_uuid" />
</menu_item_call>
</toggleable_menu>
|