Comment #11 on issue 900 by benjamin...(a)gmail.com: Glamour-Roassal should
be able to work with raw ROView not just ROMondrianBuilder
http://code.google.com/p/moose-technology/issues/detail?id=900
A usage example can be defining the following method, then evaluating the
comment.
GLMOtherExample>>roassalCountries
"self new roassalCountries openOn: ROSVGPath countries"
| browser |
ROPlatform setCurrent: 'morphic'.
browser := GLMTabulator withStatusbar.
browser column: #list; column: #roassalRaw.
browser transmit to: #list; andShow:
[ :a |
a list
title: 'Select country'
].
browser transmit from: #list; to: #roassalRaw; andShow:
[ :a |
a roassal
title: 'Country Shape';
newViewBlock: [ ROView new @ RODraggable ] ; "<----------"
painting:
[ :view :country | |path element|
path := ROSVGPath path: (ROSVGPath perform: country).
element := path elementOn: country.
view add: element.
view translateTo: path topLeftFromSVG negated.
].
].
^browser
Attachments:
Issue-900-use-case.png 12.3 KB
--
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