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:
parent
a437c66f4b
commit
84def940c0
1 changed files with 2 additions and 3 deletions
|
@ -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() ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue