[Pkg] The Trunk: ToolBuilder-MVC-mt.42.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 3 13:14:44 UTC 2015


Marcel Taeumel uploaded a new version of ToolBuilder-MVC to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-MVC-mt.42.mcz

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

Name: ToolBuilder-MVC-mt.42
Author: mt
Time: 3 May 2015, 3:14:38.18 pm
UUID: f1b2eb4e-2140-c445-a31f-c4c95ad44334
Ancestors: ToolBuilder-MVC-mt.41

A simple implementation for spacers.

=============== Diff against ToolBuilder-MVC-mt.41 ===============

Item was added:
+ ----- Method: MVCToolBuilder>>buildPluggableSpacer: (in category 'widgets required') -----
+ buildPluggableSpacer: aSpec
+ 	
+ 	| widget |
+ 	widget := View new.
+ 	self register: widget id: aSpec name.
+ 
+ 	widget borderWidth: 0.
+ 	widget backgroundColor: aSpec color.
+ 	widget window: (widget window topLeft extent: aSpec extent).
+ 	
+ 	self setFrame: aSpec frame in: widget.
+ 
+ 	parent ifNotNil:[parent addSubView: widget].
+ 	^widget!



More information about the Packages mailing list