Issue 595 in moose-technology: [Glamour] Transmission>>from: is said to take a port

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

Issue 595 in moose-technology: [Glamour] Transmission>>from: is said to take a port

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 595 by [hidden email]: [Glamour] Transmission>>from: is  
said to take a port
http://code.google.com/p/moose-technology/issues/detail?id=595

The method GLMTransmission>>from: takes a parameter 'aPort'. However, this  
method is most of the time used with a pane symbol instead of a port. This  
is confusing as the Moose book says

"
   For specifying a transmission origin that points to a #selection port
   of a pane, you simply use from:.
"

In this case it is clear that the port is #selection and it is the default.  
The reader is then waiting for an implementation similar to:

GLMTransmission>>from: aPaneSymbol
   ^ self from: aPaneSymbol port: #selection

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 595 in moose-technology: [Glamour] Transmission>>from: is said to take a port

moose-technology
Updates:
        Labels: Component-Glamour

Comment #1 on issue 595 by [hidden email]: [Glamour]  
Transmission>>from: is said to take a port
http://code.google.com/p/moose-technology/issues/detail?id=595

The problem is that beforehand we only had from: which could receive either  
a symbol for the pane, or an association for the port. This was bad, and  
now Glamour offers from:port:, but there are still legacy cases of from:  
being called with an association.

The Moose Book does not talk about this, because we want to go away from  
it. But, at the moment, it won't get fixed.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 595 in moose-technology: [Glamour] Transmission>>from: is said to take a port

moose-technology
Updates:
        Status: Fixed
        Labels: Milestone-4.4

Comment #2 on issue 595 by [hidden email]: [Glamour]  
Transmission>>from: is said to take a port
http://code.google.com/p/moose-technology/issues/detail?id=595

For the moment, the solution is to add a comment explaining the situation.

Name: Glamour-Scripting-TudorGirba.118
Author: TudorGirba
Time: 1 May 2011, 1:57:50 am
UUID: cc6a591b-ca5c-4b56-a575-4d54bf9d5f06
Ancestors: Glamour-Scripting-TudorGirba.117

added comment to address issue  
http://code.google.com/p/moose-technology/issues/detail?id=595


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev