The Trunk: ST80-dtl.101.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ST80-dtl.101.mcz

commits-2
David T. Lewis uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.101.mcz

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

Name: ST80-dtl.101
Author: dtl
Time: 10 February 2010, 1:06:02.731 pm
UUID: 6617b421-cdc3-43ce-8686-d68c5eed0121
Ancestors: ST80-dtl.100

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 ST80-dtl.100 ===============

Item was changed:
  ----- Method: PluggableListView>>update: (in category 'updating') -----
  update: aSymbol
  "Refer to the comment in View|update:."
  aSymbol == getListSelector ifTrue:
  [self list: self getList.
  self displayView.
  self displaySelectionBox.
  ^self].
  aSymbol == getSelectionSelector ifTrue:
  [^ self moveSelectionBox: self getCurrentSelectionIndex].
+ aSymbol == #startNewBrowser ifTrue:
+ [(self setSelectionSelectorIs: #classListIndex:) ifTrue: [
+ "A SelectorBrowser is about to open a new Browser on a class"
+ self controller controlTerminate]]
  !