Login  Register

Re: Programmatic Scoped Browsing

Posted by hernanmd on Nov 24, 2013; 4:52pm
URL: https://forum.world.st/Programmatic-Scoped-Browsing-tp4724820p4724823.html

Hi Sean,

I do this for browsing BioSmalltalk classes with Nautilus

| pkgs env |

pkgs := RPackageOrganizer default packages select: [ :each | each
packageName beginsWith: 'Bio' ].
env := RBBrowserEnvironment new forPackages: pkgs.
env label: 'BioSmalltalk'.
Nautilus openInEnvironment: env


Cheers,

Hernán

El 24/11/2013 13:30, Sean P. DeNigris escribió:

> I tried:
>      SystemNavigation new
> environment: RPackage allInstances third asEnvironment;
> browseAllSelect: aBlock
>
> but it still searched the whole image. I looked for examples in the image of
> manually building an environment/SystemDictionary, but didn't find anything
> helpful.
>
> Thanks.
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/Programmatic-Scoped-Browsing-tp4724820.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>