[Pkg] The Trunk: ToolBuilder-Morphic-mt.145.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 5 12:38:00 UTC 2015


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

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

Name: ToolBuilder-Morphic-mt.145
Author: mt
Time: 5 May 2015, 2:37:52.882 pm
UUID: 7beaed04-a52a-b843-ab62-1351a8d79d97
Ancestors: ToolBuilder-Morphic-mt.144

Give models/tools the chance to restyle dependent widgets (text fields) if needed.

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

Item was changed:
  ----- Method: PluggableTextMorphPlus>>hasUnacceptedEdits: (in category 'styling') -----
  hasUnacceptedEdits: aBoolean
  	"re-implemented to re-style the text iff aBoolean is true"
  	 
  	super hasUnacceptedEdits: aBoolean.
+ 	aBoolean ifTrue: [ self updateStyle ].!
- 	(aBoolean and: [self okToStyle])
- 		ifTrue: [ styler styleInBackgroundProcess: textMorph contents]!

Item was changed:
  ----- Method: PluggableTextMorphPlus>>update: (in category 'updating') -----
  update: what
  	what ifNil:[^self].
  	what == getColorSelector ifTrue:[self color: (model perform: getColorSelector)].
+ 	what == #styleChanged ifTrue: [self updateStyle].
+ 	
  	^super update: what!

Item was added:
+ ----- Method: PluggableTextMorphPlus>>updateStyle (in category 'styling') -----
+ updateStyle
+ 
+ 	self okToStyle
+ 		ifTrue: [styler styleInBackgroundProcess: textMorph contents].!



More information about the Packages mailing list