Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glamour should provide a means to not transmit all Roassal clicks #981

Closed
seandenigris opened this issue Aug 3, 2015 · 2 comments
Closed

Comments

@seandenigris
Copy link
Contributor

Originally reported on Google Code with ID 981

Originally reported on stackoverflow:
http://stackoverflow.com/questions/18829093/make-edges-not-clickable-in-roassal-visualization-from-within-a-glamour-browser

In the below example, you need to uncomment the two lines to work around this issue.
We need a better solution.

browser := GLMTabulator new.
browser column: #myRoassal ; column: #mySelection.
browser transmit 
    to: #myRoassal ;
    andShow: 
    [   : aGLMPresentation |
        aGLMPresentation roassal
            painting:
            [   : view : numbers |  |edges|
                view shape rectangle ; withText ; size: 30.
                view nodes: numbers.
                view interaction noPopup.
                view edges: numbers from:  [ :x | x / 2] to: [ :x | x ].
"               view edges do: [ :edge | edge model:#doNotSelectMe ]."
                view treeLayout.
            ].
    ].
browser transmit 
    to: #mySelection ;
    from: #myRoassal ;
"   when: [ :selection | selection ~= #doNotSelectMe ] ;"
    andShow: 
    [   : aGLMPresentation |
        aGLMPresentation text
            display: [ : selectedItem | selectedItem asString ]
    ].
browser openOn: (1 to: 10).

Reported by tudor@tudorgirba.com on 2013-09-18 05:38:44

@seandenigris
Copy link
Contributor Author

Reported by tudor@tudorgirba.com on 2014-11-25 07:34:13

  • Labels removed: Milestone-5.0

@girba
Copy link
Member

girba commented Jun 9, 2017

Duplicated in #1224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants