So...where is Omnibrowser?
I have vanilla Squeak 3.9 and a bunch of Squeak-devs that say it's installed. How do I open one? It's not the default, is it? And how do I make traits visible? Thanks! _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
On mine, open browser prompts as to what kind of browser as first use.
I believe choosing Open, Image Browser goes to direct to Omni. The code to open is: OBSystemBrowser open See class side for other variants. What I would love is a way to stay in Omni. Lots of tools still open non-Omni tools. On 8/27/07, Blake <[hidden email]> wrote: > So...where is Omnibrowser? > > I have vanilla Squeak 3.9 and a bunch of Squeak-devs that say it's > installed. How do I open one? It's not the default, is it? > > And how do I make traits visible? > > Thanks! > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners > Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Don't know how to make traits visible
On 8/28/07, David Mitchell <[hidden email]> wrote: > On mine, open browser prompts as to what kind of browser as first use. > > I believe choosing Open, Image Browser goes to direct to Omni. > > The code to open is: > > OBSystemBrowser open > > See class side for other variants. > > What I would love is a way to stay in Omni. Lots of tools still open > non-Omni tools. > > On 8/27/07, Blake <[hidden email]> wrote: > > So...where is Omnibrowser? > > > > I have vanilla Squeak 3.9 and a bunch of Squeak-devs that say it's > > installed. How do I open one? It's not the default, is it? > > > > And how do I make traits visible? > > > > Thanks! > > _______________________________________________ > > Beginners mailing list > > [hidden email] > > http://lists.squeakfoundation.org/mailman/listinfo/beginners > > > Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by David Mitchell-10
On Tue, 28 Aug 2007 10:25:02 -0700, David Mitchell
<[hidden email]> wrote: > On mine, open browser prompts as to what kind of browser as first use. > > I believe choosing Open, Image Browser goes to direct to Omni. > > The code to open is: > > OBSystemBrowser open > > See class side for other variants. > > What I would love is a way to stay in Omni. Lots of tools still open > non-Omni tools. Thanks! So this thing called "System Browser" is the OmniBrowser? Wow, I don't see any indication of that anywhere, even if I inspect the morph! Can the OmniBrowser create accessors? I don't see any way to do so (other than manually, of course). _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Well, Omni is a framework for writing browser like tools. So there is
an Omni System Browser and an Omni Debugger and an Omni Process Browser. None of them tell the end user that they were written with Omni. If you inspect the morph, look at its model, it is an OBSystemBrowser. Just learned that the menu in the title bar of the system tools has a Choose new default browser option. The Omni System Browser does have the code to generate accessors. It is in the command ORCmdAccessorInstVarRefactoring. I don't see how to activate it in the menus. I believe it is a bug. (I know I was using this refactoring in the last month via a menu). I did see the method cmdInstVarRefactroings (note the misspelling). It doesn't seem like it is sent in my image. On 8/28/07, Blake <[hidden email]> wrote: > On Tue, 28 Aug 2007 10:25:02 -0700, David Mitchell > <[hidden email]> wrote: > > > On mine, open browser prompts as to what kind of browser as first use. > > > > I believe choosing Open, Image Browser goes to direct to Omni. > > > > The code to open is: > > > > OBSystemBrowser open > > > > See class side for other variants. > > > > What I would love is a way to stay in Omni. Lots of tools still open > > non-Omni tools. > > Thanks! > > So this thing called "System Browser" is the OmniBrowser? Wow, I don't see > any indication of that anywhere, even if I inspect the morph! > > Can the OmniBrowser create accessors? I don't see any way to do so (other > than manually, of course). > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners > Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
On Wed, 29 Aug 2007 08:24:38 -0700, David Mitchell
<[hidden email]> wrote: > Well, Omni is a framework for writing browser like tools. So there is > an Omni System Browser and an Omni Debugger and an Omni Process > Browser. I suspected something like that. > I did see the method cmdInstVarRefactroings (note the misspelling). It > doesn't seem like it is sent in my image. So, we need a patch? ===Blake=== _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
> > I did see the method cmdInstVarRefactroings (note the misspelling). It
> > doesn't seem like it is sent in my image. > > So, we need a patch? Well, the misspelling is of course a mistake of mine. OB sends all the messages starting with #cmd to collect possible commands for menus. You don't see any senders because evaluation is done trough reflection (#allSelectors, #perform:). Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
But I think we are having trouble finding where on the GUI the
reflection tools are. I know I used to see them when I right-clicked on a instance variable. Right now, I can't find any of the refactorings in the GUI. On 8/30/07, Lukas Renggli <[hidden email]> wrote: > > > I did see the method cmdInstVarRefactroings (note the misspelling). It > > > doesn't seem like it is sent in my image. > > > > So, we need a patch? > > Well, the misspelling is of course a mistake of mine. OB sends all the > messages starting with #cmd to collect possible commands for menus. > You don't see any senders because evaluation is done trough reflection > (#allSelectors, #perform:). > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners > Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
OK, I see refactorings all over now.
To create an accessor, click the variables button in the Omni System Browser. >From the variables window right-click on a variable name and choose "accessors for instvar". "Protect instvar" is another refactoring that will create accessors and rewrite any direct variable access to boot. On 8/30/07, David Mitchell <[hidden email]> wrote: > But I think we are having trouble finding where on the GUI the > reflection tools are. > > I know I used to see them when I right-clicked on a instance variable. > > Right now, I can't find any of the refactorings in the GUI. > > On 8/30/07, Lukas Renggli <[hidden email]> wrote: > > > > I did see the method cmdInstVarRefactroings (note the misspelling). It > > > > doesn't seem like it is sent in my image. > > > > > > So, we need a patch? > > > > Well, the misspelling is of course a mistake of mine. OB sends all the > > messages starting with #cmd to collect possible commands for menus. > > You don't see any senders because evaluation is done trough reflection > > (#allSelectors, #perform:). > > > > Lukas > > > > -- > > Lukas Renggli > > http://www.lukas-renggli.ch > > _______________________________________________ > > Beginners mailing list > > [hidden email] > > http://lists.squeakfoundation.org/mailman/listinfo/beginners > > > Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Free forum by Nabble | Edit this page |