Editor bounds [message #70568] |
Fri, 27 October 2006 09:12 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03277 seconds