author | Claus Gittinger <cg@exept.de> |
Thu, 05 Mar 2020 11:18:04 +0100 | |
changeset 19547 | 63ae485b071a |
parent 19470 | 4728c449a5ca |
permissions | -rw-r--r-- |
19149 | 1 |
"{ Encoding: utf8 }" |
2 |
||
10023 | 3 |
" |
4 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
10042 | 5 |
All Rights Reserved |
10023 | 6 |
|
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
14 |
"{ Package: 'stx:libtool' }" |
|
8775 | 15 |
|
16 |
"{ NameSpace: Tools }" |
|
17 |
||
18 |
CodeView subclass:#NewSystemBrowserCodeView |
|
10172
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
19 |
instanceVariableNames:'browser parseTree selectedNode parsingProcess |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
20 |
parsingProcessRunning highlightEmphasis seqNum' |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
21 |
classVariableNames:'' |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
22 |
poolDictionaries:'' |
6e6165958f2c
changed: #leftClickMenuForVariableNode:
Claus Gittinger <cg@exept.de>
parents:
10042
diff
changeset
|
23 |
category:'Interface-Browsers-New' |
8775 | 24 |
! |
25 |
||
10023 | 26 |
!NewSystemBrowserCodeView class methodsFor:'documentation'! |
27 |
||
28 |
copyright |
|
29 |
" |
|
30 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
10042 | 31 |
All Rights Reserved |
10023 | 32 |
|
33 |
This software is furnished under a license and may be used |
|
34 |
only in accordance with the terms of that license and with the |
|
35 |
inclusion of the above copyright notice. This software may not |
|
36 |
be provided or otherwise made available to, or used by, any |
|
37 |
other person. No title to or ownership of the software is |
|
38 |
hereby transferred. |
|
39 |
" |
|
40 |
! ! |
|
8775 | 41 |
|
42 |
!NewSystemBrowserCodeView class methodsFor:'initialization'! |
|
43 |
||
44 |
initialize |
|
45 |
" |
|
46 |
self initialize |
|
47 |
" |
|
10024 | 48 |
"/ MUST be done in the keyboard.rc file |
10023 | 49 |
" |
50 |
Smalltalk addStartBlock: |
|
51 |
[Display keyboardMap |
|
52 |
bindValue:#ImplementorsOfIt to:#Cmdm; |
|
53 |
bindValue:#SendersOfIt to:#Cmdn; |
|
54 |
bindValue:#GoBack to:#CmdBackSpace] |
|
55 |
" |
|
8775 | 56 |
|
57 |
"Created: / 25-12-2007 / 19:58:53 / janfrog" |
|
58 |
"Modified: / 27-02-2008 / 12:16:10 / janfrog" |
|
10023 | 59 |
"Modified: / 15-04-2010 / 16:40:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10024 | 60 |
"Modified (comment): / 01-07-2011 / 16:21:38 / cg" |
8775 | 61 |
! ! |
62 |
||
63 |
!NewSystemBrowserCodeView class methodsFor:'menu specs'! |
|
64 |
||
65 |
editMenuSpec |
|
66 |
"This resource specification was automatically generated |
|
67 |
by the MenuEditor of ST/X." |
|
68 |
||
69 |
"Do not manually edit this!! If it is corrupted, |
|
70 |
the MenuEditor may not be able to read the specification." |
|
71 |
||
72 |
" |
|
73 |
MenuEditor new openOnClass:Tools::NewSystemBrowserCodeView andSelector:#editMenuSpec |
|
74 |
(Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowserCodeView editMenuSpec)) startUp |
|
75 |
" |
|
76 |
||
77 |
<resource: #menu> |
|
78 |
||
79 |
^ |
|
80 |
#(Menu |
|
81 |
( |
|
82 |
(MenuItem |
|
83 |
label: 'Implementors' |
|
84 |
itemValue: browseImplementorsOfIt |
|
85 |
translateLabel: true |
|
86 |
shortcutKey: ImplementorsOfIt |
|
87 |
) |
|
88 |
(MenuItem |
|
89 |
label: 'Senders' |
|
90 |
itemValue: browseSendersOfIt |
|
91 |
translateLabel: true |
|
92 |
shortcutKey: SendersOfIt |
|
93 |
) |
|
94 |
(MenuItem |
|
95 |
label: 'Refactor' |
|
96 |
translateLabel: true |
|
97 |
isVisible: false |
|
98 |
shortcutKey: Shift |
|
99 |
) |
|
100 |
(MenuItem |
|
101 |
label: '-' |
|
102 |
) |
|
103 |
(MenuItem |
|
104 |
label: 'Accept' |
|
105 |
itemValue: accept |
|
106 |
translateLabel: true |
|
107 |
shortcutKey: Accept |
|
108 |
) |
|
109 |
(MenuItem |
|
110 |
label: '-' |
|
111 |
) |
|
112 |
(MenuItem |
|
113 |
label: 'Cut' |
|
114 |
itemValue: cut |
|
115 |
translateLabel: true |
|
116 |
shortcutKey: Cut |
|
117 |
) |
|
118 |
(MenuItem |
|
119 |
label: 'Copy' |
|
120 |
itemValue: copySelection |
|
121 |
translateLabel: true |
|
122 |
shortcutKey: Copy |
|
123 |
) |
|
124 |
(MenuItem |
|
125 |
label: 'Paste' |
|
126 |
itemValue: pasteOrReplace |
|
127 |
translateLabel: true |
|
128 |
shortcutKey: Paste |
|
129 |
) |
|
130 |
(MenuItem |
|
131 |
label: '-' |
|
132 |
) |
|
133 |
(MenuItem |
|
134 |
label: 'Undo' |
|
135 |
itemValue: undo |
|
136 |
translateLabel: true |
|
137 |
shortcutKey: Undo |
|
138 |
) |
|
139 |
(MenuItem |
|
140 |
label: '-' |
|
141 |
) |
|
142 |
(MenuItem |
|
143 |
label: 'Do it' |
|
144 |
itemValue: doIt |
|
145 |
translateLabel: true |
|
146 |
shortcutKey: DoIt |
|
147 |
) |
|
148 |
(MenuItem |
|
149 |
label: 'Print it' |
|
150 |
itemValue: printIt |
|
151 |
translateLabel: true |
|
152 |
shortcutKey: PrintIt |
|
153 |
) |
|
154 |
(MenuItem |
|
155 |
label: 'Inspect it' |
|
156 |
itemValue: inspectIt |
|
157 |
translateLabel: true |
|
158 |
shortcutKey: InspectIt |
|
159 |
) |
|
160 |
(MenuItem |
|
161 |
label: '-' |
|
162 |
) |
|
163 |
(MenuItem |
|
164 |
label: 'Special' |
|
165 |
translateLabel: true |
|
166 |
submenu: |
|
167 |
(Menu |
|
168 |
( |
|
169 |
(MenuItem |
|
170 |
label: 'Inspect RB Parse Tree' |
|
171 |
itemValue: inspectParseTree |
|
172 |
translateLabel: true |
|
173 |
) |
|
174 |
(MenuItem |
|
175 |
label: 'Inspect selected selector' |
|
176 |
itemValue: inspectSelectedSelector |
|
177 |
translateLabel: true |
|
178 |
) |
|
179 |
) |
|
180 |
nil |
|
181 |
nil |
|
182 |
) |
|
183 |
) |
|
184 |
(MenuItem |
|
185 |
label: 'More' |
|
186 |
nameKey: More |
|
187 |
translateLabel: true |
|
188 |
) |
|
189 |
) |
|
190 |
nil |
|
191 |
nil |
|
192 |
) |
|
193 |
||
194 |
"Modified: / 18-10-2008 / 18:50:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
195 |
! ! |
|
196 |
||
197 |
!NewSystemBrowserCodeView methodsFor:'accessing'! |
|
198 |
||
199 |
browser |
|
200 |
^ browser ? menuHolder |
|
201 |
||
202 |
"Created: / 25-12-2007 / 10:20:01 / janfrog" |
|
203 |
"Modified: / 26-12-2007 / 12:22:56 / janfrog" |
|
204 |
! |
|
205 |
||
206 |
browser:something |
|
207 |
browser := something. |
|
208 |
||
209 |
"Created: / 25-12-2007 / 10:20:01 / janfrog" |
|
210 |
! |
|
211 |
||
212 |
findNode |
|
213 |
||
214 |
^selectedNode |
|
215 |
ifNil:[self findNodeForInterval: self selectedInterval] |
|
216 |
ifNotNil:[selectedNode] |
|
217 |
||
218 |
"Created: / 18-02-2008 / 22:52:24 / janfrog" |
|
219 |
"Modified: / 19-02-2008 / 09:35:11 / janfrog" |
|
220 |
! |
|
221 |
||
222 |
findNodeForInterval:anInterval |
|
223 |
" |
|
16932 | 224 |
An empty interval check based on Claus' suggestion |
8775 | 225 |
(email Fri, 10 Oct 2008 16:10:25 +0200) |
226 |
" |
|
10023 | 227 |
anInterval isEmpty ifTrue:[^nil]. |
8775 | 228 |
|
229 |
^self findNodeIn: self parseTree forInterval: anInterval |
|
230 |
||
231 |
"Created: / 19-02-2008 / 09:44:50 / janfrog" |
|
232 |
"Modified: / 18-10-2008 / 16:47:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10023 | 233 |
"Modified: / 01-09-2009 / 22:45:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8775 | 234 |
! |
235 |
||
236 |
findNodeIn:tree forInterval:interval |
|
16932 | 237 |
^ DoWhatIMeanSupport findNodeIn:tree forInterval:interval |
238 |
"/ |node wouldReturn| |
|
239 |
"/ |
|
240 |
"/ node := nil. |
|
241 |
"/ tree = #error ifTrue:[^nil]. |
|
242 |
"/ tree nodesDo:[:each | |
|
243 |
"/ (each intersectsInterval:interval) ifTrue:[ |
|
244 |
"/ (node isNil or:[node == each parent]) ifTrue:[ |
|
245 |
"/ node := each |
|
246 |
"/ ] ifFalse:[ |
|
247 |
"/ (node parent notNil |
|
248 |
"/ and:[node parent isCascade and:[each parent isCascade]]) ifFalse:[^ nil] |
|
249 |
"/ ] |
|
250 |
"/ ] ifFalse:[ |
|
251 |
"/ node notNil ifTrue:[ |
|
252 |
"/ "/ already found one - beyond that one; leave |
|
253 |
"/ wouldReturn notNil ifTrue:[wouldReturn := node]. |
|
254 |
"/ ] |
|
255 |
"/ ]. |
|
256 |
"/ ]. |
|
257 |
"/(wouldReturn notNil and:[wouldReturn ~~ node]) ifTrue:[self halt]. |
|
258 |
"/ ^ node |
|
8775 | 259 |
|
260 |
"Created: / 19-02-2008 / 09:40:24 / janfrog" |
|
261 |
"Modified: / 21-02-2008 / 09:35:31 / janfrog" |
|
262 |
! |
|
263 |
||
264 |
selectedClass |
|
265 |
||
266 |
^self browser theSingleSelectedClass |
|
267 |
||
268 |
"Created: / 21-02-2008 / 09:26:55 / janfrog" |
|
269 |
! |
|
270 |
||
271 |
selectedNode |
|
272 |
^ self findNode |
|
273 |
||
274 |
"Created: / 21-02-2008 / 09:17:29 / janfrog" |
|
275 |
! |
|
276 |
||
277 |
selectedSelector |
|
278 |
|selectedText| |
|
279 |
||
10463 | 280 |
^ (selectedText := self selectionAsString) isEmptyOrNil |
10023 | 281 |
ifFalse:[ (SystemBrowser extractSelectorFrom:selectedText) asSymbol ] |
8775 | 282 |
ifTrue:[ |
283 |
selectedNode ifNil:[ self highlightNodeAtCursor ]. |
|
284 |
(selectedNode notNil and:[ selectedNode isMessage ]) ifTrue:[ |
|
285 |
selectedNode selector |
|
286 |
] ifFalse:[ nil ] |
|
287 |
] |
|
288 |
||
289 |
"Created: / 26-12-2007 / 11:12:26 / janfrog" |
|
290 |
"Modified: / 19-02-2008 / 09:16:11 / janfrog" |
|
10463 | 291 |
"Modified: / 04-08-2011 / 19:05:43 / cg" |
8775 | 292 |
! ! |
293 |
||
294 |
!NewSystemBrowserCodeView methodsFor:'accessing-contents'! |
|
295 |
||
296 |
list: anObject |
|
297 |
||
298 |
super list: anObject. |
|
299 |
self updateParseTree. |
|
300 |
||
301 |
"Created: / 25-12-2007 / 10:05:17 / janfrog" |
|
302 |
! ! |
|
303 |
||
304 |
!NewSystemBrowserCodeView methodsFor:'change & update'! |
|
305 |
||
306 |
updateParseTree |
|
307 |
||
308 |
self startParsingProcess |
|
309 |
"/Transcript showCR:'Updating parse tree' |
|
310 |
||
311 |
"Created: / 25-12-2007 / 10:05:49 / janfrog" |
|
312 |
"Modified: / 25-12-2007 / 21:29:28 / janfrog" |
|
313 |
! ! |
|
314 |
||
315 |
!NewSystemBrowserCodeView methodsFor:'event handling'! |
|
316 |
||
317 |
buttonMotion:button x:x y:y |
|
17241 | 318 |
(button == 0 and:[ self sensor ctrlDown ]) ifFalse:[ |
319 |
^ super buttonMotion:button x:x y:y |
|
320 |
]. |
|
321 |
self |
|
322 |
highlightNodeAtX:x y:y; |
|
323 |
redraw. |
|
8775 | 324 |
|
325 |
"Created: / 25-12-2007 / 21:53:50 / janfrog" |
|
326 |
"Modified: / 19-02-2008 / 09:15:09 / janfrog" |
|
327 |
! |
|
328 |
||
10023 | 329 |
buttonPress: button x: x y: y |
330 |
| node | |
|
8775 | 331 |
|
10023 | 332 |
(self sensor ctrlDown and: [ (node := self selectedNode) notNil ]) |
333 |
ifTrue: |
|
19149 | 334 |
[ button == 1 |
10023 | 335 |
ifTrue: [ ^ self openMenu: (node leftClickMenuInCodeView: self) ]. |
19149 | 336 |
button == #paste |
10023 | 337 |
ifTrue: [ ^ self openMenu: (node middleClickMenuInCodeView: self) ]. |
19149 | 338 |
button == 2 |
10023 | 339 |
ifTrue: [ ^ self openMenu: (node rightClickMenuInCodeView: self) ] ]. |
8775 | 340 |
super |
10023 | 341 |
buttonPress: button |
342 |
x: x |
|
343 |
y: y |
|
8775 | 344 |
|
345 |
"Created: / 26-12-2007 / 11:39:50 / janfrog" |
|
346 |
"Modified: / 21-02-2008 / 09:17:29 / janfrog" |
|
347 |
! |
|
348 |
||
349 |
handleNonCommandKey:keyArg |
|
350 |
||
351 |
super handleNonCommandKey: keyArg. |
|
352 |
self startParsingProcess. |
|
353 |
||
354 |
"Created: / 18-02-2008 / 17:18:22 / janfrog" |
|
355 |
! |
|
356 |
||
357 |
keyPress:key x:x y:y |
|
19294 | 358 |
<resource: #keyboard (#Control_L #Ctrl_L |
12104
ef5283010b5f
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
11790
diff
changeset
|
359 |
#Tab #Return #BackSpace #Delete |
ef5283010b5f
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
11790
diff
changeset
|
360 |
#GoBack)> |
ef5283010b5f
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
11790
diff
changeset
|
361 |
|
8775 | 362 |
(x notNil and:[ y notNil ]) ifTrue:[ |
19294 | 363 |
(#(#Control_L #Control_R #Control #Ctrl_L #Ctrl_R #Ctrl ) includes:key) ifTrue:[ |
19240 | 364 |
self highlightNodeAtX:x y:y; redraw |
8775 | 365 |
]. |
366 |
"key = #Alt_L ifTrue: [self highlightParseTreeNodeAtX: x y: y; redraw]" |
|
367 |
]. |
|
368 |
||
12104
ef5283010b5f
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
11790
diff
changeset
|
369 |
(#( #Tab #Return #BackSpace #Delete) includes:key) ifTrue:[ |
8775 | 370 |
self startParsingProcess |
371 |
]. |
|
372 |
||
373 |
key == #GoBack ifTrue:[self goBack]. |
|
374 |
||
19240 | 375 |
^ super keyPress:key x:x y:y |
8775 | 376 |
|
377 |
"Created: / 25-12-2007 / 23:49:38 / janfrog" |
|
378 |
"Modified: / 27-02-2008 / 12:18:56 / janfrog" |
|
379 |
"Modified: / 12-03-2009 / 16:35:56 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
380 |
! ! |
|
381 |
||
382 |
!NewSystemBrowserCodeView methodsFor:'menu'! |
|
383 |
||
10023 | 384 |
browseClassesMenu: classes |
385 |
| menu| |
|
386 |
||
387 |
menu := Menu new. |
|
18684 | 388 |
classes do: [:cls| |
19470 | 389 |
menu addItemLabel: ('Browse ' , cls fullName allBold) |
390 |
value:[self browseClass: cls] |
|
391 |
]. |
|
10023 | 392 |
|
393 |
^ menu |
|
394 |
||
395 |
"Modified: / 19-10-2008 / 08:16:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
396 |
"Created: / 01-09-2009 / 09:41:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
18684 | 397 |
"Modified (format): / 13-03-2019 / 22:10:49 / Claus Gittinger" |
10023 | 398 |
! |
399 |
||
8775 | 400 |
editMenu |
401 |
||
402 |
| editMenu superEditMenu moreMenu moreMenuItem | |
|
403 |
editMenu := self class editMenuSpec decodeAsLiteralArray. |
|
404 |
superEditMenu := super editMenu. |
|
405 |
moreMenu := superEditMenu subMenuAt: superEditMenu numberOfItems. |
|
406 |
moreMenuItem := editMenu menuItemLabeled: 'More'. |
|
407 |
moreMenuItem submenu: moreMenu asMenu. |
|
408 |
editMenu findGuiResourcesIn: self. |
|
409 |
^editMenu |
|
410 |
||
411 |
"Created: / 25-12-2007 / 10:10:01 / janfrog" |
|
412 |
"Modified: / 25-12-2007 / 19:50:53 / janfrog" |
|
413 |
"Modified: / 18-10-2008 / 20:31:16 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
414 |
! |
|
415 |
||
416 |
messageNodeContextMenu:messageNode |
|
417 |
|menu| |
|
418 |
||
419 |
menu := Menu new. |
|
420 |
menu |
|
421 |
addItem:((MenuItem new) |
|
422 |
label:'Implementors'; |
|
423 |
shortcutKey:#ImplementorsOfIt; |
|
424 |
submenuChannel:(Promise |
|
425 |
value:[ self messageNodeImplementorsMenu:messageNode ])); |
|
426 |
addItem:((MenuItem new) |
|
427 |
label:'Senders'; |
|
428 |
shortcutKey:#SendersOfIt; |
|
429 |
submenuChannel:(Promise value:[ self messageNodeSendersMenu:messageNode ])). |
|
430 |
^ menu |
|
431 |
||
432 |
"Created: / 18-02-2008 / 21:05:36 / janfrog" |
|
433 |
! |
|
434 |
||
435 |
messageNodeImplementorsMenu:messageNode |
|
18684 | 436 |
|implementors selector menu selectorString| |
8775 | 437 |
|
18684 | 438 |
selector := messageNode selector. |
439 |
||
8775 | 440 |
menu := Menu new. |
18684 | 441 |
implementors := self implementorsOf:selector. |
10463 | 442 |
implementors isEmptyOrNil ifTrue:[ |
8775 | 443 |
menu addItem:(MenuItem label:'No implementors found') disable |
444 |
] ifFalse:[ |
|
18684 | 445 |
selectorString := selector storeString. |
19470 | 446 |
menu addItemLabel:(selectorString , (' (all implementors) ') allItalic) |
447 |
value:[ |
|
448 |
self browseMethods:implementors label:'Implementors of ' , selectorString |
|
449 |
]. |
|
8775 | 450 |
menu addSeparator. |
451 |
implementors do:[:mth | |
|
452 |
menu |
|
19470 | 453 |
addItemLabel:(selectorString , (' in ' , mth containingClass name allBold)) |
454 |
value:[ self browseMethod:mth label: 'Implementor of ' , selectorString ]. |
|
8775 | 455 |
] |
456 |
]. |
|
457 |
^ menu |
|
458 |
||
459 |
"Created: / 18-02-2008 / 21:05:47 / janfrog" |
|
460 |
"Modified: / 19-10-2008 / 08:16:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10463 | 461 |
"Modified: / 04-08-2011 / 19:05:37 / cg" |
18684 | 462 |
"Modified: / 13-03-2019 / 22:14:27 / Claus Gittinger" |
8775 | 463 |
! |
464 |
||
465 |
messageNodeSendersMenu:messageNode |
|
18684 | 466 |
|implementors selector menu selectorString| |
8775 | 467 |
|
18684 | 468 |
selector := messageNode selector. |
469 |
||
8775 | 470 |
menu := Menu new. |
18684 | 471 |
implementors := self sendersOf:selector. |
10463 | 472 |
implementors isEmptyOrNil ifTrue:[ |
8775 | 473 |
menu addItem:(MenuItem label:'No senders found') disable |
474 |
] ifFalse:[ |
|
18684 | 475 |
selectorString := selector storeString. |
19470 | 476 |
menu addItemLabel:(selectorString , (' (all senders)') allItalic) |
477 |
value:[ |
|
478 |
self browseMethods:implementors label:'Senders of ' , selectorString |
|
479 |
]. |
|
8775 | 480 |
menu addSeparator. |
481 |
implementors do:[:mth | |
|
482 |
menu |
|
19470 | 483 |
addItemLabel:(mth selector storeString , (' in ' , mth containingClass name allBold)) |
484 |
value:[ self browseMethod:mth label: 'Sender of ' , selectorString ] |
|
8775 | 485 |
] |
486 |
]. |
|
487 |
^ menu |
|
488 |
||
489 |
"Created: / 18-02-2008 / 21:05:56 / janfrog" |
|
490 |
"Modified: / 19-10-2008 / 08:17:00 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10463 | 491 |
"Modified: / 04-08-2011 / 19:05:40 / cg" |
18684 | 492 |
"Modified: / 13-03-2019 / 22:13:22 / Claus Gittinger" |
8775 | 493 |
! |
494 |
||
495 |
openMenu: aMenuOrNil |
|
496 |
||
497 |
aMenuOrNil ifNotNil: |
|
498 |
[self highlightClear; redraw. |
|
499 |
aMenuOrNil startUp]. |
|
500 |
||
501 |
"Created: / 18-02-2008 / 19:03:08 / janfrog" |
|
502 |
! |
|
503 |
||
504 |
variableNodeMenuContext:variableNode |
|
505 |
||
506 |
| menu | |
|
507 |
menu := Menu new. |
|
508 |
menu |
|
509 |
addItem: |
|
14596
d7265f2d768e
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
12957
diff
changeset
|
510 |
(MenuItem |
d7265f2d768e
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
12957
diff
changeset
|
511 |
label: 'Rename Local Variable' |
d7265f2d768e
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
12957
diff
changeset
|
512 |
itemValue:[self refactorMenuRenameLocalVariable] |
8775 | 513 |
enabled:(self isLocalVariableNode: variableNode)); |
514 |
addItem: |
|
14596
d7265f2d768e
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
12957
diff
changeset
|
515 |
(MenuItem |
d7265f2d768e
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
12957
diff
changeset
|
516 |
label: 'Rename Instance Variable' |
d7265f2d768e
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
12957
diff
changeset
|
517 |
itemValue:[self refactorMenuRenameInstanceVariable] |
8775 | 518 |
enabled:(self isInstanceVariableNode: variableNode)). |
519 |
||
520 |
^menu |
|
521 |
||
522 |
"Created: / 18-02-2008 / 21:10:46 / janfrog" |
|
523 |
"Modified: / 21-02-2008 / 09:40:09 / janfrog" |
|
11790 | 524 |
"Modified: / 09-09-2012 / 13:24:19 / cg" |
8775 | 525 |
! ! |
526 |
||
19240 | 527 |
!NewSystemBrowserCodeView methodsFor:'menu - double dispatch'! |
528 |
||
529 |
blueButtonMenuForMessageNode:messageNode |
|
530 |
^ self messageNodeContextMenu:messageNode |
|
531 |
||
532 |
"Created: / 18-02-2008 / 19:12:56 / janfrog" |
|
533 |
"Modified: / 18-02-2008 / 21:05:36 / janfrog" |
|
534 |
! |
|
535 |
||
536 |
blueButtonMenuForVariableNode: messageNode |
|
537 |
||
538 |
^self variableNodeMenuContext:messageNode |
|
539 |
||
540 |
"Created: / 18-02-2008 / 21:04:32 / janfrog" |
|
541 |
! |
|
542 |
||
543 |
leftClickMenuForMessageNode: messageNode |
|
544 |
^ self messageNodeImplementorsMenu: messageNode |
|
545 |
||
546 |
"Modified: / 18-02-2008 / 21:05:47 / janfrog" |
|
547 |
! |
|
548 |
||
549 |
leftClickMenuForVariableNode: varNode |
|
550 |
| environment classes | |
|
551 |
||
552 |
self browser ifNil:[^nil]. |
|
553 |
environment := self browser theSingleSelectedMethod mclass environment. |
|
554 |
classes := OrderedCollection new. |
|
555 |
[ environment notNil ] whileTrue:[ |
|
556 |
| cls | |
|
557 |
||
558 |
cls := environment at: varNode name asSymbol. |
|
559 |
cls ifNotNil:[classes add: cls]. |
|
560 |
environment := |
|
561 |
(environment == Smalltalk) |
|
562 |
ifTrue:[environment := nil] |
|
563 |
ifFalse:[environment environment] |
|
564 |
]. |
|
565 |
^classes isEmpty |
|
566 |
ifTrue:[self browseClassesMenu: classes ] |
|
567 |
ifFalse:[self variableNodeMenuContext: varNode] |
|
568 |
||
569 |
"Modified: / 18-02-2008 / 21:05:47 / janfrog" |
|
570 |
"Created: / 01-09-2009 / 08:41:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
571 |
"Modified: / 01-09-2009 / 09:46:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
572 |
"Modified (format): / 05-07-2011 / 16:04:47 / cg" |
|
573 |
! |
|
574 |
||
575 |
middleClickMenuForMessageNode: messageNode |
|
576 |
^ self messageNodeSendersMenu: messageNode |
|
577 |
||
578 |
"Created: / 18-02-2008 / 19:08:50 / janfrog" |
|
579 |
"Modified: / 18-02-2008 / 21:05:56 / janfrog" |
|
580 |
! |
|
581 |
||
582 |
redButtonMenuForMessageNode:messageNode |
|
583 |
^ self messageNodeImplementorsMenu:messageNode |
|
584 |
||
585 |
"Modified: / 18-02-2008 / 21:05:47 / janfrog" |
|
586 |
! |
|
587 |
||
588 |
rightClickMenuForMessageNode: messageNode |
|
589 |
^ self messageNodeContextMenu: messageNode |
|
590 |
||
591 |
"Created: / 18-02-2008 / 19:12:56 / janfrog" |
|
592 |
"Modified: / 18-02-2008 / 21:05:36 / janfrog" |
|
593 |
! |
|
594 |
||
595 |
rightClickMenuForVariableNode: variableNode |
|
596 |
^ self variableNodeMenuContext: variableNode |
|
597 |
||
598 |
"Created: / 18-02-2008 / 21:04:32 / janfrog" |
|
599 |
! |
|
600 |
||
601 |
yellowButtonMenuForMessageNode:messageNode |
|
602 |
^ self messageNodeSendersMenu:messageNode |
|
603 |
||
604 |
"Created: / 18-02-2008 / 19:08:50 / janfrog" |
|
605 |
"Modified: / 18-02-2008 / 21:05:56 / janfrog" |
|
606 |
! ! |
|
607 |
||
608 |
!NewSystemBrowserCodeView methodsFor:'menu actions'! |
|
8775 | 609 |
|
610 |
accept |
|
611 |
||
612 |
super accept. |
|
613 |
self startParsingProcess |
|
614 |
||
615 |
"Created: / 26-12-2007 / 12:33:19 / janfrog" |
|
616 |
! |
|
617 |
||
10023 | 618 |
browseClass: class |
619 |
||
620 |
self browser ifNil: [^NewSystemBrowser browseClass:class]. |
|
621 |
(UserPreferences current alwaysOpenNewTabWhenCtrlClick or:[self browser navigationState modified]) |
|
622 |
ifTrue: |
|
623 |
[self browser |
|
624 |
spawnClassBrowserFor:(Array with: class) |
|
625 |
in:#newBuffer] |
|
626 |
ifFalse: |
|
627 |
[self browser |
|
628 |
switchToClass: class]. |
|
629 |
||
630 |
"Modified: / 19-02-2008 / 10:15:17 / janfrog" |
|
631 |
"Created: / 01-09-2009 / 08:52:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
632 |
! |
|
633 |
||
8775 | 634 |
browseImplementorsOfIt |
635 |
||
636 |
| selector implementors | |
|
637 |
selector := self selectedSelector. |
|
638 |
implementors := self implementorsOf: selector. |
|
639 |
self browseMethods: implementors label: 'Implementors of: ', selector storeString |
|
640 |
||
641 |
"Created: / 26-12-2007 / 11:02:41 / janfrog" |
|
642 |
! |
|
643 |
||
644 |
browseMethod: method label: label |
|
645 |
||
646 |
self browser ifNil: [^NewSystemBrowser openInMethod:method]. |
|
647 |
(UserPreferences current alwaysOpenNewTabWhenCtrlClick or:[self browser navigationState modified]) |
|
648 |
ifTrue: |
|
649 |
[self browser |
|
650 |
spawnMethodBrowserFor:(Array with: method) |
|
651 |
in:#newBuffer |
|
652 |
label:label] |
|
653 |
ifFalse: |
|
654 |
[self browser |
|
655 |
switchToClass: method containingClass |
|
656 |
selector: method selector]. |
|
657 |
||
658 |
"Modified: / 19-02-2008 / 10:15:17 / janfrog" |
|
659 |
"Created: / 19-10-2008 / 08:16:17 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
660 |
! |
|
661 |
||
662 |
browseMethods: methods label: label |
|
663 |
||
19149 | 664 |
methods size == 1 ifTrue: |
8775 | 665 |
[^self browseMethod: methods anyOne label: label]. |
666 |
||
667 |
self browser |
|
668 |
ifNil: [NewSystemBrowser browseMethods: methods title: label] |
|
669 |
ifNotNil:[self browser spawnMethodBrowserFor:methods in:#newBuffer label:label] |
|
670 |
||
671 |
"Created: / 26-12-2007 / 11:32:04 / janfrog" |
|
672 |
"Modified: / 19-10-2008 / 08:17:28 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
673 |
! |
|
674 |
||
675 |
browseSendersOfIt |
|
676 |
||
677 |
| selector implementors | |
|
678 |
selector := self selectedSelector. |
|
679 |
implementors := self sendersOf: selector. |
|
680 |
self browseMethods: implementors label: 'Senders of: ', selector storeString |
|
681 |
||
682 |
"Created: / 26-12-2007 / 11:35:43 / janfrog" |
|
683 |
! |
|
684 |
||
685 |
goBack |
|
686 |
||
687 |
(self browser respondsTo: #goBack) |
|
688 |
ifTrue:[self browser goBack] |
|
689 |
||
690 |
"Created: / 27-02-2008 / 12:18:02 / janfrog" |
|
691 |
! |
|
692 |
||
693 |
inspectParseTree |
|
694 |
^ self parseTree inspect |
|
695 |
||
696 |
"Created: / 25-12-2007 / 21:36:09 / janfrog" |
|
697 |
"Modified: / 19-02-2008 / 09:20:03 / janfrog" |
|
698 |
! |
|
699 |
||
700 |
inspectSelectedSelector |
|
701 |
||
702 |
^self selectedSelector inspect |
|
703 |
||
704 |
"Created: / 26-12-2007 / 11:16:48 / janfrog" |
|
705 |
! |
|
706 |
||
707 |
refactorMenuRenameInstanceVariable |
|
708 |
||
709 |
self topView application codeMenuRenameTemporary |
|
710 |
||
711 |
"Created: / 21-02-2008 / 09:15:08 / janfrog" |
|
712 |
! |
|
713 |
||
714 |
refactorMenuRenameLocalVariable |
|
715 |
||
716 |
self browser codeMenuRenameTemporary |
|
717 |
||
718 |
"Created: / 18-02-2008 / 21:21:26 / janfrog" |
|
719 |
"Modified: / 19-02-2008 / 09:59:11 / janfrog" |
|
720 |
! ! |
|
721 |
||
722 |
!NewSystemBrowserCodeView methodsFor:'private'! |
|
723 |
||
724 |
implementorsOf: selector |
|
725 |
||
726 |
selector ifNil:[^#()]. |
|
727 |
^SystemBrowser |
|
728 |
findImplementorsOf: selector |
|
729 |
in: Smalltalk allClasses |
|
730 |
ignoreCase: false |
|
731 |
||
732 |
"Created: / 26-12-2007 / 11:37:11 / janfrog" |
|
733 |
! |
|
734 |
||
735 |
sendersOf: selector |
|
736 |
||
737 |
^SystemBrowser |
|
738 |
findSendersOf: selector |
|
739 |
in: Smalltalk allClasses |
|
740 |
ignoreCase: false |
|
741 |
||
742 |
"Created: / 26-12-2007 / 11:37:22 / janfrog" |
|
743 |
! ! |
|
744 |
||
745 |
!NewSystemBrowserCodeView methodsFor:'private - highlighting'! |
|
746 |
||
747 |
highlightClear |
|
10023 | 748 |
self list ifNil:[ ^ self ]. |
749 |
self list do:[:line | |
|
750 |
line isText ifTrue:[ |
|
751 |
line emphasisAllRemove:self selectorEmphasis |
|
752 |
] |
|
753 |
] |
|
8775 | 754 |
|
755 |
"Created: / 25-12-2007 / 23:26:27 / janfrog" |
|
756 |
"Modified: / 26-12-2007 / 12:28:05 / janfrog" |
|
757 |
! |
|
758 |
||
759 |
highlightFrom: start to: end |
|
760 |
"Remove underlined emphasis" |
|
761 |
||
762 |
|startLine startCol endLine endCol| |
|
763 |
||
764 |
startLine := self lineOfCharacterPosition:start. |
|
765 |
startCol := start - (self characterPositionOfLine:startLine col:1) + 1. |
|
766 |
endLine := self lineOfCharacterPosition:end. |
|
767 |
endCol := end - (self characterPositionOfLine:endLine col:1) + 1. |
|
768 |
self highlightFromLine: startLine col: startCol toLine: endLine col: endCol |
|
769 |
||
770 |
"Created: / 25-12-2007 / 22:56:28 / janfrog" |
|
771 |
! |
|
772 |
||
10023 | 773 |
highlightLine:lineNo fromLine:startLine col:endLine toLine:startCol col:endCol emphasis: em |
774 |
|line start end| |
|
8775 | 775 |
|
10023 | 776 |
(lineNo between:startLine and:endLine) ifFalse:[ |
777 |
^ self |
|
778 |
]. |
|
779 |
line := self listAt:lineNo. |
|
780 |
start := lineNo = startLine ifTrue:[ |
|
781 |
startCol |
|
782 |
] ifFalse:[ |
|
783 |
line indexOfFirstNonBlankCharacter |
|
784 |
]. |
|
785 |
end := lineNo = endLine ifTrue:[ |
|
786 |
endCol |
|
787 |
] ifFalse:[ line size ]. |
|
788 |
line |
|
789 |
emphasisFrom:start |
|
790 |
to:end |
|
791 |
add: em |
|
8775 | 792 |
|
10023 | 793 |
"Created: / 25-06-2010 / 13:59:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8775 | 794 |
! |
795 |
||
796 |
highlightNode:node |
|
797 |
selectedNode == node ifTrue:[^ self]. |
|
798 |
selectedNode := node. |
|
799 |
selectedNode ifNil:[ ^ self highlightClear ]. |
|
800 |
selectedNode highlightInCodeView:self. |
|
801 |
||
802 |
"Created: / 19-02-2008 / 09:14:38 / janfrog" |
|
803 |
! |
|
804 |
||
805 |
highlightNodeAtCursor |
|
806 |
self highlightNodeAtLine:self cursorLine col:self cursorCol |
|
807 |
||
808 |
"Created: / 19-02-2008 / 09:14:46 / janfrog" |
|
809 |
! |
|
810 |
||
811 |
highlightNodeAtLine:line col:col |
|
812 |
|characterPosition node| |
|
813 |
||
814 |
(self parseTree isNil or:[ self parseTree = #error ]) ifTrue:[ |
|
815 |
^ self |
|
816 |
]. |
|
817 |
characterPosition := self characterPositionOfLine:line col:col. |
|
818 |
node := self findNodeForInterval: (characterPosition to:characterPosition). |
|
819 |
self highlightNode:node |
|
820 |
||
821 |
"Created: / 19-02-2008 / 09:14:58 / janfrog" |
|
822 |
! |
|
823 |
||
824 |
highlightNodeAtX:x y:y |
|
825 |
|visibleLine line col| |
|
826 |
||
827 |
(self parseTree isNil or:[ self parseTree = #error ]) ifTrue:[ |
|
828 |
^ self |
|
829 |
]. |
|
830 |
visibleLine := self visibleLineOfY:y. |
|
831 |
col := self colOfX:x inVisibleLine:visibleLine. |
|
832 |
line := self visibleLineToAbsoluteLine:visibleLine. |
|
833 |
self highlightNodeAtLine:line col:col |
|
834 |
||
835 |
"Created: / 19-02-2008 / 09:15:09 / janfrog" |
|
836 |
! |
|
837 |
||
838 |
highlightWithoutClearFrom: start to: end |
|
839 |
"Remove underlined emphasis" |
|
840 |
||
841 |
|startLine startCol endLine endCol| |
|
842 |
||
843 |
startLine := self lineOfCharacterPosition:start. |
|
844 |
startCol := start - (self characterPositionOfLine:startLine col:1) + 1. |
|
845 |
endLine := self lineOfCharacterPosition:end. |
|
846 |
endCol := end - (self characterPositionOfLine:endLine col:1) + 1. |
|
847 |
self highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol |
|
848 |
||
849 |
"Created: / 25-12-2007 / 23:27:14 / janfrog" |
|
850 |
! |
|
851 |
||
852 |
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol |
|
853 |
||
854 |
self list keysAndValuesDo: |
|
855 |
[:lineNo :line| |
|
856 |
|start end| |
|
857 |
line isText ifTrue: |
|
858 |
[self highlightLine: lineNo fromLine: startLine col: endLine toLine: startCol col: endCol]]. |
|
859 |
||
860 |
"Created: / 25-12-2007 / 23:35:07 / janfrog" |
|
10023 | 861 |
! |
862 |
||
863 |
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol emphasis: em |
|
864 |
||
865 |
self list keysAndValuesDo: |
|
866 |
[:lineNo :line| |
|
867 |
|start end| |
|
868 |
line isText ifTrue: |
|
869 |
[self highlightLine: lineNo fromLine: startLine col: endLine toLine: startCol col: endCol emphasis: em]]. |
|
870 |
||
871 |
"Created: / 25-06-2010 / 13:58:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
872 |
! |
|
873 |
||
874 |
selectorEmphasis |
|
16798 | 875 |
highlightEmphasis isNil ifTrue:[ |
876 |
highlightEmphasis := #(underline bold) |
|
877 |
]. |
|
878 |
^ highlightEmphasis. |
|
10023 | 879 |
|
880 |
"Created: / 25-12-2007 / 22:57:23 / janfrog" |
|
881 |
"Modified: / 01-09-2009 / 22:29:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
8775 | 882 |
! ! |
883 |
||
884 |
!NewSystemBrowserCodeView methodsFor:'private - highlighting - nodes'! |
|
885 |
||
886 |
highlightLiteralNode: node |
|
887 |
||
888 |
node value isSymbol ifTrue: |
|
889 |
[self highlightFrom: node start to: node stop] |
|
890 |
||
891 |
"Created: / 26-12-2007 / 10:19:08 / janfrog" |
|
892 |
! |
|
893 |
||
894 |
highlightMessageNode: node |
|
895 |
||
896 |
self highlightClear. |
|
897 |
node selectorParts do: |
|
898 |
[:part|self highlightWithoutClearFrom: part start to: part stop] |
|
899 |
||
900 |
"Created: / 25-12-2007 / 23:41:36 / janfrog" |
|
901 |
! |
|
902 |
||
903 |
highlightVariableNode: node |
|
904 |
(#('self' 'super' 'here' 'thisContext') includes:node name) ifTrue:[^self]. |
|
905 |
^ self highlightFrom: node start to: node stop |
|
906 |
||
907 |
"Created: / 25-12-2007 / 23:45:42 / janfrog" |
|
908 |
"Modified: / 18-02-2008 / 20:51:51 / janfrog" |
|
909 |
! ! |
|
910 |
||
911 |
!NewSystemBrowserCodeView methodsFor:'private - parsing'! |
|
912 |
||
913 |
parseTree |
|
914 |
||
915 |
^ parseTree |
|
916 |
||
917 |
"Created: / 19-02-2008 / 09:20:03 / janfrog" |
|
918 |
"Modified: / 19-10-2008 / 07:36:36 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
919 |
! |
|
920 |
||
921 |
parseTree:something |
|
922 |
parseTree := something. |
|
923 |
||
924 |
"Created: / 19-10-2008 / 07:39:15 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
925 |
! |
|
926 |
||
927 |
parseTree:something sequenceNumber: givenSeqNum |
|
928 |
||
929 |
givenSeqNum < seqNum ifFalse: |
|
930 |
[parseTree := something]. |
|
931 |
||
932 |
"Created: / 12-03-2009 / 16:29:11 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
933 |
! |
|
934 |
||
935 |
startParsingProcess |
|
936 |
|prio contents| |
|
937 |
||
938 |
seqNum := ((seqNum ? 0) + 1). |
|
939 |
parsingProcess |
|
940 |
ifNotNil:[ |
|
941 |
parsingProcessRunning ~~ true ifTrue:[ |
|
942 |
^ self |
|
943 |
]. |
|
944 |
self stopParsingProcess |
|
945 |
]. |
|
946 |
prio := Processor userBackgroundPriority - 1. |
|
947 |
self shown ifFalse:[ |
|
948 |
prio := prio - 1 max:1 |
|
949 |
]. |
|
950 |
contents := self contents. |
|
951 |
parsingProcess := [ |
|
952 |
[ |
|
953 |
| tree | |
|
10463 | 954 |
tree := ((contents isEmptyOrNil) |
8775 | 955 |
ifTrue:[ nil ] |
956 |
ifFalse:[ RBParser parseMethod:contents onError:[:err :pos | #error ] ]). |
|
957 |
self sensor |
|
958 |
pushUserEvent:#parseTree:sequenceNumber: |
|
959 |
for: self |
|
960 |
withArguments: |
|
961 |
(Array with: tree with: seqNum) |
|
962 |
] ensure:[ |
|
963 |
parsingProcessRunning := false. |
|
964 |
parsingProcess := nil. |
|
965 |
] |
|
966 |
] forkAt:prio |
|
967 |
||
968 |
"Modified: / 19-02-2008 / 09:22:57 / janfrog" |
|
969 |
"Created: / 21-08-2009 / 15:40:06 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
970 |
"Modified: / 22-08-2009 / 11:51:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10463 | 971 |
"Modified: / 04-08-2011 / 19:05:45 / cg" |
8775 | 972 |
! |
973 |
||
974 |
stopParsingProcess |
|
975 |
|p| |
|
976 |
||
977 |
(p := parsingProcess) notNil ifTrue:[ |
|
978 |
parsingProcess := nil. |
|
979 |
p terminate. |
|
980 |
"/ raise its prio to make it terminate quickly |
|
981 |
p priority:(Processor userSchedulingPriority + 1) |
|
982 |
] |
|
983 |
||
984 |
"Created: / 25-12-2007 / 21:16:03 / janfrog" |
|
985 |
! ! |
|
986 |
||
987 |
!NewSystemBrowserCodeView methodsFor:'private - testing'! |
|
988 |
||
989 |
isInstanceVariableNode: node |
|
990 |
||
991 |
||
992 |
node isVariable ifFalse:[^false]. |
|
993 |
^(self selectedClass allInstVarNames includes:(node name)) |
|
994 |
||
995 |
"Created: / 21-02-2008 / 09:39:10 / janfrog" |
|
996 |
! |
|
997 |
||
998 |
isLocalVariableNode: node |
|
999 |
||
1000 |
||
1001 |
(self parseTree arguments includes: node) ifTrue:[^true]. |
|
1002 |
(self parseTree body temporaries includes: node) ifTrue:[^true]. |
|
1003 |
^false |
|
1004 |
||
1005 |
"Created: / 21-02-2008 / 09:32:33 / janfrog" |
|
1006 |
! ! |
|
1007 |
||
1008 |
!NewSystemBrowserCodeView class methodsFor:'documentation'! |
|
1009 |
||
8806 | 1010 |
version_CVS |
16798 | 1011 |
^ '$Header$' |
10023 | 1012 |
! |
1013 |
||
1014 |
version_SVN |
|
16798 | 1015 |
^ '$Id$' |
8775 | 1016 |
! ! |
1017 |
||
12104
ef5283010b5f
class: Tools::NewSystemBrowserCodeView
Claus Gittinger <cg@exept.de>
parents:
11790
diff
changeset
|
1018 |
|
8775 | 1019 |
NewSystemBrowserCodeView initialize! |