Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Editor bounds
Editor bounds [message #70568] Fri, 27 October 2006 09:12 Go to next message
Eclipse UserFriend
Originally posted by: matroska.libero.it

Hi,

i have set a background image in gmf editor however i need to set the
bounds to enable scrolling (to move through the image) (and not only
when a figure is on it). How can i achieve this?

Thanks in advance
John Slave
Re: Editor bounds [message #71281 is a reply to message #70568] Sat, 28 October 2006 19:20 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

That depends on how you've set the diagram background; if you've
overridden paintFigure() in diagram FreeformLayer you should override
method that calculates freeform extent to return the image size. Another
way is to add mouse-transparent ImageFigure to diagram layer; in this
case freeform extent should be large enough to fit background and so
there should be scrollers.

John Slave wrote:
> Hi,
>
> i have set a background image in gmf editor however i need to set the
> bounds to enable scrolling (to move through the image) (and not only
> when a figure is on it). How can i achieve this?
>
> Thanks in advance
> John Slave
Previous Topic:non-overlapping figures
Next Topic:Opening the .gmfmap-file from tutorial example fails.
Goto Forum:
  


Current Time: Thu Jan 02 21:15:33 GMT 2025

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

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

Back to the top