[Newbies] Omnibrowser help

Rob Rothwell r.j.rothwell at gmail.com
Tue Mar 18 15:41:41 UTC 2008


On Tue, Mar 18, 2008 at 10:59 AM, David Röthlisberger <squeak at c3com.ch>
wrote:

> I suggest to have a look at this paper, it is dedicated to user and
> developers of
> OmniBrowser:
> http://www.iam.unibe.ch/~scg/Archive/Papers/Berg07cOmnibrowser.pdf
>

Thanks...some "light reading" for a Sunday afternoon!  How hard do you think
it would be to use the OmniBrowser model to hook up to non-morphic views?  I
am exploring the idea of a web-based design layout tool for web development
(using Aida), and the next logical step is to create a browser in a
prototype-ui window or something that would let you wire your model to the
design on the page.


> I'm actually right now working on a documentation for this browser, it
> should be
> finished soon.


You know, this is a great time to be new to Squeak.  There is an awful lot
of good work going on out there.  I always thought I was a decent
programmer, just not world class!  But, as in the example above, much of the
"heavy lifting" has been done already, and the problem I describe may be
just hard enough to be interesting to me, but actually doable thanks to the
work of others!


> First, create a subclass of OBCommand. Then you need to implement at least
> the
> methods #execute, #label and #isActive (have a look at eg.
> OBCmdNewClassTemplate).
> Finally, you can add a method called eg. 'cmdAIDATemplate' to
> OBCodeBrowser or a
> subclass of it. It is important that this method starts with 'cmd'. When
> you then
> start a new system browser, the command should be available (if #isActive
> answers
> true for the selected class).


Thanks for this.  It seems very modular and easy to extend (based on your
description)!  I'll give it a shot!

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080318/caf5f1b0/attachment.htm


More information about the Beginners mailing list