Issue 1106 in moose-technology: Be able to get the rawSelection in a GLMPresentation even if noSelection is used

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

Issue 1106 in moose-technology: Be able to get the rawSelection in a GLMPresentation even if noSelection is used

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

New issue 1106 by [hidden email]: Be able to get the rawSelection in  
a GLMPresentation even if noSelection is used
https://code.google.com/p/moose-technology/issues/detail?id=1106

A GLMPresentation does not allow to get the selected value if the option  
noSelection is specified. It looks right but ... noSelection is used if we  
don't want to trigger a transmission to the selection port (and open a new  
pane in GTInspector for example).
In this case, it makes sense to always populate the rawSelection so that  
the selection remains available to other actions.

To do that, only a small change is needed in GLMPresentation>>selection:
selection: anObject
        "Tell the pane about the new selection. This method is called when the  
user changes a view's selection' (e.g., he clicks on an element in a list  
morph)."
        (self pane port: #rawSelection) value: anObject.
        self acceptsSelection ifFalse: [^ self].
        rawSelectionTransmissions do: #transmit

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
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 1106 in moose-technology: Be able to get the rawSelection in a GLMPresentation even if noSelection is used

moose-technology

Comment #1 on issue 1106 by [hidden email]: Be able to get the  
rawSelection in a GLMPresentation even if noSelection is used
https://code.google.com/p/moose-technology/issues/detail?id=1106

Implemented in Glamour-Core-ChristopheDemarey.290 and  
Glamour-Tests-Core-ChristopheDemarey.103.
Commited in the core repository

--
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev