[etoys-dev] Etoys Inbox: System-Richo.24.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 20 09:57:46 EDT 2010

A new version of System was added to project Etoys Inbox:

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

Name: System-Richo.24
Author: Richo
Time: 20 July 2010, 10:56:31 am
UUID: f8a84c16-a5ef-d046-a5b5-1268e025f9a4
Ancestors: System-bf.23

* This commit is related to Morphic-Richo.30.
I Added a ".morph" external drop handler. The old behavior asked if you want to load as a project or as a morph. And it didn't work quite well.

=============== Diff against System-bf.23 ===============

Item was added:
+ ----- Method: ExternalDropHandler class>>defaultMorphHandler (in category 'private') -----
+ defaultMorphHandler
+ 	^ ExternalDropHandler
+ 		type: nil
+ 		extension: 'morph'
+ 		action: [:stream | (Morph fromStreamedRepresentation: stream contents) openInWorld]!

Item was changed:
  ----- Method: ExternalDropHandler class>>initialize (in category 'class initialization') -----
  	"ExternalDropHandler initialize"
  	self resetRegisteredHandlers.
  		registerHandler: self defaultImageHandler;
  		registerHandler: self defaultGZipHandler;
  		registerHandler: self defaultProjectHandler;
+ 		registerHandler: self defaultMidiHandler;
+ 		registerHandler: self defaultMorphHandler.!
- 		registerHandler: self defaultMidiHandler.!

More information about the etoys-dev mailing list