1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

[290980] Make VMViewerUpdate extend DsfExecutable

This commit is contained in:
John Cortell 2009-09-30 22:55:03 +00:00
parent 4158bd3712
commit ff63872f33

View file

@ -15,6 +15,7 @@ import java.util.List;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.atomic.AtomicBoolean;
import org.eclipse.cdt.dsf.concurrent.DsfExecutable;
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
import org.eclipse.cdt.dsf.internal.ui.DsfUIPlugin;
import org.eclipse.core.runtime.IStatus;
@ -37,7 +38,7 @@ import org.eclipse.jface.viewers.TreePath;
*
* @since 1.0
*/
public class VMViewerUpdate implements IViewerUpdate {
public class VMViewerUpdate extends DsfExecutable implements IViewerUpdate {
/**
* The request monitor to be called when this update is completed.
@ -169,6 +170,7 @@ public class VMViewerUpdate implements IViewerUpdate {
}
public void done() {
setSubmitted();
try {
if ( isCanceled() ) {
fRequestMonitor.cancel();