Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problems with scrolling
Problems with scrolling [message #238126] Tue, 28 August 2007 08:46 Go to previous message
René is currently offline René
Messages: 45
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------050805010500000902080701
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

i use a editor sub classed from the GraphicalEditorWithPalette (with a
XYLayout). It works mostly like the shapes editor example. The diagram
have components and between these are connections. For the connections i
use a ShortesPathConnectionRouter.
Everything with these things are ok until you have to scroll. If this
happened the connection make crazy things. Now they are totally
displaced (shot1.png). But it is not a problem only with the
connections. When i scroll a bit and try to paint a new connection the
dashed pre-connection-line will be also displaced (shot2.png).

It seems to me that there is something wrong with the anchors (I use
XYAnchors) ?! But why? Everything is fine when I dont scroll?

Has anybody an idea? Im very thankful for any hint!


Best regards,
Ren
 
Read Message
Read Message
Read Message
Previous Topic:how to programmably add nodes and edges
Next Topic:Problem related to connection ..
Goto Forum:
  


Current Time: Fri May 24 03:07:25 EDT 2013

Powered by FUDForum. Page generated in 0.03034 seconds