Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-22 Thread Guillermo Polito
On Wed, Mar 21, 2012 at 2:08 PM, Igor Stasenko siguc...@gmail.com wrote: On 21 March 2012 15:25, Guillermo Polito guillermopol...@gmail.com wrote: So, If I have an image with no GUI, which UIManager should I install, how and when? Because at image startup I can't use a MorphicUIManager

Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-21 Thread Stéphane Ducasse
we should add that to the class comment. and method comment. can somebody open a ticket? Stef On Mar 21, 2012, at 5:07 AM, Igor Stasenko wrote: the logic there was to set a non-interactive ui manager for headless sessions only , and then restore back a previous one (whatever it is), once

Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-21 Thread Camillo Bruni
indeed the non-interactive one keeps the previous version alive in the instvar... I just copied the existing implementation (without much motivation). Bit for simplicity's sake we should simply instantiate every time the proper ui manager, that would simplify these ugly methods quite a bit.

Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-21 Thread Guillermo Polito
So, If I have an image with no GUI, which UIManager should I install, how and when? Because at image startup I can't use a MorphicUIManager if I don't have it loaded into the image :). On Wed, Mar 21, 2012 at 8:00 AM, Camillo Bruni camillobr...@gmail.comwrote: indeed the non-interactive one

Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-21 Thread Igor Stasenko
On 21 March 2012 15:25, Guillermo Polito guillermopol...@gmail.com wrote: So,  If I have an image with no GUI, which UIManager should I install, how and when?  Because at image startup I can't use a MorphicUIManager if I don't have it loaded into the image :). Commanline ui manager? or just

[Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-20 Thread Guillermo Polito
Hi, I was doing some hacking, and playing with NonInteractiveUIManager. And it puzzled me that I realized that it has an inst var *uiManager* that seems to refer to an uiManager it's replacing. But my UIManager is not replacing anyone, it's my default and unique UIManager and this var points to

Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-20 Thread Igor Stasenko
the logic there was to set a non-interactive ui manager for headless sessions only , and then restore back a previous one (whatever it is), once session is changed back to headfull. if its uiManager is nil, it should reset the default manager, if i remember correctly, then UImanager itself will

Re: [Pharo-project] About NonInteractiveUIManager#onSnapshot: and related

2012-03-20 Thread Igor Stasenko
the logic there was to set a non-interactive ui manager for headless sessions only , and then restore back a previous one (whatever it is), once session is changed back to headfull. if its uiManager is nil, it should reset the default manager, if i remember correctly, then UImanager itself will