Comment in OB

Alexandre Bergel Alexandre.Bergel at cs.tcd.ie
Mon May 29 17:19:14 UTC 2006


Hi Colin,

One thing that I missed with OB was the displaying of comment when I  
select a class.

What do you think about a method:

OBClassDefinition>>comment
	^ self selectedClass notNil
		ifTrue: [
			String cr, String cr, String cr,'"',
			self selectedClass theNonMetaClass comment,
			String cr, '"']
		ifFalse: ['']
	
and

OBClassDefinition>>text
	^ template, self comment

It is a hack, but this is terribly useful...

I feel that it is currently not possible in OB to have a second pane  
when I select a class. The model needs to be extended I guess. This  
might be a very interesting feature. We might want to have a method  
OBMetaNode>>wantsSecondPane

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.cs.tcd.ie/Alexandre.Bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






More information about the Squeak-dev mailing list