Skip to main content



      Home
Home » Eclipse Projects » Nebula » [GanttChart] refreshing composite
[GanttChart] refreshing composite [message #1525371] Tue, 23 December 2014 20:07 Go to next message
Eclipse UserFriend
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 04:21] by Moderator

Re: [GanttChart] refreshing composite [message #1535229 is a reply to message #1525371] Mon, 29 December 2014 10:35 Go to previous message
Eclipse UserFriend
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: Fri May 02 11:24:26 EDT 2025

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

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

Back to the top