Issue 3903 in pharo: Removing the Globals World, ActiveHand and ActiveEvent. As well as direct references to WorldState.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue 3903 in pharo: Removing the Globals World, ActiveHand and ActiveEvent. As well as direct references to WorldState.

pharo
Status: New
Owner: ----

New issue 3903 by [hidden email]: Removing the Globals World,  
ActiveHand and ActiveEvent. As well as direct references to WorldState.
http://code.google.com/p/pharo/issues/detail?id=3903

All the senders must go thru the default UIManager. There's no need for the  
globals anymore, since all UI related requests should go thru the UIManager  
now.

I will go thru all the uses and replace them with
UIManager default activeWorld
UIManager default activeHand
UIManager default activeEvent

I believe this will make a lot easier to  install a different UIManager, or  
even the NonInteractive.

My main motivation is to simplify the adoption of SimpleMorphicUIManager,  
in order to install/uninstall Morphic or SimpleMorphic.

Also, to remove Globals is always a good design.