[squeak-dev] The Trunk: Tools-dtl.177.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Feb 10 18:07:21 UTC 2010

David T. Lewis uploaded a new version of Tools to project The Trunk:

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

Name: Tools-dtl.177
Author: dtl
Time: 10 February 2010, 1:06:42.358 pm
UUID: 0f0d6719-4304-4014-b410-d0cf8b212ee5
Ancestors: Tools-dtl.176

Fix SelectorBrowser>>classListIndex: to use #changed: #update: to notify MVC views that control should be terminated prior to opening a new browser. Original implemention polled dependents with #isKIndOf: and had explicit dependency on MVC PluggableListView.

=============== Diff against Tools-dtl.176 ===============

Item was changed:
  ----- Method: SelectorBrowser>>classListIndex: (in category 'as yet unclassified') -----
  classListIndex: anInteger
  	classListIndex := anInteger.
  	classListIndex > 0 ifTrue:
+ 		[self changed: #startNewBrowser. "MVC view will terminate control to prepare for new browser"
- 		[self dependents do:
- 			[:dep | ((dep isKindOf: PluggableListView) and:
- 				[dep setSelectionSelectorIs: #classListIndex:])
- 					ifTrue: [dep controller controlTerminate]].
  		Browser fullOnClass: self selectedClass selector: self selectedMessageName.
  		"classListIndex := 0"]

More information about the Squeak-dev mailing list