Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » addNode(Object) does not work in GraphViewer
addNode(Object) does not work in GraphViewer [message #1372648] Wed, 21 May 2014 18:57 Go to next message
Jingang Zhou is currently offline Jingang Zhou
Messages: 18
Registered: August 2010
Junior Member
Hi,

The addNode(Object) methods first check whether the Object parameter exists in the nodesMap or not, if false, then create a new graph node. But a deleted node by removeNode(Object) still exists in the nodesMap, so, how to do? Is the logic right?

Best regards.

Jingang Zhou
Re: addNode(Object) does not work in GraphViewer [message #1373687 is a reply to message #1372648] Thu, 22 May 2014 05:23 Go to previous messageGo to next message
Zoltan Ujhelyi is currently offline Zoltan Ujhelyi
Messages: 207
Registered: July 2009
Senior Member
Hi,

I have also noticed such an issue, and in the GEF4 Zest codebase I have already tried to alleviate some of these issues (https://bugs.eclipse.org/bugs/show_bug.cgi?id=404308), but it was not a complete solution. Can you add this issue to the linked ticket as an additional, related issue (to allow tracking it?).

Thanks,
Zoltán
Re: addNode(Object) does not work in GraphViewer [message #1374111 is a reply to message #1373687] Thu, 22 May 2014 09:26 Go to previous message
Jingang Zhou is currently offline Jingang Zhou
Messages: 18
Registered: August 2010
Junior Member
Zoltan Ujhelyi wrote on Thu, 22 May 2014 05:23
Hi,

I have also noticed such an issue, and in the GEF4 Zest codebase I have already tried to alleviate some of these issues (https://bugs.eclipse.org/bugs/show_bug.cgi?id=404308), but it was not a complete solution. Can you add this issue to the linked ticket as an additional, related issue (to allow tracking it?).

Thanks,
Zoltán


I add a comment there.

Thanks.
Previous Topic:Enforce FlowLayout / suppress scrolling
Next Topic:How to collaborate XYLayout and Scrollbar in figures
Goto Forum:
  


Current Time: Fri Aug 29 10:14:12 EDT 2014

Powered by FUDForum. Page generated in 0.01808 seconds