Fwd: Re: DEVImageCreator >> setDefaultPreferences (alain?)

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

Fwd: Re: DEVImageCreator >> setDefaultPreferences (alain?)

Alain Plantec-4


-------- Message original --------
Sujet: Re: DEVImageCreator >> setDefaultPreferences (alain?)
Date : Tue, 11 May 2010 13:55:41 +0200
De : Alain Plantec <[hidden email]>
Répondre à : [hidden email]
Pour : Mariano Martinez Peck <[hidden email]>


Hi Mariano, all
Le 11/05/2010 11:43, Mariano Martinez Peck a écrit :
>  Hi Alain. DEVImageCreator  has to be updated to use the new
>  preferences. I can do it but it will require much more than for me
>  than for you ;)
>
>  For preferences it is  DEVImageCreator>>  setDefaultPreferences
>  it is using Preferences class for the moment. It should be updated to
>  use Settings, isn't it ?
I don't think so. There is no need for such a initialization anymore
since package are defining their own preferences.
If a default value is desired then it should be set by an initialization
method or lazily by the getter.
I find the lazy initialization better because then, the SettingBrowser
can reset the preference to the default by setting it to nil.
>  BTW, Preferences is still present in Pharo 1.1 and thus,
>  setDefaultPreferences is still working but I guess it should be updated.
why ? there is no need for setDefaultPreferences anymore.
>
>  Do you know when Preferences class will be completely removed?  Pharo 1.2?
I don't know. Maybe we can let it in the 1.1 in order
to let maintainers the possibility to port their packages and
definitively remove it in 1.2.
The same for TheWorldMenu I guess.
Cheers
Alain

>
>  Thanks!
>
>  Mariano




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: DEVImageCreator >> setDefaultPreferences (alain?)

Stéphane Ducasse
>
>>
>> Do you know when Preferences class will be completely removed?  Pharo 1.2?
> I don't know. Maybe we can let it in the 1.1 in order
> to let maintainers the possibility to port their packages and
> definitively remove it in 1.2.
> The same for TheWorldMenu I guess.
yes this is the idea.

Stef


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Re: DEVImageCreator >> setDefaultPreferences (alain?)

Mariano Martinez Peck
http://code.google.com/p/pharo/issues/detail?id=2410

http://code.google.com/p/pharo/issues/detail?id=2014

On Tue, May 11, 2010 at 2:21 PM, Stéphane Ducasse <[hidden email]> wrote:
>
>>
>> Do you know when Preferences class will be completely removed?  Pharo 1.2?
> I don't know. Maybe we can let it in the 1.1 in order
> to let maintainers the possibility to port their packages and
> definitively remove it in 1.2.
> The same for TheWorldMenu I guess.
yes this is the idea.

Stef


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project