how to open a system browser on a environment?

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

how to open a system browser on a environment?

vonbecmann
hi, i used to open a system browser with an environment

i built the following environment

earleyEnvironment
| packageNames |
packageNames := OrderedCollection with: BaselineOfEarleyParser package packageName.
packageNames addAll: (BaselineOfEarleyParser project version packages collect: [ :each | each name ]).
^ (RBBrowserEnvironment new forPackageNames: packageNames)
label: 'Earley Parser Environment';
yourself

and then i opent the system browser with it
"protocol: environment"
openBrowserInEarleyEnvironment
^ (Smalltalk tools browser browsedEnvironment: self earleyEnvironment) open

now, i dont know how to do it with the new browser.
any hints? suggestions?

thanks.


--
Bernardo E.C.

Sent from a cheap desktop computer in South America.
Reply | Threaded
Open this post in threaded view
|

Re: how to open a system browser on a environment?

HilaireFernandes
On DrGeo based on P7, I do this:

Smalltalk tools browser openOnClass: DrGeoSketch

Hope it help.

Hilaire

--
Dr. Geo
http://drgeo.eu



Reply | Threaded
Open this post in threaded view
|

Re: how to open a system browser on a environment?

vonbecmann
thanks, but nop. (i downloaded drgeo and tested that expression)
i want to open the system browser with my project's packages, only that. 
thanks again.


On Thu, Aug 29, 2019 at 9:16 AM Hilaire <[hidden email]> wrote:
On DrGeo based on P7, I do this:

Smalltalk tools browser openOnClass: DrGeoSketch

Hope it help.

Hilaire

--
Dr. Geo
http://drgeo.eu





--
Bernardo E.C.

Sent from a cheap desktop computer in South America.
Reply | Threaded
Open this post in threaded view
|

Re: how to open a system browser on a environment?

Denis Kudriashov
Hi Bernardo.

RBEnvironment is not supported in Calypso. But you can scope browser to the set of packages:

ClyFullBrowser openWithState: [:browser | 
           browser switchToPackageScopeOf: {Announcer package. Array package}]

It will keep given scope in following navigation from opened browser.  for example try open senders from the browser and then spawn full browser from one of items.

пт, 30 авг. 2019 г. в 01:02, Bernardo Ezequiel Contreras <[hidden email]>:
thanks, but nop. (i downloaded drgeo and tested that expression)
i want to open the system browser with my project's packages, only that. 
thanks again.


On Thu, Aug 29, 2019 at 9:16 AM Hilaire <[hidden email]> wrote:
On DrGeo based on P7, I do this:

Smalltalk tools browser openOnClass: DrGeoSketch

Hope it help.

Hilaire

--
Dr. Geo
http://drgeo.eu





--
Bernardo E.C.

Sent from a cheap desktop computer in South America.