Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problem with refreshVisuals of a connection
Problem with refreshVisuals of a connection [message #247865] Tue, 24 March 2009 02:15 Go to next message
Eclipse UserFriend
Originally posted by: alamothe.ptt.yu

Hi,
I noticed that refreshVisuals method of my connection edit part is called
before both source and target have been set. When I set just the source, it
gets called. When I set the target in the next statement, it gets called
again. It is not supposed to work like this, is it? Right now I have to
check against null in my refreshVisuals.
Re: Problem with refreshVisuals of a connection [message #247871 is a reply to message #247865] Tue, 24 March 2009 02:33 Go to previous message
Eclipse UserFriend
Originally posted by: alamothe.ptt.yu

What's more surprising, if you set just one of source / target, the
connection still appears in the viewer!

Nikola Mihajlovic wrote:
> Hi,
> I noticed that refreshVisuals method of my connection edit part is
> called before both source and target have been set. When I set just
> the source, it gets called. When I set the target in the next
> statement, it gets called again. It is not supposed to work like
> this, is it? Right now I have to check against null in my
> refreshVisuals.
Previous Topic:Draw figure outside bounds
Next Topic:ClassNotFoundException : IPropertySheetEntry
Goto Forum:
  


Current Time: Wed Apr 24 17:41:34 GMT 2024

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

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

Back to the top