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]])].!
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]])].!
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.132.mcz
==================== Summary ====================
Name: EToys-mt.132
Author: mt
Time: 22 January 2016, 2:28:46.325541 pm
UUID: f70ffb37-684a-4e38-b662-cc8ce9563c40
Ancestors: EToys-cmm.131
Use tool set to spawn hierarchy browser.
=============== Diff against EToys-cmm.131 ===============
Item was changed:
----- Method: StackMorph>>browseCardClass (in category 'card access') -----
browseCardClass
"Browse the class of the current card"
| suffix |
suffix := self currentCard class name numericSuffix.
+ ToolSet browseHierarchy: self currentCard class selector: nil.
- HierarchyBrowser newFor: self currentCard class labeled: 'Background ', suffix asString
!
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.132.mcz
==================== Summary ====================
Name: EToys-mt.132
Author: mt
Time: 22 January 2016, 2:28:46.325541 pm
UUID: f70ffb37-684a-4e38-b662-cc8ce9563c40
Ancestors: EToys-cmm.131
Use tool set to spawn hierarchy browser.
=============== Diff against EToys-cmm.131 ===============
Item was changed:
----- Method: StackMorph>>browseCardClass (in category 'card access') -----
browseCardClass
"Browse the class of the current card"
| suffix |
suffix := self currentCard class name numericSuffix.
+ ToolSet browseHierarchy: self currentCard class selector: nil.
- HierarchyBrowser newFor: self currentCard class labeled: 'Background ', suffix asString
!