[squeak-dev] The Trunk: ToolBuilder-Morphic-mt.117.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 3 15:02:13 UTC 2015


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!



More information about the Squeak-dev mailing list