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

[252107] - Coverted a DataRequestMonitor to ViewerDataRequestMonitor.

This commit is contained in:
Pawel Piech 2008-10-27 18:03:22 +00:00
parent 72c5c09e17
commit 1e56cfcda1

View file

@ -503,7 +503,9 @@ public class RegisterVMNode extends AbstractExpressionVMNode
* complete the request for a Formatted DMC we tell the Counting Request Monitor * complete the request for a Formatted DMC we tell the Counting Request Monitor
* we have completed one in the list. * we have completed one in the list.
*/ */
DataRequestMonitor<FormattedValueDMContext> rm = new DataRequestMonitor<FormattedValueDMContext>(dsfExecutor, null) { getFormattedDmcForReqister(
update, dmc,
new ViewerDataRequestMonitor<FormattedValueDMContext>(dsfExecutor, update) {
@Override @Override
public void handleCompleted() { public void handleCompleted() {
if ( getStatus().isOK() ) { if ( getStatus().isOK() ) {
@ -514,9 +516,7 @@ public class RegisterVMNode extends AbstractExpressionVMNode
} }
crm.done(); crm.done();
} }
}; });
getFormattedDmcForReqister(update, dmc, rm);
} else if (IDebugVMConstants.COLUMN_ID__TYPE.equals(localColumns[idx])) { } else if (IDebugVMConstants.COLUMN_ID__TYPE.equals(localColumns[idx])) {
IRegisterDMData data = getData(); IRegisterDMData data = getData();
String typeStr = "Unsigned"; //$NON-NLS-1$ String typeStr = "Unsigned"; //$NON-NLS-1$