Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Slow scrolling with ScrollPane on a large draw2d figure (Slow scrolling with ScrollPaneon a large draw2d figure)
icon8.gif  Slow scrolling with ScrollPane on a large draw2d figure [message #1062902] Tue, 11 June 2013 10:31 Go to next message
Kishore Kushwaha is currently offline Kishore KushwahaFriend
Messages: 36
Registered: July 2009
Location: Lucknow, India

Hi All,

I have been using draw2d library (not GEF) and ScrollPane. The figure presented in this ScrollPane is a kind of diagram with some Rectangles and Connections and the scrolling is ok, but for big diagram it is very slow (or sometimes Eclipse get crashed). Without the connections everything is enough fast. How can it be done, that the scrolling goes fast also with connections used ?

The solution with scrolling some kind of an image is not applicable, because the user can do some modifications on the diagram, so the bounds of figures are set and Rectangles change the positions.

Thanks in advance.


[Updated on: Wed, 12 June 2013 07:54]

Report message to a moderator

Re: Slow scrolling with ScrollPane on a large draw2d figure [message #1063140 is a reply to message #1062902] Wed, 12 June 2013 13:01 Go to previous message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
You have to debug it and find what is the bottleneck. Do you have separate layer for connections?
Previous Topic:Zest Graph as a Eclipse View
Next Topic:Layouting a large number of draw2d widgets in a Canvas
Goto Forum:

Current Time: Wed May 23 20:52:03 GMT 2018

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

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

Back to the top