[enh] Browser has optional variables pane (like Smalltalk/V)

Alejandro F. Reimondo aleReimondo at sugarweb.com
Tue Feb 22 00:41:30 UTC 2000


It is convenient to add options for selected variable names
 like create accessors & create deferred initialization for
 generating code. e.g.

foo
   " Generated - Returns the foo of the receiver."
   foo isNil ifTrue: [ self initializeFoo ]
   ^foo

initializeFoo
  " Generated, Private, Initialization - Initializes the receiver's foo. "
   self foo: (self error: '----missing initialization code---')

foo: anObject
  " Generated - Set the receiver's foo. "
  foo := anObject

hope this helps,
Ale.

----------
De: 	Stephan B. Wessels[SMTP:stephan.wessels at sdrc.com]
Responder a: 	squeak at cs.uiuc.edu
Enviado el: 	Domingo 20 de Febrero de 2000 14:07
Para: 	Squeak Mailing List
Asunto: 	[enh] Browser has optional variables pane (like Smalltalk/V)

<<Archivo: browser-enhancements.20Feb0412.cs>>
Install the following change set (tested with v2.8a) and the browsers in Morphic
and MVC will have a variables pane.

Preferecnes to control if the variables pane is turned on is provided as well as
an option for showing inherited variables.

This change set is "clean" and has no dependencies on my other skins or
backdrops work.

  - Steve







More information about the Squeak-dev mailing list