Re: [Newbies] Omnibrowser help

2008-03-18 Thread David Röthlisberger
Are there some tips/documentation somewhere on getting the most out of the OmniBrowser? 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 The MulitpleSelection browser looks

Re: [Newbies] Omnibrowser help

2008-03-18 Thread Lukas Renggli
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

Re: [Newbies] Omnibrowser help

2008-03-18 Thread Rob Rothwell
On Tue, Mar 18, 2008 at 12:48 PM, Lukas Renggli [EMAIL PROTECTED] wrote: See OB-Web. Thank you both. In the Squeak Universe, it always seems best to ask before you start. Someone else has usually been there first... ! Rob ___ Beginners mailing

Re: [Newbies] Omnibrowser help

2008-03-18 Thread Rob Rothwell
On Tue, Mar 18, 2008 at 10:59 AM, David Röthlisberger [EMAIL PROTECTED] wrote: 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.

Re: [Newbies] Omnibrowser help

2008-03-18 Thread David Röthlisberger
When I do this, I get TWO menu items, and if no class is selected in the class pane, I get one all by itself. I just copied the normal new class template code to execute as follows: !OBCmdNewWebAppTemplate methodsFor: 'as yet unclassified' stamp: 'rjriv 3/18/2008 15:43'! isActive

Re: [Newbies] Code Packaging Questions

2008-03-18 Thread Matthew Fulmer
On Tue, Mar 18, 2008 at 10:33:55AM -0400, Rob Rothwell wrote: Can you package code with Monticello that needs a preamble and/or postscript, or do you have to use a changeset for that? Can you tell a package what other packages it needs to load and in what order? As an example, I

Re: [Newbies] Omnibrowser help

2008-03-18 Thread Rob Rothwell
On Tue, Mar 18, 2008 at 4:49 PM, David Röthlisberger [EMAIL PROTECTED] wrote: Change this to read: isActive ^(target isKindOf: OBClassNode) and: [requestor isSelected: target] Thanks. That's why I'm still asking beginner questions...I don't know why my brain didn't even go check that

Re: [Newbies] Code Packaging Questions

2008-03-18 Thread Rob Rothwell
On Tue, Mar 18, 2008 at 6:18 PM, Matthew Fulmer [EMAIL PROTECTED] wrote: Monticello runs the class-side initialize method of any new class it loads. That is where things like service registration, constant initialization, and other such one-time setup is done. See MCReader class#initialize

Re: [Newbies] Code Packaging Questions

2008-03-18 Thread Rob Rothwell
On Tue, Mar 18, 2008 at 9:54 PM, Rob Rothwell [EMAIL PROTECTED] wrote: On Tue, Mar 18, 2008 at 6:18 PM, Matthew Fulmer [EMAIL PROTECTED] wrote: See MCReader class#initialize for an example; this sets up MCReader as the drop-handler when .mcz files are dragged into the image. Although

Re: [Newbies] Code Packaging Questions

2008-03-18 Thread Rob Rothwell
On Tue, Mar 18, 2008 at 10:35 PM, Matthew Fulmer [EMAIL PROTECTED] wrote: Indeed. It is in MCVersionReader. Sorry No problem...thanks for the example! Rob ___ Beginners mailing list Beginners@lists.squeakfoundation.org