author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 10 Apr 2018 20:23:08 +0100 | |
changeset 73 | 82e202dec6cb |
parent 59 | e7d0453109a1 |
child 83 | 101ff2210613 |
permissions | -rw-r--r-- |
59
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
"{ Package: 'jv:vdb' }"! |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
!GDBVariableObject methodsFor:'inspecting'! |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
inspector2TabVariable |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
<inspector2Tab> |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
| varObjApp | |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
varObjApp := Smalltalk at: #VDBVariableObjectListApplication ifAbsent:[ ^ nil ]. |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
^ (self newInspector2Tab) |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
label:'Variable'; |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
priority:95; |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
"/ view: [ ... ]; |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
application: [ varObjApp new debugger: debugger; variableObjectList: (Array with: self); yourself ]; |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
"/ text: [ ... ]; |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
yourself |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
"Modified: / 03-02-2018 / 09:58:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
! ! |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
|
73
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
22 |
!UserPreferences methodsFor:'accessing-vdb'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
23 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
24 |
vdbFrameFiltersEnabled |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
25 |
"Return true, if VDB should enable frame filters by default." |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
26 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
27 |
^ self at: #vdbFrameFiltersEnabled ifAbsent:[ false ]. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
28 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
29 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
30 |
UserPreferences current vdbFrameFiltersEnabled. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
31 |
UserPreferences current vdbFrameFiltersEnabled: true. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
32 |
UserPreferences current vdbFrameFiltersEnabled: false. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
33 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
34 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
35 |
"Created: / 10-04-2018 / 11:05:28 / 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:
59
diff
changeset
|
36 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
37 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
38 |
!UserPreferences methodsFor:'accessing-vdb'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
39 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
40 |
vdbFrameFiltersEnabled: aBoolean |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
41 |
"Set whether VDB should enable frame filters by default." |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
42 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
43 |
^ self at: #vdbFrameFiltersEnabled put: aBoolean |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
44 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
45 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
46 |
UserPreferences current vdbFrameFiltersEnabled. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
47 |
UserPreferences current vdbFrameFiltersEnabled: true. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
48 |
UserPreferences current vdbFrameFiltersEnabled: false. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
49 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
50 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
51 |
"Created: / 10-04-2018 / 11:05:45 / 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:
59
diff
changeset
|
52 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
53 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
54 |
!UserPreferences methodsFor:'accessing-vdb'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
55 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
56 |
vdbPrettyPrintingEnabled |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
57 |
"Return true, if VDB should enable pretty printing by default." |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
58 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
59 |
^ self at: #vdbPrettyPrintingEnabled ifAbsent:[ false ]. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
60 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
61 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
62 |
UserPreferences current vdbPrettyPrintingEnabled. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
63 |
UserPreferences current vdbPrettyPrintingEnabled: true. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
64 |
UserPreferences current vdbPrettyPrintingEnabled: false. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
65 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
66 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
67 |
"Created: / 10-04-2018 / 11:06:26 / 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:
59
diff
changeset
|
68 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
69 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
70 |
!UserPreferences methodsFor:'accessing-vdb'! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
71 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
72 |
vdbPrettyPrintingEnabled: aBoolean |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
73 |
"Set whether VDB should enable pretty printing by default." |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
74 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
75 |
^ self at: #vdbPrettyPrintingEnabled put: aBoolean |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
76 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
77 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
78 |
UserPreferences current vdbPrettyPrintingEnabled. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
79 |
UserPreferences current vdbPrettyPrintingEnabled: true. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
80 |
UserPreferences current vdbPrettyPrintingEnabled: false. |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
81 |
" |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
82 |
|
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
83 |
"Created: / 10-04-2018 / 11:06:40 / 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:
59
diff
changeset
|
84 |
! ! |
82e202dec6cb
UX: added preferences to automatically enable frame filters and pretty printers
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
59
diff
changeset
|
85 |
|
59
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
!jv_vdb class methodsFor:'documentation'! |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
extensionsVersion_HG |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
|
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
^ '$Changeset: <not expanded> $' |
e7d0453109a1
Variable objects: splitted `VDBFrameApplication`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
! ! |