Progress Monitor
Progress monitors are used to report the progress of an operation / an activity to the user. In most cases a progress monitor will display a user interface component such as a progress bar. However, a progress monitor can also decide to redirect the progress information to a file or a stream.
The idea behind IProgressMonitor was taken from SWT (Standard Widget Toolkit). FlexGantt adapts it for Swing and ensures that the Gantt charts should also be easily integrated into Eclipse RCP applications. In those cases the progress monitors get created from the Eclipse workbench and mapped to the FlexGantt monitor.
FlexGantt ships with three progress monitor implementations:
- GanttChartProgressMonitor - gets created by the default progress monitor factory inside AbstractGanttChart. When used this monitor will show a progress bar dialog to the user. The dialog is modal, hence all user input will be blocked.
- GanttChartStatusBar - the status bar progress monitor shows a progress bar inside the status bar. This monitor is non-blocking, meaning that the user can continue to use the Gantt chart while progress is being reported.
- GanttChartGlassPane - an infinite progress bar implementation. The glass pane will show an animation as long as the user operation is going on. The glass pane will block the user from making any further changes in the Gantt chart.