Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » gantt charts synchronize
gantt charts synchronize [message #59537] Fri, 26 September 2008 11:42
Cristian is currently offline Cristian
Messages: 2
Registered: July 2009
Junior Member
I'm tryng to synchronize 2 gantts containing same information but showed
in different ways, so when scrolling a gannt I need tho other scroll too
and redraqing.

Something similar to this:

// Adding scrollbars
vBar2 = gantt.getGanttComposite().getParent()
vBar1 = tgantt.getGanttComposite().getParent()
// other stuffs about the data model....
// Adding listener to the first scrollbar
SelectionListener listener1 = new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
((ScrolledComposite) gantt.getGanttComposite()
// Adding listener to the second scrollbar [...]

At the moment the scrollbar are synchronized, but the chart don't redraw
following the bar...
Previous Topic:[GalleryTreeViewer] Now groups added via refresh() appear collapsed
Next Topic:gantt charts synchronize
Goto Forum:

Current Time: Sat Aug 23 13:39:40 EDT 2014

Powered by FUDForum. Page generated in 0.04684 seconds