Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Gantt: remove Connections
Gantt: remove Connections [message #595285] Fri, 19 June 2009 11:58
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 36
Registered: July 2009

I want to show specific connections when a user clicks on a GanttEvent.
Of course I have to remove/hide the old ones, how can I do this? I tried
disposing all connections, but this yields a NPE. I changed the source
accordingly (set the GanttConnection's parent), but is there another

this is what I do (essentially):

Collection<GanttConnection> connections = new

connections.addAll(ganttChart.getGanttComposite().getGanttCo nnections())
for (GanttConnection conn : connections)
n times:
ganttChart.addConnection(parentEvent, childEvent);

I I call this twice, I get an NPE at the conn.dispose() line


Previous Topic:Row-wise table editing
Next Topic:Row-wise table editing
Goto Forum:

Current Time: Thu Aug 22 17:34:47 GMT 2019

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

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

Back to the top