SystemBrowser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SystemBrowser

Steve Alan Waring
Hi,

In the PackageBrowser/Resources Pane, the "Browse" command in the context
menu raises a PackageBrowserShell dnu #browseResource.

The changes made to the System Browser are great! The filtered Class
Hierarchy is a great way to see the classes in a set of packages. Why keep
the Class List?

I am seeing a problem where the selection in the Class Hierarchy is not
being retained when the package selection changes. (For example, in the
Class Hierarchy select the "Behavior" class and switch between the
"Object-Arts" and "Dolphin" folders).

I made a quick fix (not sure if there are side-effects) by adding a guard
clause

   PackagedClassSelector>>updateClasses
   self packages isEmpty ifTrue: [^nil].
   .
   .

Unrelated to this problem, I also appended to this method:

   PackagedClassSelector>>updateClasses
   .
   .
   classesPresenter expand: Object

I am finding this useful when looking through different selections of
packages.

Thanks,

Steve Waring