[Pkg] The Trunk: ToolBuilder-Kernel-dtl.66.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 25 01:08:44 UTC 2015


David T. Lewis uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-dtl.66.mcz

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

Name: ToolBuilder-Kernel-dtl.66
Author: dtl
Time: 20 March 2015, 4:00:13.461 pm
UUID: a396787d-a01a-40b3-8e2d-e1a91f6d3d3c
Ancestors: ToolBuilder-Kernel-mt.65

Remove toolBuilder instance variable from UIManager.

A UIManager knows what kind of ToolBuilder it should use, so it does not need to hold on to a single instance. Create ToolBuilder instances as required, and do not reuse a ToolBuilder instance after it has done its job. This prevents confusing accumulation of registered widgets in a single ToolBuilder instance

=============== Diff against ToolBuilder-Kernel-mt.65 ===============

Item was changed:
  Object subclass: #UIManager
+ 	instanceVariableNames: ''
- 	instanceVariableNames: 'toolBuilder'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'ToolBuilder-Kernel'!
  
  !UIManager commentStamp: 'dtl 5/2/2010 16:06' prior: 0!
  UIManager is a dispatcher for various user interface requests, such as menu and dialog interactions. An instance of UIManager is associated with each Project to implement the appropriate functions for Morphic, MVC or other user interfaces.!

Item was changed:
+ ----- Method: UIManager>>toolBuilder (in category 'builder') -----
- ----- Method: UIManager>>toolBuilder (in category 'accessing') -----
  toolBuilder
+ 	"Answer a ToolBuilder for this kind of UIManager"
+ 	^ self subclassResponsibility!
- 	^toolBuilder!



More information about the Packages mailing list