1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

[202852] Switched to using ViewerDataRequestMonitor.

This commit is contained in:
Pawel Piech 2008-05-13 17:01:59 +00:00
parent a437c66f4b
commit 84def940c0

View file

@ -14,7 +14,6 @@ package org.eclipse.dd.gdb.internal.ui.viewmodel.launch;
import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.RejectedExecutionException;
import org.eclipse.dd.dsf.concurrent.DataRequestMonitor;
import org.eclipse.dd.dsf.concurrent.DsfRunnable; import org.eclipse.dd.dsf.concurrent.DsfRunnable;
import org.eclipse.dd.dsf.concurrent.RequestMonitor; import org.eclipse.dd.dsf.concurrent.RequestMonitor;
import org.eclipse.dd.dsf.datamodel.DMContexts; import org.eclipse.dd.dsf.datamodel.DMContexts;
@ -192,7 +191,7 @@ public class ContainerVMNode extends AbstractDMVMNode
if ( runControl != null ) { if ( runControl != null ) {
runControl.getProcessData( runControl.getProcessData(
procDmc, procDmc,
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) { new ViewerDataRequestMonitor<GDBProcessData>(runControl.getExecutor(), request) {
@Override @Override
protected void handleCompleted() { protected void handleCompleted() {
if ( getStatus().isOK() ) { if ( getStatus().isOK() ) {
@ -244,7 +243,7 @@ public class ContainerVMNode extends AbstractDMVMNode
if ( runControl != null ) { if ( runControl != null ) {
runControl.getProcessData( runControl.getProcessData(
procDmc, procDmc,
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) { new ViewerDataRequestMonitor<GDBProcessData>(runControl.getExecutor(), request) {
@Override @Override
protected void handleCompleted() { protected void handleCompleted() {
if ( getStatus().isOK() ) { if ( getStatus().isOK() ) {