Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Component-Glamour Milestone-5.0
New issue 981 by tu...(a)tudorgirba.com: Glamour should provide a means to
not transmit all Roassal clicks
http://code.google.com/p/moose-technology/issues/detail?id=981
Originally reported on stackoverflow:
http://stackoverflow.com/questions/18829093/make-edges-not-clickable-in-roa…
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).
--
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