[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] How to use ProgressMonitorDialog in Action (IActionDelegate2)

Hello,

I have a problem using ProgressMonitorDialog in method runWithEvent(IAction action, Event event). I always get a Invalid Thread Access.

I then tried to use the Display.getCurrent().asyncExec() implementing  Runnable and calling the ProgressMonitorDialog there. With the same result. 

Is it common to call a ProgressMonitorDialog in an Action? 
Some ideas? Thanks

André