logo       

Re: Omnibrowser help: msg#00125

lang.smalltalk.squeak.beginners

Subject: Re: Omnibrowser help


> 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:

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


David


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise