// /////////////////////////////////////////////////////////////////////////////////////////////////////////
ScrollingManager scrollingManager = getScrollingManager();
scrollingManager.addScrollingListener(area.getViewState());
scrollingManager.addScrollingListener(getResourcePanel().area
.getViewState());
Action scrollLeft = new ScrollGanttChartLeftAction(scrollingManager,
options.getIconSize());
myRolloverActions.add(scrollLeft);
bPrev = new TestGanttRolloverButton(scrollLeft);
bPrev.setAutoRepeatMousePressedEvent(300);
// toolBar.add(bPrev);
Action scrollCenter = area.getScrollCenterAction(scrollingManager,
Mediator.getTaskSelectionManager(), options.getIconSize());
myRolloverActions.add(scrollCenter);
bScrollCenter = new TestGanttRolloverButton(scrollCenter);
bScrollCenter.setAutoRepeatMousePressedEvent(300);
// toolBar.add(bScrollCenter);
Action scrollRight = new ScrollGanttChartRightAction(scrollingManager,
options.getIconSize());
myRolloverActions.add(scrollRight);
bNext = new TestGanttRolloverButton(scrollRight);
bNext.setAutoRepeatMousePressedEvent(300);
// toolBar.add(bNext);
// /////////////////////////////////////////////////////////////////////////////////////////////////////////
Action zoomOut = new ZoomOutAction(getZoomManager(), options
.getIconSize());
myRolloverActions.add(zoomOut);
bZoomOut = new TestGanttRolloverButton(zoomOut);
// /////////////////////////////////////////////////////////////////////////////////////////////////////////
Action zoomIn = new ZoomInAction(getZoomManager(), options
.getIconSize());
myRolloverActions.add(zoomIn);
bZoomIn = new TestGanttRolloverButton(zoomIn);
// toolBar.add(bZoomIn);
// /////////////////////////////////////////////////////////////////////////////////////////////////////////
bAbout = new TestGanttRolloverButton(
new ImageIcon(getClass().getResource(
"/icons/manual_" + options.getIconSize() + ".gif")));
bAbout.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
aboutDialog();
}
});
Action undo = new UndoAction(getUndoManager(), options.getIconSize(), this);
myRolloverActions.add(undo);
bUndo = new TestGanttRolloverButton(undo);
Action redo = new RedoAction(getUndoManager(), options.getIconSize(), this);
myRolloverActions.add(redo);
bRedo = new TestGanttRolloverButton(redo);
Action critic = new CalculateCriticalPathAction(getTaskManager(), tree,
options, getUIConfiguration(), this);
myRolloverActions.add(critic);
bCritical = new TestGanttRolloverButton(critic);
bRefresh = new TestGanttRolloverButton(new ImageIcon(
getClass().getResource(