[Pharo-project] worldMenu
in 1.0 PasteUpMorph>>worldMenu ^ TheWorldMenu new adaptToWorld: self was defined as service extension in 1.1 services have been removed Now HostSystemMenusMacOSX uses the following pattern ... self buildSubMenusFor: World worldMenu openMenu. ... We could either reintroduce PasteUpMorph>>worldMenu or in HostSystemMenusMac Does anybody have some criteria to differentiate the two places? Stef
imho i don't think that PasteUpMorph should undestand #worldMenu... but i dont see clearly the best place to put it. I'm aware that there are more messages like this one in PasteUpMorph like #adaptedWorld or #getWorldMenu: but i think that PasteUpMorph and World belong to a different levels of abstraction. Francisco On Mon, Jan 18, 2010 at 5:15 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
in 1.0
PasteUpMorph>>worldMenu     ^ TheWorldMenu new adaptToWorld: self
was defined as service extension
in 1.1 services have been removed
Now HostSystemMenusMacOSX uses the following pattern
... Â self buildSubMenusFor: World worldMenu openMenu. ...
We could either reintroduce
    PasteUpMorph>>worldMenu or     in HostSystemMenusMac
Does anybody have some criteria to differentiate the two places?
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
the World is an instance of PasteUpMorph On Jan 18, 2010, at 4:03 PM, Francisco Ortiz Peñaloza wrote:
imho i don't think that PasteUpMorph should undestand #worldMenu... but i dont see clearly the best place to put it.
I'm aware that there are more messages like this one in PasteUpMorph like #adaptedWorld or #getWorldMenu: but i think that PasteUpMorph and World belong to a different levels of abstraction.
Francisco
On Mon, Jan 18, 2010 at 5:15 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
in 1.0
PasteUpMorph>>worldMenu ^ TheWorldMenu new adaptToWorld: self
was defined as service extension
in 1.1 services have been removed
Now HostSystemMenusMacOSX uses the following pattern
... self buildSubMenusFor: World worldMenu openMenu. ...
We could either reintroduce
PasteUpMorph>>worldMenu or in HostSystemMenusMac
Does anybody have some criteria to differentiate the two places?
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
i know but not every PasteUpMorph has to be the World... from PasteUpMorph comments "A morph whose submorphs comprise a paste-up of rectangular subparts which "show through". Anything called a 'Playfield' is a PasteUpMorph." i'm just saying that anything related to the world concept semantically doesnt belong to what i understand for PasteUpMorph. Francisco On Mon, Jan 18, 2010 at 12:13 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
the World is an instance of PasteUpMorph
On Jan 18, 2010, at 4:03 PM, Francisco Ortiz Peñaloza wrote:
imho i don't think that PasteUpMorph should undestand #worldMenu... but i dont see clearly the best place to put it.
I'm aware that there are more messages like this one in PasteUpMorph like #adaptedWorld or #getWorldMenu: but i think that PasteUpMorph and World belong to a different levels of abstraction.
Francisco
On Mon, Jan 18, 2010 at 5:15 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
in 1.0
PasteUpMorph>>worldMenu     ^ TheWorldMenu new adaptToWorld: self
was defined as service extension
in 1.1 services have been removed
Now HostSystemMenusMacOSX uses the following pattern
... Â self buildSubMenusFor: World worldMenu openMenu. ...
We could either reintroduce
    PasteUpMorph>>worldMenu or     in HostSystemMenusMac
Does anybody have some criteria to differentiate the two places?
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Jan 18, 2010, at 4:34 PM, Francisco Ortiz Peñaloza wrote:
i know but not every PasteUpMorph has to be the World...
from PasteUpMorph comments "A morph whose submorphs comprise a paste-up of rectangular subparts which "show through". Anything called a 'Playfield' is a PasteUpMorph."
i'm just saying that anything related to the world concept semantically doesnt belong to what i understand for PasteUpMorph.
I do not understand PasteUpMorph (no pun intended). Seems to me that it was playing too many roles (I happy that we removed a couple of tenth of methods from it). Stef
I totally agree! Another thought is that there isn't currently other use cases for a PasteUpMorph besides World. I would love to have a simple solution or a solution at all rather than my just my opinion. Best Regards, Francisco On Mon, Jan 18, 2010 at 6:57 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On Jan 18, 2010, at 4:34 PM, Francisco Ortiz Peñaloza wrote:
i know but not every PasteUpMorph has to be the World...
from PasteUpMorph comments "A morph whose submorphs comprise a paste-up of rectangular subparts which "show through". Â Anything called a 'Playfield' is a PasteUpMorph."
i'm just saying that anything related to the world concept semantically doesnt belong to what i understand for PasteUpMorph.
I do not understand PasteUpMorph (no pun intended). Seems to me that it was playing too many roles (I happy that we removed a couple of tenth of methods from it).
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
what about a PasteUp behavior as a Trait? That could be attached to any morph that wants PasteUp behavior. Fernando On Jan 19, 2010, at 1:57 AM, Francisco Ortiz Peñaloza wrote:
I totally agree! Another thought is that there isn't currently other use cases for a PasteUpMorph besides World.
I would love to have a simple solution or a solution at all rather than my just my opinion.
Best Regards, Francisco
On Mon, Jan 18, 2010 at 6:57 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On Jan 18, 2010, at 4:34 PM, Francisco Ortiz Peñaloza wrote:
i know but not every PasteUpMorph has to be the World...
from PasteUpMorph comments "A morph whose submorphs comprise a paste-up of rectangular subparts which "show through". Anything called a 'Playfield' is a PasteUpMorph."
i'm just saying that anything related to the world concept semantically doesnt belong to what i understand for PasteUpMorph.
I do not understand PasteUpMorph (no pun intended). Seems to me that it was playing too many roles (I happy that we removed a couple of tenth of methods from it).
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
would be lovely What I would love to have and I failed trying is to have a trait based morphic. Stef On Jan 19, 2010, at 12:30 PM, Fernando olivero wrote:
what about a PasteUp behavior as a Trait?
That could be attached to any morph that wants PasteUp behavior.
Fernando
On Jan 19, 2010, at 1:57 AM, Francisco Ortiz Peñaloza wrote:
I totally agree! Another thought is that there isn't currently other use cases for a PasteUpMorph besides World.
I would love to have a simple solution or a solution at all rather than my just my opinion.
Best Regards, Francisco
On Mon, Jan 18, 2010 at 6:57 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On Jan 18, 2010, at 4:34 PM, Francisco Ortiz Peñaloza wrote:
i know but not every PasteUpMorph has to be the World...
from PasteUpMorph comments "A morph whose submorphs comprise a paste-up of rectangular subparts which "show through". Anything called a 'Playfield' is a PasteUpMorph."
i'm just saying that anything related to the world concept semantically doesnt belong to what i understand for PasteUpMorph.
I do not understand PasteUpMorph (no pun intended). Seems to me that it was playing too many roles (I happy that we removed a couple of tenth of methods from it).
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (3)
-
Fernando olivero -
Francisco Ortiz Peñaloza -
Stéphane Ducasse