Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [GanttChart] refreshing composite
[GanttChart] refreshing composite [message #1525371] Wed, 24 December 2014 01:07 Go to next message
Giovanni J is currently offline Giovanni JFriend
Messages: 15
Registered: November 2014
Junior Member
After a section reindexing the composite is not updated so I decided to use a call to both the refresh() and redraw() methods.

Unfortunately they didn't lead to any result, refresh doesn't take place. The only workaround I found to actually refresh the composite is to use a zoomIn() call.

Any hints? Better implementation?

[Updated on: Wed, 24 December 2014 09:21]

Report message to a moderator

Re: [GanttChart] refreshing composite [message #1535229 is a reply to message #1525371] Mon, 29 December 2014 15:35 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Not sure, but it sounds like reindex(GanttSection, int) does call the wrong method for updateing.

Try to use GanttComposite#heavyRedraw() and if it helps create a ticket for this issue. Maybe reindex(GanttSection, int) needs to call forceFullUpdate() instead of redrawEventsArea() since there needs to be more updated than only the events.
Previous Topic:[GanttChart] Removing Sections
Next Topic:[GanttChart] resizing the GanttSections height
Goto Forum:

Current Time: Thu Apr 18 17:35:39 GMT 2024

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

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

Back to the top