author | Jan Vrany <jan.vrany@labware.com> |
Mon, 16 Nov 2020 22:21:57 +0000 | |
changeset 202 | 8064029822c5 |
parent 175 | a304c250e889 |
child 203 | 6fd080fc5ee3 |
permissions | -rw-r--r-- |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
jv:vdb - Visual / VM Debugger |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
Copyright (C) 2015-now Jan Vrany |
202
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
4 |
Copyright (C) 2020 LabWare |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
"{ Package: 'jv:vdb' }" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
"{ NameSpace: Smalltalk }" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
AbstractSettingsApplication subclass:#VDBSettingsApplication |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
15 |
instanceVariableNames:'infoPanel gdbCommand' |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
classVariableNames:'' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
poolDictionaries:'' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
category:'VDB-UI-Others' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
!VDBSettingsApplication class methodsFor:'documentation'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
copyright |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
jv:vdb - Visual / VM Debugger |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
Copyright (C) 2015-now Jan Vrany |
202
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
27 |
Copyright (C) 2020 LabWare |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
!VDBSettingsApplication class methodsFor:'initialization'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
initialize |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
self installInSettings |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
"Created: / 23-06-2005 / 09:27:10 / masca" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
installInSettings |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
Smalltalk addStartBlock:[ |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
AbstractLauncherApplication |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
addSettingsApplicationByClass:self name withName:'Tools/Visual VM Debugger' icon:self defaultIcon |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
] |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
"Created: / 23-06-2005 / 09:27:10 / masca" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
"Modified: / 10-04-2018 / 16:56:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
|
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
55 |
!VDBSettingsApplication class methodsFor:'help specs'! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
56 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
57 |
helpSpec |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
58 |
"This resource specification was automatically generated |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
59 |
by the UIHelpTool of ST/X." |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
60 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
61 |
"Do not manually edit this!! If it is corrupted, |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
62 |
the UIHelpTool may not be able to read the specification." |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
63 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
64 |
" |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
65 |
UIHelpTool openOnClass:VDBSettingsApplication |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
66 |
" |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
67 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
68 |
<resource: #help> |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
69 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
70 |
^ super helpSpec addPairsFrom:#( |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
71 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
72 |
#ExecutableLabel |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
73 |
'Path to GDB executable. If left empty, system GDB is used.' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
74 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
75 |
) |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
76 |
! ! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
77 |
|
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
!VDBSettingsApplication class methodsFor:'interface specs'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
windowSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
"This resource specification was automatically generated |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
by the UIPainter of ST/X." |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
"Do not manually edit this!! If it is corrupted, |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
the UIPainter may not be able to read the specification." |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
UIPainter new openOnClass:VDBSettingsApplication andSelector:#windowSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
VDBSettingsApplication new openInterface:#windowSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
VDBSettingsApplication open |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
93 |
<resource: #canvas> |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
94 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
95 |
^ |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
#(FullSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
name: windowSpec |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
98 |
uuid: '44956520-937c-11e9-8e2a-606720e43e2c' |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
99 |
window: |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
(WindowSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
label: 'Java Settings' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
102 |
name: 'Java Settings' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
uuid: '10c0dbf1-3cd7-11e8-882f-0021ccd5e3d3' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
104 |
min: (Point 10 10) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
105 |
bounds: (Rectangle 0 0 695 627) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
component: |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
(SpecCollection |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
109 |
collection: ( |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
(LabelSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
111 |
label: ' Visual/VM Debugger Settings' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
112 |
name: 'SettingsTitle' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
113 |
layout: (LayoutFrame 0 0 0 0 0 1 66 0) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
114 |
style: (FontDescription helvetica medium roman 18 #'iso10646-1' nil nil) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
uuid: '10c0dbf2-3cd7-11e8-882f-0021ccd5e3d3' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
116 |
backgroundColor: (Color 100.0 100.0 100.0) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
117 |
translateLabel: true |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
118 |
adjust: left |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
119 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
120 |
(LabelSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
121 |
label: 'Icon' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
122 |
name: 'Icon' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
123 |
layout: (LayoutFrame -75 1 0 0 0 1 66 0) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
124 |
uuid: '10c10300-3cd7-11e8-882f-0021ccd5e3d3' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
125 |
hasCharacterOrientedLabel: false |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
126 |
backgroundColor: (Color 100.0 100.0 100.0) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
127 |
translateLabel: true |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
128 |
labelChannel: libjavaCupIcon |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
129 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
130 |
(SubCanvasSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
131 |
name: 'InfoPanel' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
132 |
layout: (LayoutFrame 0 0 67 0 0 1 107 0) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
133 |
uuid: '10c10301-3cd7-11e8-882f-0021ccd5e3d3' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
134 |
level: 0 |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
135 |
initiallyInvisible: true |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
136 |
hasHorizontalScrollBar: false |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
137 |
hasVerticalScrollBar: false |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
138 |
clientKey: infoPanel |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
139 |
createNewBuilder: false |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
140 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
141 |
(VerticalPanelViewSpec |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
142 |
name: 'Controls' |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
143 |
layout: (LayoutFrame 10 0 70 0 -10 1 0 1) |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
144 |
uuid: '10c10302-3cd7-11e8-882f-0021ccd5e3d3' |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
145 |
horizontalLayout: fit |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
146 |
verticalLayout: top |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
147 |
horizontalSpace: 3 |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
148 |
verticalSpace: 3 |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
149 |
component: |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
150 |
(SpecCollection |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
151 |
collection: ( |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
152 |
(ViewSpec |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
153 |
name: 'Spacer1' |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
154 |
uuid: 'fed33671-91af-11e9-b25b-606720e43e2c' |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
155 |
extent: (Point 675 15) |
117
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
156 |
) |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
157 |
(ViewSpec |
129
974e705572ea
Fix: catch-up with `jv:libgdbs` after a rename of `#gdbExecutable`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
118
diff
changeset
|
158 |
name: 'CommandPane' |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
159 |
uuid: '7628c0d0-c755-11e8-8f9c-0021ccd5e3d3' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
160 |
component: |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
161 |
(SpecCollection |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
162 |
collection: ( |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
163 |
(LabelSpec |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
164 |
label: ''';gdb'' command:' |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
165 |
name: 'CommandLabel' |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
166 |
layout: (LayoutFrame 0 0 0 0 120 0 0 1) |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
167 |
uuid: 'fed33672-91af-11e9-b25b-606720e43e2c' |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
168 |
translateLabel: true |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
169 |
adjust: left |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
170 |
) |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
171 |
(FilenameInputFieldSpec |
129
974e705572ea
Fix: catch-up with `jv:libgdbs` after a rename of `#gdbExecutable`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
118
diff
changeset
|
172 |
name: 'Command' |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
173 |
layout: (LayoutFrame 120 0 0 0 -100 1 0 1) |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
174 |
uuid: '7628c0d2-c755-11e8-8f9c-0021ccd5e3d3' |
129
974e705572ea
Fix: catch-up with `jv:libgdbs` after a rename of `#gdbExecutable`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
118
diff
changeset
|
175 |
model: gdbCommand |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
176 |
immediateAccept: true |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
177 |
acceptOnPointerLeave: true |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
178 |
emptyFieldReplacementText: 'Autodetect' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
179 |
) |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
180 |
(ActionButtonSpec |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
181 |
label: 'Browse' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
182 |
name: 'BrowseButton' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
183 |
layout: (LayoutFrame -100 1 0 0 -8 1 0 1) |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
184 |
uuid: '7628c0d3-c755-11e8-8f9c-0021ccd5e3d3' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
185 |
translateLabel: true |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
186 |
model: doSelectExecutable |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
187 |
) |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
188 |
) |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
189 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
190 |
) |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
191 |
extent: (Point 675 25) |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
192 |
) |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
193 |
(ViewSpec |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
194 |
name: 'Spacer2' |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
195 |
uuid: '7628c0d4-c755-11e8-8f9c-0021ccd5e3d3' |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
196 |
extent: (Point 675 15) |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
197 |
) |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
198 |
(ViewSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
199 |
name: 'vdbinit' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
200 |
uuid: '85b08540-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
201 |
component: |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
202 |
(SpecCollection |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
203 |
collection: ( |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
204 |
(LabelSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
205 |
label: 'VDB init script' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
206 |
name: 'Label1' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
207 |
layout: (LayoutFrame 0 0 -1 0 0 1 24 0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
208 |
uuid: '85b08541-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
209 |
translateLabel: true |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
210 |
adjust: left |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
211 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
212 |
(LinkButtonSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
213 |
label: 'LinkButton' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
214 |
name: 'EditPreferences' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
215 |
layout: (LayoutFrame 0 0 28 0 -100 1 58 0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
216 |
uuid: '85b08542-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
217 |
foregroundColor: (Color 0.0 0.0 100.0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
218 |
translateLabel: true |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
219 |
labelChannel: vdbinitAspect |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
220 |
adjust: left |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
221 |
model: doEditVDBinit |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
222 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
223 |
(ActionButtonSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
224 |
label: 'Edit' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
225 |
name: 'Button1' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
226 |
layout: (LayoutFrame -106 1 33 0 -6 1 58 0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
227 |
uuid: '85b08543-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
228 |
translateLabel: true |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
229 |
model: doEditVDBinit |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
230 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
231 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
232 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
233 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
234 |
extent: (Point 675 70) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
235 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
236 |
(ViewSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
237 |
name: 'Spacer3' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
238 |
uuid: '7628c0d4-c755-11e8-8f9c-0021ccd5e3d3' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
239 |
extent: (Point 675 15) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
240 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
241 |
(ViewSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
242 |
name: 'gdbinit' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
243 |
uuid: '85b08544-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
244 |
component: |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
245 |
(SpecCollection |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
246 |
collection: ( |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
247 |
(LabelSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
248 |
label: 'GDB init script' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
249 |
name: 'Label2' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
250 |
layout: (LayoutFrame 0 0 -1 0 0 1 24 0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
251 |
uuid: '85b08545-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
252 |
translateLabel: true |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
253 |
adjust: left |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
254 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
255 |
(LinkButtonSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
256 |
label: 'LinkButton' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
257 |
name: 'Button2' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
258 |
layout: (LayoutFrame 0 0 28 0 -100 1 58 0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
259 |
uuid: '85b08546-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
260 |
foregroundColor: (Color 0.0 0.0 100.0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
261 |
translateLabel: true |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
262 |
labelChannel: gdbinitAspect |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
263 |
adjust: left |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
264 |
model: doEditGDBinit |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
265 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
266 |
(ActionButtonSpec |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
267 |
label: 'Edit' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
268 |
name: 'Button3' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
269 |
layout: (LayoutFrame -106 1 33 0 -6 1 58 0) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
270 |
uuid: '85b08547-936c-11e9-ac6c-606720e43e2c' |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
271 |
translateLabel: true |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
272 |
model: doEditGDBinit |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
273 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
274 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
275 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
276 |
) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
277 |
extent: (Point 675 70) |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
278 |
) |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
279 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
280 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
281 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
282 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
283 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
284 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
285 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
286 |
) |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
287 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
288 |
|
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
289 |
!VDBSettingsApplication methodsFor:'actions'! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
290 |
|
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
291 |
doEditGDBinit |
202
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
292 |
| file | |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
293 |
|
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
294 |
file := VDBDebuggerApplication gdbUserInitFile. |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
295 |
file exists ifFalse: [ |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
296 |
file directory isWritable ifTrue: [ |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
297 |
file createAsEmptyFile. |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
298 |
]. |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
299 |
]. |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
300 |
VDBScatchPadApplication openOnFile:file |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
301 |
|
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
302 |
"Modified: / 21-06-2019 / 10:10:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
202
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
303 |
"Modified: / 16-11-2020 / 22:17:14 / Jan Vrany <jan.vrany@labware.com>" |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
304 |
! |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
305 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
306 |
doEditVDBinit |
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
307 |
| user default userEditor defaultEditor workspaceView workspace | |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
308 |
|
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
309 |
workspace := VDBScatchPadApplication new. |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
310 |
user := VDBDebuggerApplication vdbUserInitFile. |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
311 |
default := VDBDebuggerApplication vdbDefaultInitFile. |
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
312 |
user exists ifFalse:[ |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
313 |
default copyTo:user. |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
314 |
]. |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
315 |
userEditor := Tools::CodeView2 new. |
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
316 |
userEditor name:#Workspace. |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
317 |
workspace |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
318 |
loadFile:user |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
319 |
encoding:nil |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
320 |
into:userEditor. |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
321 |
defaultEditor := Tools::CodeView2 new. |
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
322 |
workspace |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
323 |
loadFile:default |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
324 |
encoding:nil |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
325 |
into:defaultEditor. |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
326 |
defaultEditor readOnly:true. |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
327 |
workspaceView := VariableHorizontalPanel new. |
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
328 |
workspaceView addComponent:userEditor. |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
329 |
workspaceView addComponent:defaultEditor. |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
330 |
workspace := VDBScatchPadApplication new. |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
331 |
workspace workspaces add:workspaceView. |
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
332 |
workspace syntax:SmalltalkLanguage instance. |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
333 |
workspace open. |
175
a304c250e889
UI: add "Scratch Pad" tool
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
174
diff
changeset
|
334 |
workspace window |
202
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
335 |
label:(resources string:'.vdbinit.st - User : vdbinit.st - Default') |
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
336 |
|
8064029822c5
Fix `.gdbinit` and `.vdbinit.st` editing in settings
Jan Vrany <jan.vrany@labware.com>
parents:
175
diff
changeset
|
337 |
"Modified: / 16-11-2020 / 22:21:11 / Jan Vrany <jan.vrany@labware.com>" |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
338 |
! |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
339 |
|
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
340 |
doSelectExecutable |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
341 |
| guess executable | |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
342 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
343 |
guess := self gdbCommand value asNilIfEmpty. |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
344 |
guess isNil ifTrue:[ |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
345 |
guess := GDBProcess gdbCommand |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
346 |
]. |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
347 |
|
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
348 |
[ guess notNil and:[ (guess := guess asFilename) exists not ] ] whileTrue:[ |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
349 |
| p | |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
350 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
351 |
p := guess directory. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
352 |
(p notNil and:[ p pathName = guess pathName ]) ifTrue:[ |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
353 |
p := nil. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
354 |
]. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
355 |
guess := p. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
356 |
]. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
357 |
guess isNil ifTrue:[ |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
358 |
guess := GDBProcess gdbCommand |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
359 |
]. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
360 |
executable := Dialog requestFileName:(resources string:'Select GDB executable') default: guess ifFail:[ ^ self ]. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
361 |
self infoPanel hide. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
362 |
(executable includes: Character space) ifTrue:[ |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
363 |
executable := '"' , executable , '"'. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
364 |
]. |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
365 |
self gdbCommand value: executable |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
366 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
367 |
"Created: / 03-10-2018 / 22:46:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
368 |
"Modified: / 18-06-2019 / 10:42:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
369 |
! ! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
370 |
|
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
371 |
!VDBSettingsApplication methodsFor:'aspects'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
372 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
373 |
aspects |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
374 |
^ #(gdbCommand) |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
375 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
376 |
"Created: / 10-04-2018 / 16:53:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
377 |
"Modified: / 17-06-2019 / 13:38:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
378 |
! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
379 |
|
129
974e705572ea
Fix: catch-up with `jv:libgdbs` after a rename of `#gdbExecutable`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
118
diff
changeset
|
380 |
gdbCommand |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
381 |
"return/create the 'gdbCommand' value holder (automatically generated)" |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
382 |
|
129
974e705572ea
Fix: catch-up with `jv:libgdbs` after a rename of `#gdbExecutable`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
118
diff
changeset
|
383 |
gdbCommand isNil ifTrue:[ |
974e705572ea
Fix: catch-up with `jv:libgdbs` after a rename of `#gdbExecutable`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
118
diff
changeset
|
384 |
gdbCommand := ValueHolder new. |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
385 |
gdbCommand onChangeSend:#doCheckSettings to:self. |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
386 |
gdbCommand onChangeSend:#updateModifiedChannel to:self. |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
387 |
]. |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
388 |
^ gdbCommand |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
389 |
" |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
390 |
UserPreferences current gdbCommand |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
391 |
" |
117
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
392 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
393 |
"Modified: / 18-06-2019 / 11:16:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
394 |
! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
395 |
|
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
396 |
gdbinitAspect |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
397 |
<resource: #uiAspect> |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
398 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
399 |
^ VDBDebuggerApplication gdbUserInitFile pathName |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
400 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
401 |
"Modified: / 20-06-2019 / 16:24:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
402 |
! |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
403 |
|
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
404 |
infoPanel |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
405 |
infoPanel isNil ifTrue:[ |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
406 |
infoPanel := Tools::InlineMessageDialog new. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
407 |
]. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
408 |
^ infoPanel |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
409 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
410 |
"Created: / 10-04-2018 / 16:52:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
174
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
411 |
! |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
412 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
413 |
vdbinitAspect |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
414 |
<resource: #uiAspect> |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
415 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
416 |
^ VDBDebuggerApplication vdbUserInitFile pathName |
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
417 |
|
3f6f51330641
UI: add "Edit" button to settings application to edit GDB and VDB init scripts
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
418 |
"Modified: / 20-06-2019 / 16:25:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
419 |
! ! |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
420 |
|
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
421 |
!VDBSettingsApplication methodsFor:'checks'! |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
422 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
423 |
doCheckCommand |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
424 |
"Check `hg` command. Return true if `hg` command exists |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
425 |
and of supported version, false otherwise." |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
426 |
|
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
427 |
| command | |
117
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
428 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
429 |
command := self gdbCommand value. |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
430 |
command isEmptyOrNil ifTrue:[ |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
431 |
command := GDBProcess gdbCommandDefault. |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
432 |
command isNil ifTrue:[ |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
433 |
self infoPanel |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
434 |
reset; |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
435 |
beWarning; |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
436 |
message: (resources string:'Cannot find path to `gdb` command'); |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
437 |
addButtonWithLabel: (self resources string:'Browse') action: [ self doSelectExecutable ]; |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
438 |
show. |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
439 |
^ false |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
440 |
]. |
117
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
441 |
]. |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
442 |
[ |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
443 |
GDBProcess gdbCommandParseAndValidate:command |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
444 |
] on: GDBError do:[:ex | |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
445 |
self infoPanel |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
446 |
reset; |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
447 |
beWarning; |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
448 |
message: (resources string:ex description); |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
449 |
addButtonWithLabel: (self resources string:'Browse') action: [self infoPanel hide. self doSelectExecutable ]; |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
450 |
show. |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
451 |
^ false |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
452 |
]. |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
453 |
^ true. |
117
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
454 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
455 |
"Created: / 18-06-2019 / 10:47:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
117
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
456 |
! |
1ae8e04f5feb
UI: add option to change debugger layout and preference to set the default layout
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
116
diff
changeset
|
457 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
458 |
doCheckSettings |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
459 |
self doCheckCommand ifFalse:[ ^ self ]. |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
460 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
461 |
self infoPanel hide. |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
462 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
463 |
"Created: / 18-06-2019 / 10:45:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
464 |
! ! |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
465 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
466 |
!VDBSettingsApplication methodsFor:'hooks'! |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
467 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
468 |
commonPostOpen |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
469 |
self doCheckSettings |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
470 |
|
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
471 |
"Created: / 18-06-2019 / 10:44:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
472 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
473 |
|
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
474 |
!VDBSettingsApplication methodsFor:'protocol'! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
475 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
476 |
basicSaveSettings |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
477 |
self gdbCommand value = '' ifTrue:[ |
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
478 |
self gdbCommand setValue: nil |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
479 |
]. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
480 |
super basicSaveSettings. |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
481 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
482 |
"Created: / 04-10-2018 / 09:46:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
171
39774c491dbf
Clean up settings application and remove obsolete settings
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
129
diff
changeset
|
483 |
"Modified: / 17-06-2019 / 13:40:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
484 |
! ! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
485 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
486 |
!VDBSettingsApplication class methodsFor:'documentation'! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
487 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
488 |
version_HG |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
489 |
|
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
490 |
^ '$Changeset: <not expanded> $' |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
491 |
! ! |
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
73
diff
changeset
|
492 |
|
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
493 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
494 |
VDBSettingsApplication initialize! |