Setting new world in 1.1

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

Setting new world in 1.1

Denis Kudriashov
How I can install new World in Pharo 1.1?

In pharo 1.0 I do :

newWorld beWorldForProject: nil.

But #beWorldForProject: absent in 1.1

_______________________________________________
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: Setting new world in 1.1

Stéphane Ducasse
You cannot anymore.
Projects are not supported features. We got discussions in the mailing-list about that
some times ago.

Stef

On Jun 30, 2010, at 10:27 PM, Denis Kudriashov wrote:

> How I can install new World in Pharo 1.1?
>
> In pharo 1.0 I do :
>
> newWorld beWorldForProject: nil.
>
> But #beWorldForProject: absent in 1.1
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Setting new world in 1.1

Denis Kudriashov
I know about Projects. But absent method is very simlpe

beWorldForProject: aProject

    self privateOwner: nil.
    worldState := WorldState new.
    self addHand: HandMorph new.
    self setProperty: #optimumExtentFromAuthor toValue: Display extent.
    self startSteppingSubmorphsOf: self

It is nothing about Project. It can be rewrited to:

beActiveWorld

    self privateOwner: nil.
    worldState := WorldState new.
    self addHand: HandMorph new.
    self setProperty: #optimumExtentFromAuthor toValue: Display extent.
    self startSteppingSubmorphsOf: self.
    self install.

Can It be added to Pharo?

I like this feature for fullscreen applications.With this I dont need close all my opened tools when deploy app. I just open app in new world and set it as active. And when I need debug or something I just switch back to Pharo World saved in some variable.


2010/7/1 Stéphane Ducasse <[hidden email]>
You cannot anymore.
Projects are not supported features. We got discussions in the mailing-list about that
some times ago.

Stef

On Jun 30, 2010, at 10:27 PM, Denis Kudriashov wrote:

> How I can install new World in Pharo 1.1?
>
> In pharo 1.0 I do :
>
> newWorld beWorldForProject: nil.
>
> But #beWorldForProject: absent in 1.1
> _______________________________________________
> 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


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