I originally tried to provide a different systemOrganizer to the borwser. However, wehen compiling a new method the current systemOrganizer was not modified. I browsed a bit around without really finding what I wanted.
Does anybody knows if SystemOrganization is directly? Apparently I also made a confusion between SystemOrganizer and Smalltalk.
I was wondering why I should work in a different namespace, environment (Smalltalk) and not in a different SystemOrganizer?
I'm certainly worng but if somebody can say it this would help me.
on 4/25/01 6:27 AM, Les Tyrrell at tyrrell@canis.uiuc.edu wrote:
----- Original Message ----- From: Ned Konz ned@bike-nomad.com To: squeak@cs.uiuc.edu Sent: Tuesday, April 24, 2001 7:20 PM Subject: Re: Fog Browser: Limiting or focusing browsers
On Tuesday 24 April 2001 15:08, Les Tyrrell wrote:
If the regular Browser were consistent in always asking for "self environment" or such instead of "Smalltalk", then this would be trivial to do.
And this is also needed (for instance) for Pocket Smalltalk and other projects that use the standard browsers with considerably different environments.
Yes- this is how Oasis is able to use VW 3.0's regular Browser, although with a few minor modifications to it ( an "environment" instance variable had to be added, and accessors adjusted accordingly- other than that, the rest of the thing was ready to go as it was ). On the other hand, pervasive use not only of "Smalltalk" but also an insistence on discarding classes given to it in favor of retaining only the symbol representing their name, which it would then proceed to look up in Smalltalk, is why the refactoring tools required tremendous revision to work in a similar manner.
I believe Eric Arseneau tracked down a number of references to Smalltalk that should have been "self class environment" or similar. However, I don't think these ever got fixed (though he posted them, as I recall).
If the refactoring tools are running in Squeak, this should only take a few moments to do. Oh, wait- I forgot you probably don't have the kind of scoping control that I do. I suppose that I could bring those browsers into Oasis and do the refactoring there.
- les
On Monday 30 April 2001 01:56, Stephane Ducasse wrote:
Does anybody knows if SystemOrganization is directly? Apparently I also made a confusion between SystemOrganizer and Smalltalk.
SystemOrganizer just maps classes to categories.
You want Environment or SystemDictionary (map global names to classes and other objects).
I was wondering why I should work in a different namespace, environment (Smalltalk) and not in a different SystemOrganizer?
Changing SystemOrganizers won't help you.
Hi Ned
Does anybody knows if SystemOrganization is directly? Apparently I also made a confusion between SystemOrganizer and Smalltalk.
SystemOrganizer just maps classes to categories.
Yes I saw. My intention was not to change SystemOrganizers but as I saw that a browser was using a SystemOrganizer I tried to provide it another one to see what was happening.
Apparently the current browser does not work on a specific environment but directly on Smalltalk.
Conceptually I still do not see why a browser should work on a different namespace because all my classes can be in Smalltalk and I still would like to see just a subset of them. Then later I can what to see everything then later filter again some of them.
Can you comment on that ? Is it my understanding that is wrong or just the way the normal browser works that forces us to us environment instead of systemOrganizer? There is something that I missed.
You want Environment or SystemDictionary (map global names to classes and other objects).
I was wondering why I should work in a different namespace, environment (Smalltalk) and not in a different SystemOrganizer?
Changing SystemOrganizers won't help you.
squeak-dev@lists.squeakfoundation.org