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 org.eclipse.dd.dsf.concurrent.DataRequestMonitor;
import org.eclipse.dd.dsf.concurrent.DsfRunnable;
import org.eclipse.dd.dsf.concurrent.RequestMonitor;
import org.eclipse.dd.dsf.datamodel.DMContexts;
@ -192,7 +191,7 @@ public class ContainerVMNode extends AbstractDMVMNode
if ( runControl != null ) {
runControl.getProcessData(
procDmc,
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
new ViewerDataRequestMonitor<GDBProcessData>(runControl.getExecutor(), request) {
@Override
protected void handleCompleted() {
if ( getStatus().isOK() ) {
@ -244,7 +243,7 @@ public class ContainerVMNode extends AbstractDMVMNode
if ( runControl != null ) {
runControl.getProcessData(
procDmc,
new DataRequestMonitor<GDBProcessData>(runControl.getExecutor(), null) {
new ViewerDataRequestMonitor<GDBProcessData>(runControl.getExecutor(), request) {
@Override
protected void handleCompleted() {
if ( getStatus().isOK() ) {