[Newbies] Omnibrowser help

David Röthlisberger squeak at c3com.ch
Tue Mar 18 20:49:22 UTC 2008

 > 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
 > ^true.! !

Change this to read:

    ^(target isKindOf: OBClassNode) and: [requestor isSelected: target]


More information about the Beginners mailing list