[squeak-dev] Broken menu in explorer

karl ramberg karlramberg at gmail.com
Thu May 10 19:19:58 UTC 2018


I think we can remove 'browse class' from both Inspector and ObjectExplorer
if they just do the same thing as 'browse full'

And we should probably stick with one way of activating features like this.
I got really confused when I looked at the different approaches.

Best,
Karl

On Thu, May 10, 2018 at 7:26 PM, tim Rowledge <tim at rowledge.org> wrote:

> If you look in the code for ObjectExplorer (which is not a terribly
> pleasant experience) you can find implementations for #browseFull,
> #classHierarchy & #browseFullProtocol but not #browseClass
>
> Just within the three methods actually there we have three totally
> different ways of opening a new browser; via ToolSet, via systemNavigation
> and by direct testing of Smalltalk isMorphic. Sigh. Nice thing to clean up
> for a simple job.
>
> The practical problem is that ToolSet appears to have no access to make a
> single-class browser (which we do have, Browser newOnClass: works perfectly
> well) and in any case ToolSet goes via yet another damn AppRegistry
> (SystemBrowser). So we'd have to add methods to ObjectExplorer, ToolSet,
> SystemBrowser and probably another dozen currently hidden places. But in
> principle, implement ObjectExplorer>browseClass and ToolSet>
> browseSomethingOrOtherButNotClassBecauseThatIsAlreadyMisusedForBrowseFull
> and SystemBrowser>somethingOrOther
>
> Or delete it from the ObejctExplorer menu.
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful random insult:- Overdue for deincarnation.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180510/52a1517d/attachment.html>


More information about the Squeak-dev mailing list