Issue 807 in moose-technology: Populating menu in Roassal visualization in Glamour doesn't work

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

Issue 807 in moose-technology: Populating menu in Roassal visualization in Glamour doesn't work

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

New issue 807 by [hidden email]: Populating menu in Roassal  
visualization in Glamour doesn't work
http://code.google.com/p/moose-technology/issues/detail?id=807

Roassal doesn't populate a menu in Glamour. For example, using the example  
of GLMBasicExamples>>roassalPainting I want to add a menu in the view  
using 'ROEaselMorphic new populateMenuOn: view'. While a small scrolling is  
done (to not have the buttons over the nodes) the buttons aren't shown.

| browser |
        browser := GLMTabulator withStatusbar.
        browser column: #one; column: #two.
        browser transmit to: #one; andShow: [ :a |
                a list
                        title: 'Select and trigger from menu';
                        display: [:x | 1 to: x ];
                        selectionAct: [:list |
                                | value |
                                value := list selection * 10. "simulate some custom setup"
                                (list pane port: #customSelection) value: value ]
                        entitled:  'Multiply by 10 and then send outside'
                        ].
        browser transmit to: #two; from: #one port: #customSelection; andShow:  
[ :a |
                a roassal
                        title: 'Numbers in Roassal';
                        painting: [:view :number |
                                view shape label.
                                view nodes: (1 to: number).
                                view edgesFrom: [:each | each // 5 ].
                                view treeLayout.
                                ROEaselMorphic new populateMenuOn: view.
                                  ]].
        browser openOn: 42

_______________________________________________
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 807 in moose-technology: Populating menu in Roassal visualization in Glamour doesn't work

moose-technology
Updates:
        Status: Fixed
        Labels: Component-Glamour Milestone-4.7

Comment #1 on issue 807 by [hidden email]: Populating menu in  
Roassal visualization in Glamour doesn't work
http://code.google.com/p/moose-technology/issues/detail?id=807

See
GLMBasicExamples new roassalWithMenu openOn: 42

_______________________________________________
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 807 in moose-technology: Populating menu in Roassal visualization in Glamour doesn't work

Santiago Vidal
It works! 
Thanks

2012/6/13 <[hidden email]>
Updates:
       Status: Fixed
       Labels: Component-Glamour Milestone-4.7

Comment #1 on issue 807 by [hidden email]: Populating menu in Roassal visualization in Glamour doesn't work
http://code.google.com/p/moose-technology/issues/detail?id=807

See
GLMBasicExamples new roassalWithMenu openOn: 42


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



--
Santiago Vidal

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