Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Feedback layer whacky with ScrollingGraphicalViewer
Feedback layer whacky with ScrollingGraphicalViewer [message #184731] Thu, 16 June 2005 00:24 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.officeextend.com

I have an editor configured with a ScrollingGraphicalViewer. I'm
implementing some feedback by addFeedback'ing a RectangleFigure at a given
place relative to a target part. Works great if my scrolling viewer is
scrolled to (0,0) but when I scroll it off that point, the feedback
figures are not scrolling with my normal figures. I know that the
feedback figures are in the feedback layer, but doesn't the feedback layer
scroll with the others?

So that was my first question: am I doing something wrong with that?
Second question: if I'm not doing anything wrong, how can I get hold of
the ScrollingGraphicalViewer instance while I'm deep in a feedback policy
so that I can ask it for its scrolled location?

Thanks.
Re: Feedback layer whacky with ScrollingGraphicalViewer [message #184777 is a reply to message #184731] Thu, 16 June 2005 18:47 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.officeextend.com

Sorry. Turned out to be invalid programmer at keyboard error. I was
missing a TranslateToRelative call after the feedback figure was added to
the feedback layer. A good example is the SnapFeedbackPolicy's handling
of the guide lines.
Previous Topic:Delete Action
Next Topic:Help on Rulers
Goto Forum:
  


Current Time: Fri Dec 13 03:54:39 GMT 2024

Powered by FUDForum. Page generated in 0.03615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top