Comment #1 on issue 3545 by [email protected]: FEATURE: Multiple Worlds
http://code.google.com/p/pharo/issues/detail?id=3545

Fix in inbox: SLICE-Issue-3545-FEATURE-Multiple-Worlds-SeanDeNigris.1

Added multiple world support as discussed @ http://forum.world.st/Multiple-Worlds-was-Re-Can-I-use-Projects-in-Pharo-td2240869.html Cleaned up changeset from that post and PasteUpMorph (e.g. removed references to project)

Add a world:
WorldManager instance createOrSwitchToWorldNamed: 'JustAnotherWorld'.

Return to the default world:
WorldManager instance createOrSwitchToWorldNamed: 'Pharo'.

This may need to be cleaned up e.g. should worlds be named, or numbered (like Mac Spaces)? Either way, maybe that attribute (or both) should be encapsulated in PasteUpMorph. But it's working, so we might as well play with it.

Also, there were methods with no senders in the image (WorldManager>>switchToWorldNamed:, #createWorldNamed:, #switchToWorldNamed:, switchToWorldNamed:ifAbsent:, #worlds). I'm not sure if these methods were intended to be part of a user API or if they should be removed.

Sean


Reply via email to