The Trunk: ToolBuilder-Morphic-mt.117.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.117.mcz

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

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

Name: ToolBuilder-Morphic-mt.117
Author: mt
Time: 3 April 2015, 5:02:08.392 pm
UUID: 8f97b85b-0612-5e45-96e8-a98064d77946
Ancestors: ToolBuilder-Morphic-mt.116

The morphic tool builder now honors the reuse-windows preference because #open: will now return the actually opened window.

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

Item was changed:
  ----- Method: MorphicToolBuilder>>open: (in category 'opening') -----
  open: anObject
  "Build and open the object. Answer the widget opened."
  | morph |
  anObject isMorph
  ifTrue:[morph := anObject]
  ifFalse:[morph := self build: anObject].
  (morph isKindOf: MenuMorph)
  ifTrue:[morph popUpInWorld: World].
  (morph isKindOf: SystemWindow)
+ ifTrue:[morph := morph openInWorldExtent: morph extent]
- ifTrue:[morph openInWorldExtent: morph extent]
  ifFalse:[morph openInWorld].
  ^morph!