comparison dwtx/jface/operation/AccumulatingProgressMonitor.d @ 44:25461c48a9bd

some FIXME
author Frank Benoit <benoit@tionex.de>
date Fri, 11 Apr 2008 01:41:47 +0200
parents ea8ff534f622
children ef6c06252a87
comparison
equal deleted inserted replaced
43:ea8ff534f622 44:25461c48a9bd
17 import dwtx.core.runtime.Assert; 17 import dwtx.core.runtime.Assert;
18 import dwtx.core.runtime.IProgressMonitor; 18 import dwtx.core.runtime.IProgressMonitor;
19 import dwtx.core.runtime.IProgressMonitorWithBlocking; 19 import dwtx.core.runtime.IProgressMonitorWithBlocking;
20 import dwtx.core.runtime.IStatus; 20 import dwtx.core.runtime.IStatus;
21 import dwtx.core.runtime.ProgressMonitorWrapper; 21 import dwtx.core.runtime.ProgressMonitorWrapper;
22 //FIXME 22 import dwtx.jface.dialogs.Dialog;
23 // import dwtx.jface.dialogs.Dialog;
24 23
25 import dwt.dwthelper.utils; 24 import dwt.dwthelper.utils;
26 import dwt.dwthelper.Runnable; 25 import dwt.dwthelper.Runnable;
27 26
28 /** 27 /**
235 /* (non-Javadoc) 234 /* (non-Javadoc)
236 * @see java.lang.Runnable#run() 235 * @see java.lang.Runnable#run()
237 */ 236 */
238 public void run() { 237 public void run() {
239 (cast(IProgressMonitorWithBlocking) pm_).clearBlocked(); 238 (cast(IProgressMonitorWithBlocking) pm_).clearBlocked();
240 //FIXME 239 Dialog.getBlockedHandler().clearBlocked();
241 // Dialog.getBlockedHandler().clearBlocked();
242 } 240 }
243 }); 241 });
244 } 242 }
245 243
246 /* (non-Javadoc) 244 /* (non-Javadoc)
262 * @see java.lang.Runnable#run() 260 * @see java.lang.Runnable#run()
263 */ 261 */
264 public void run() { 262 public void run() {
265 (cast(IProgressMonitorWithBlocking) pm_).setBlocked(reason); 263 (cast(IProgressMonitorWithBlocking) pm_).setBlocked(reason);
266 //Do not give a shell as we want it to block until it opens. 264 //Do not give a shell as we want it to block until it opens.
267 //FIXME 265 Dialog.getBlockedHandler().showBlocked(pm, reason, currentTask);
268 // Dialog.getBlockedHandler().showBlocked(pm, reason, currentTask);
269 } 266 }
270 }); 267 });
271 } 268 }
272 } 269 }