The Trunk: ToolBuilder-Morphic-mt.156.mcz

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

The Trunk: ToolBuilder-Morphic-mt.156.mcz

commits-2
Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.156.mcz

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

Name: ToolBuilder-Morphic-mt.156
Author: mt
Time: 23 January 2016, 11:41:12.364398 am
UUID: e35cd3fa-7c53-4b6d-a989-867783958b05
Ancestors: ToolBuilder-Morphic-kfr.155

Fixes a regression in pluggable trees. Now models can again govern the behavior of double-selections. FileList, for example, uses it to refresh the list of files.

=============== Diff against ToolBuilder-Morphic-kfr.155 ===============

Item was changed:
  ----- Method: PluggableTreeMorph>>setSelectedMorph: (in category 'selection') -----
  setSelectedMorph: aMorph
 
- "Avoid unnecessary model callbacks."
- self selectedMorph == aMorph ifTrue: [^ self].
-
  selectedWrapper := aMorph complexContents.
 
  "Let the model now about the selected object, not wrapper."
  setSelectionSelector ifNotNil: [:symbol |
  model
  perform: symbol
  with: (selectedWrapper ifNotNil: [:w | w item])].
 
  "The model may not have access to the parent object in terms of this tree structure."
  setSelectedParentSelector ifNotNil: [:symbol |
  model
  perform: symbol
  with: (selectedWrapper ifNotNil: [:w | w parent ifNotNil: [:pw | pw item]])].!