Problem with refreshVisuals of a connection [message #247865] |
Mon, 23 March 2009 22:15  |
Eclipse User |
|
|
|
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] |
Mon, 23 March 2009 22:33  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03407 seconds