forked from c9/cloud9
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquickwatch.xml
More file actions
54 lines (53 loc) · 2.34 KB
/
Copy pathquickwatch.xml
File metadata and controls
54 lines (53 loc) · 2.34 KB
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
<a:application xmlns:a="http://ajax.org/2005/aml">
<a:window id="winQuickWatch"
title = "Quickwatch"
buttons = "close"
modal = "false"
center = "true"
width = "500"
height = "350"
kbclose = "true"
resizable = "true">
<a:vbox anchors="0 0 0 0">
<a:textbox id="txtCurObject"
skin = "tbempty"
margin = "5"
realtime = "true"
disabled = "{!stDebugProcessRunning.active or stRunning.active}"
initial-message = "Enter an expression"
focusselect = "true"
onclear = "
dgWatch.clear();
"/>
<a:datagrid id="dgWatch"
flex = "1"
border = "1 0 0 0"
options = "size|move"
prerender = "false"
caching = "false"
disabled = "{!stDebugProcessRunning.active or stRunning.active}"
empty-message = "Type a javascript expression and press enter."
loading-message = "Calculating..."
onafterselect = "
if (this.selected)
txtCurObject.setValue(require('ext/console/console').calcName(this.selected, true));
"
onbeforechange = "
return require('ext/console/console').checkChange(event.args[0]);
">
<a:model>
<vars />
</a:model>
<a:actions />
<a:each match="[item|globals]" sort="[@name]">
<a:insert match="[item[@children]]" get="{adbg.loadObjects(dbg, %[.])}" />
<a:expanded match="[node()[@expand]]" />
<a:column caption="Property" value="{[@name] || 'Globals'}" width="120" icon="debugger/genericvariable_obj.gif" tree="true" />
<a:column caption="Value" value="[@value]" width="100%" editor="textbox" />
<a:column caption="Type" value="[@type]" width="80"/>
</a:each>
<a:change set="{require('ext/console/console').applyChange(xmlNode);}" />
</a:datagrid>
</a:vbox>
</a:window>
</a:application>