[udig-devel] how to start threads with monitor?
Andrea Antonello
andrea.antonello at gmail.com
Mon Apr 23 05:25:10 PDT 2007
I know this is more a rcp question than a udig, but I'm not able to add
progress tracking to my actions.
The tool extention point doesn't supply a monitor and whenever I try
somethin g like:
IWorkbench wb = PlatformUI.getWorkbench();
IProgressService ps = wb.getProgressService();
ps.busyCursorWhile(new IRunnableWithProgress(){
public void run( IProgressMonitor pm ) {
doMyCodeWithMonitorActivity()
}
});
I get an Invalid thread access exception.
Any hint?
Thanks in advance,
Andrea
More information about the udig-devel
mailing list