Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » gantt charts synchronize
gantt charts synchronize [message #592365] Fri, 26 September 2008 15:42
Cristian is currently offline CristianFriend
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:gantt charts synchronize
Next Topic:[Grid] DefaultCellRenderer and wordwrap
Goto Forum:

Current Time: Mon Jun 18 19:38:41 GMT 2018

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

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

Back to the top