The Inbox: ToolBuilder-Morphic-ct.252.mcz

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

The Inbox: ToolBuilder-Morphic-ct.252.mcz

commits-2
Christoph Thiede uploaded a new version of ToolBuilder-Morphic to project The Inbox:
http://source.squeak.org/inbox/ToolBuilder-Morphic-ct.252.mcz

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

Name: ToolBuilder-Morphic-ct.252
Author: ct
Time: 20 January 2020, 8:57:46.404972 pm
UUID: 2b311bcc-31ca-dc4d-8ebf-7a1cad07624e
Ancestors: ToolBuilder-Morphic-mt.251

Implement "browse/debug button action" properly on PluggabeButtonMorphPlus

=============== Diff against ToolBuilder-Morphic-mt.251 ===============

Item was added:
+ ----- Method: PluggableButtonMorphPlus>>browseImplementationOfActionSelector (in category 'debug menu') -----
+ browseImplementationOfActionSelector
+
+ action ifNotNil: [
+ ^ action outerContext method browse].
+ ^ super browseImplementationOfActionSelector!

Item was added:
+ ----- Method: PluggableButtonMorphPlus>>debugAction (in category 'debug menu') -----
+ debugAction
+
+ action ifNil: [^ super debugAction].
+ (Process
+ forBlock: [self performAction]
+ runUntil: [:context | context closure = action])
+ debugWithTitle: ('Debug button action "{1}" in model "{2}"' format: {self label. self target printString}).!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: ToolBuilder-Morphic-ct.252.mcz

Christoph Thiede

And still, I would desire to deduplicate all these #debugAction implementations ...


Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Montag, 20. Januar 2020 20:57:49
An: [hidden email]
Betreff: [squeak-dev] The Inbox: ToolBuilder-Morphic-ct.252.mcz
 
Christoph Thiede uploaded a new version of ToolBuilder-Morphic to project The Inbox:
http://source.squeak.org/inbox/ToolBuilder-Morphic-ct.252.mcz

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

Name: ToolBuilder-Morphic-ct.252
Author: ct
Time: 20 January 2020, 8:57:46.404972 pm
UUID: 2b311bcc-31ca-dc4d-8ebf-7a1cad07624e
Ancestors: ToolBuilder-Morphic-mt.251

Implement "browse/debug button action" properly on PluggabeButtonMorphPlus

=============== Diff against ToolBuilder-Morphic-mt.251 ===============

Item was added:
+ ----- Method: PluggableButtonMorphPlus>>browseImplementationOfActionSelector (in category 'debug menu') -----
+ browseImplementationOfActionSelector
+
+        action ifNotNil: [
+                ^ action outerContext method browse].
+        ^ super browseImplementationOfActionSelector!

Item was added:
+ ----- Method: PluggableButtonMorphPlus>>debugAction (in category 'debug menu') -----
+ debugAction
+
+        action ifNil: [^ super debugAction].
+        (Process
+                forBlock: [self performAction]
+                runUntil: [:context | context closure = action])
+                        debugWithTitle: ('Debug button action "{1}" in model "{2}"' format: {self label. self target printString}).!




Carpe Squeak!