Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2D problems on Linux
Draw2D problems on Linux [message #216868] Fri, 26 May 2006 08:36 Go to next message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi all,

I am working on an eclipse plugin which displays chart in a view using
Draw2D.
My charts, and of course the draw2d panel in which this chart is drawn,
must be very large. When i launch my plugin on a windows plateform all is
fine: all my draw2d figures are displayed into the panel. When i launch it
on a Linux system (Red hat 3) it doesn'work correctly: some parts of the
panel are not displayed...

So my question is : does this bug come from my application source code or
does anybody know if there are some problems with large Draw2D figures on
a linux plateform ??


Thanks

Manu


Re: Draw2D problems on Linux [message #216944 is a reply to message #216868] Mon, 29 May 2006 07:16 Go to previous messageGo to next message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Does anybody have the same problem ??


Thanks


Re: Draw2D problems on Linux [message #217029 is a reply to message #216868] Wed, 31 May 2006 06:09 Go to previous messageGo to next message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Anybody can help me ??

:o(


Re: Draw2D problems on Linux [message #217260 is a reply to message #216868] Fri, 02 June 2006 05:56 Go to previous messageGo to next message
Eclipse User
Originally posted by: puneet82sri.sify.com

if u can elaborate a bit more how u r making use of draw2d..
as u said that u r using panel..
why r u not using figurecanvas.. for drawing
making use of scrolpane if figures r big...
try out this.. may help u
Re: Draw2D problems on Linux [message #217267 is a reply to message #217260] Fri, 02 June 2006 08:23 Go to previous message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Thanks for your answer, here are some precisions

I am using a FigureCanvas of course and i put into this figureCanvas a
draw2D panel wich is the root figure of the drawing i want to display.
This panel contains a lot of figures and some of them are layout at an X
position that could be 100 000. That means the following code is invoked:

myPanel.add(myFigure, new Rectangle(100 000, 200, 60,60));

As the FigureCanvas is scrollable i can scroll to the end of the panel to
see myFigure.

In that case the real display problem is the following:

myPanel has got a blue background and when i scroll over it (to scroll to
myFigure) in some parts of this panel the blue background is not visible
and a classical background is displayed.

Does anyone know why ?

Thanks.

Manu


Previous Topic:how to club gef with eclipse?
Next Topic:Orthogonal Connection Router w/ Handles
Goto Forum:
  


Current Time: Sat Oct 25 01:34:49 GMT 2014

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

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