[squeak-dev] The Trunk: Morphic-tfel.1310.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 23 14:59:48 UTC 2016

Tim Felgentreff uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-tfel.1310
Author: tfel
Time: 23 September 2016, 4:59:03.672724 pm
UUID: bac48a9f-07c3-2640-9923-a1be55a78df0
Ancestors: Morphic-tfel.1309

deprecate modalWindow property usage on PasteUpMorphs, that was only used in eToys related code

=============== Diff against Morphic-tfel.1309 ===============

Item was removed:
- ----- Method: Morph>>becomeModal (in category 'user interface') -----
- becomeModal
- 	self currentWorld
- 		ifNotNil: [self currentWorld modalWindow: self]!

Item was changed:
  ----- Method: PasteUpMorph>>assureNotPaintingElse: (in category 'world state') -----
  assureNotPaintingElse: aBlock
  	"If painting is already underway in the receiver, put up an informer to that effect and evalute aBlock"
- 	self removeModalWindow.
  	self sketchEditorOrNil ifNotNil:
  		[self inform: 'Sorry, you can only paint
  one object at a time' translated.
  		Cursor normal show.
  		^ aBlock value]

Item was removed:
- ----- Method: PasteUpMorph>>modalWindow: (in category 'accessing') -----
- modalWindow: aMorph 
- 	(self valueOfProperty: #modalWindow)
- 		ifNotNil: [:morph | morph doCancel].
- 	self setProperty: #modalWindow toValue: aMorph.
- 	aMorph
- 		ifNotNil: [self
- 				when: #aboutToLeaveWorld
- 				send: #removeModalWindow
- 				to: self]!

Item was changed:
  ----- Method: PasteUpMorph>>releaseCachedState (in category 'caching') -----
  	super releaseCachedState.
- 	self removeModalWindow.
  	presenter ifNotNil:[presenter flushPlayerListCache].
  	self isWorldMorph ifTrue:[self cleanseStepList].!

Item was removed:
- ----- Method: PasteUpMorph>>removeModalWindow (in category 'accessing') -----
- removeModalWindow
- 	self modalWindow: nil!

More information about the Squeak-dev mailing list