|Anonymous | Login||08-22-2019 18:16 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0006814||[Squeak] Tools||feature||N/A||12-16-07 11:41||12-17-07 12:24|
|Assigned To||Damien Cassou|
|Summary||0006814: Inspector dive-into/pop enhancement|
From the squeak-dev mailing list:
Similarly to VisualWorks (at least back when I used it), this change adds the ability to "dive into" an attribute of an object being inspected without opening a new inspector, i.e. in the same window. So for instance if you inspect something like, say:
OrderedCollection with: 'abc' with: #(1 2 'def')
then click on the collection's second element, i.e. the Array, right-click and "dive into" it, the inspector's object is updated to be the Array instead of the OrderedCollection. You could then dive further into the SmallIntegers or the ByteString, or "pop" back out to the previously inspected object. The Inspector instance remembers its own history, so any number of dives can be retraced to the initial object. For convenience, the double-click action on a selected attribute is defined to be "dive into", unless you double-click on "self" in the inspector, in which case you "pop" back one step. I haven't found a good way of updating the window title yet, so it's a bit hacky for now (checking the inspector's dependents for a SystemWindow doesn't seem very elegant), but otherwise it works great. Just a convenient way of drilling down through various layers of objects and being able to back up if need be, without having 16 inspectors cluttering up your screen when you're done ;-)
The update of the Inspector window title should probably be done via dependency rather than my "temporary" hack...
Also, I don't know enough about Morphs to know when the Inspector is called via the #openOn:withEvalPane:[...] series of methods (which haven't been modified) and when the #openAsMorphOn:[...] series of methods (which have been modified and seemed to be used when I tried it).
Possibly a LinkedList or other stack-like collection might be more appropriate for storing the Inspector's history than an everyday OrderedCollection.
Hope it helps someone, personally I like to jump around within a single Inspector rather than opening multiple Inspector windows to see the guts of an object.
|Attached Files||InspectorDiveInto.1.cs [^] (7,081 bytes) 12-16-07 11:41|
(0011556 - 59 - 59 - 59 - 59 - 59 - 59)
|I will have a look at it and try to integrate it. Thank you|
|12-16-07 11:41||Amos||New Issue|
|12-16-07 11:41||Amos||File Added: InspectorDiveInto.1.cs|
|12-17-07 12:24||Damien Cassou||Status||new => assigned|
|12-17-07 12:24||Damien Cassou||Assigned To||=> Damien Cassou|
|12-17-07 12:24||Damien Cassou||Note Added: 0011556|
|12-17-07 12:24||Damien Cassou||Status||assigned => acknowledged|
|12-17-07 12:25||Damien Cassou||Issue Monitored: Damien Cassou|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
39 total queries executed.|
29 unique queries executed.