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
Member

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.


Regards,
Kishore

[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:GEF with SWT as view
Goto Forum:
  


Current Time: Thu Dec 18 11:33:26 GMT 2014

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

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