Comment #2 on issue 582 by
[hidden email]: Watcher support in
Glamour
http://code.google.com/p/moose-technology/issues/detail?id=582This does not work for me out of the box with a fresh Moose 4.7 downloaded
this evening. There is no response when clicking on the method list.
I see in GLMMorphicWatcherRender>>actOnMatchingPresentationsChanged that
you use you have [ GLMWatcherWindow uniqueInstance ] and a stab in the dark
is that something broke since your uniqueInstance was created. I wonder
your example still works for you after [ GLMWatcherWindow reset ].
In any case, I got it partially working with the following (likely
inappropriate) hack...
GLMMorphicWatcherRenderer>>actOnMatchingPresentationsChanged: anAnnouncement
"whenever a relevant pane changes its presentations,
we override the contents from the GLMWatcherWindow"
| window |
window := GLMWatcherWindow uniqueInstance.
window contentsMorph
removeAllMorphs;
addMorph: (self renderObject: anAnnouncement pane)
fullFrame: (LayoutFrame fractions: (0@0 corner: 1@1)) .
window openInWorld.
Clicking in turn on several methods shows each in the single Glamorous
Watcher. However Glamorous Watcher keeps repositioning on top of the
Glamorous Browser.
cheers -ben
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev