The Trunk: Morphic-mt.1660.mcz

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

The Trunk: Morphic-mt.1660.mcz

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

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

Name: Morphic-mt.1660
Author: mt
Time: 19 May 2020, 4:16:54.978992 pm
UUID: 5627ad28-e67a-1c46-b9a0-672878e35a2f
Ancestors: Morphic-mt.1659

Make ObjectExplorer more robust against mistakes in #explorerContents. Allow renaming of nodes so that specialized #explorerContents can denote their share of fields visually in the explorer.

=============== Diff against Morphic-mt.1659 ===============

Item was added:
+ ----- Method: ObjectExplorerWrapper class>>forError: (in category 'instance creation') -----
+ forError: message
+
+ ^ ObjectExplorerWrapper
+ with: message
+ name: '<error>' translated
+ model: nil!

Item was changed:
  ----- Method: ObjectExplorerWrapper>>contents (in category 'accessing') -----
  contents
 
+ ^ [self object explorerContents
- ^ self object explorerContents
  do: [:wrapper | wrapper parent: self];
+ yourself] ifError: [:msg | {self class forError: msg}]!
- yourself!

Item was added:
+ ----- Method: ObjectExplorerWrapper>>itemName: (in category 'accessing') -----
+ itemName: newName
+
+ self item key: newName.!