From: <em...@ro...> - 2004-05-28 11:31:58
|
Hi Keith, In the StatusBarManager there is the method public ProgressMonitor getProgressMonitor() { return statusBar; } However when this is null, I get npe (of course). However when using the getControl method, the statusBar is created when not available. I think that the getProgressMonitor should do the same? e.g. public ProgressMonitor getProgressMonitor() { return (ProgressMonitor) getControl(); } What do you think of this? Is there a deeper meaning to the fact that the statusBar must be defined before trying to get the progressmonitor? Cheers Ronald |