Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Background image
Background image [message #206756] Fri, 06 January 2006 15:30 Go to next message
Eclipse UserFriend
Originally posted by: Vincent.Black.evhr.net

Hello, i want to put a background image in my editor, i have tried two
solutions but anyone work properly.

For the first, i have used "ScalableRootEditPart rooteditpart" in the
configuration of my main Editor class. The background is ok, with layer,
and i can put objects in top. But i can zoom it. the background is fixed
in size and other objects are scaled.

I have tried another solution, in the DiagramEditPart.
In the create Figure, i have added my background. It's scaled, but i can't
add object over it. The objects are behind.

So, what is the technic for background scaled image?
Thank you very much !

Vincent
Re: Background image [message #206789 is a reply to message #206756] Fri, 06 January 2006 16:25 Go to previous message
Eclipse UserFriend
Originally posted by: Vincent.Black.evhr.net

Anyone have an idea or a sample code of a resizable background image ?

All ideas or ways are welcome !
Thank you very much !
Previous Topic:GEF-RCP, how to launch an gef editor? (as text editor)
Next Topic:SWT error opening a dialog
Goto Forum:
  


Current Time: Fri Mar 29 07:39:56 GMT 2024

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

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

Back to the top