| Progress bar keeps running after plugin stops on an exception. [message #174936] |
Wed, 25 August 2004 05:32  |
Eclipse User |
|
|
|
Originally posted by: vikram.naik.patni.com
Hello,
I am developing a plugin for Eclipse 3.0 . When an exception is
encountered the plugin's execution stops, but the progress bar shown in
the status bar of Eclipse 3.0 keeps on running.
I am also using org.eclipse.ui.console.MessageConsole to show some
messages to user. Can it be due to the MessageConsole as it uses some
threading to pole for new messages ?
Please comment.
Thanks,
-Vikram.
|
|
|
| Re: Progress bar keeps running after plugin stops on an exception. [message #174968 is a reply to message #174936] |
Wed, 25 August 2004 05:56  |
Eclipse User |
|
|
|
Originally posted by: vikram.naik.patni.com
Hello,
Found the bug, it was in my code. I am using IRunnableWithProgress to
execute the process. In run method the ProgressMonitors "done()" method
was not invoked when the method exits in any case. Hence placed a
finally block, which called pm.done() when the method exits and that
solved the problem.
-Vikram.
Vikram wrote:
> Hello,
>
> I am developing a plugin for Eclipse 3.0 . When an exception is
> encountered the plugin's execution stops, but the progress bar shown in
> the status bar of Eclipse 3.0 keeps on running.
>
> I am also using org.eclipse.ui.console.MessageConsole to show some
> messages to user. Can it be due to the MessageConsole as it uses some
> threading to pole for new messages ?
>
> Please comment.
>
> Thanks,
> -Vikram.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04792 seconds