[squeak-dev] The Inbox: Tools-nice.304.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 31 20:13:37 UTC 2011

A new version of Tools was added to project The Inbox:

==================== Summary ====================

Name: Tools-nice.304
Author: nice
Time: 31 March 2011, 10:13:14.329 pm
UUID: 6046b00a-2861-4da3-9dc2-ab9ce2f41496
Ancestors: Tools-nice.303

remove some FakeClassPool and #failedDoit references parce qu'elles le valent bien.

=============== Diff against Tools-nice.303 ===============

Item was changed:
  ----- Method: Browser>>doItReceiver (in category 'accessing') -----
  	"This class's classPool has been jimmied to be the classPool of the class 
  	being browsed. A doIt in the code pane will let the user see the value of 
  	the class variables."
+ 	^ self selectedClass!
- 	^ self selectedClass ifNil: [FakeClassPool new]!

Item was changed:
  ----- Method: Inspector>>accept: (in category 'selecting') -----
  accept: aString 
  	| result |
  	result := self doItReceiver class evaluatorClass new
  				evaluate: (ReadStream on: aString)
  				in: self doItContext
  				to: self doItReceiver
  				notifying: nil  "fix this"
  				ifFail: [self changed: #flash.
  					^ false].
- 	result == #failedDoit ifTrue: [^ false].
  	self replaceSelectionValue: result.
  	self changed: #contents.
  	^ true!

Item was changed:
  ----- Method: MethodHolder>>doItReceiver (in category 'menu') -----
  	"If there is an instance associated with me, answer it, for true mapping of self.  If not, then do what other code-bearing tools do, viz. give access to the class vars."
+ 	^ self selectedClass!
- 	^ self selectedClass ifNil: [FakeClassPool new]!

More information about the Squeak-dev mailing list