From 1c3c25d982b551a9646cd51a99eea866659d0261 Mon Sep 17 00:00:00 2001 From: Randy Rohrbach Date: Tue, 4 Aug 2009 14:20:22 +0000 Subject: [PATCH] I removed the no longer supported nore required getModelData() routine. This is just cleanup in the example. I have not taken the time to create a bugzilla for this. Randy --- .../dsf/pda/service/PDARegisters.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java index 6a1132a08b1..829865a9934 100644 --- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java +++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java @@ -452,28 +452,6 @@ public class PDARegisters extends AbstractDsfService PDAPlugin.failRequest(rm, NOT_SUPPORTED, "Finding context not supported"); //$NON-NLS-1$ } - @SuppressWarnings("unchecked") - public void getModelData(IDMContext dmc, DataRequestMonitor rm) { - /* - * This is the method which is called when actual results need to be returned. We - * can be called either with a service DMC for which we return ourselves or we can - * be called with the DMC's we have handed out. If the latter is the case then we - * data mine by talking to the Debug Engine. - */ - - if (dmc instanceof RegisterGroupDMContext) { - getRegisterGroupData((RegisterGroupDMContext)dmc, (DataRequestMonitor)rm); - } else if (dmc instanceof RegisterDMContext) { - getRegisterData((RegisterDMContext)dmc, (DataRequestMonitor)rm); - } else if (dmc instanceof BitFieldDMContext) { - getBitFieldData((BitFieldDMContext) dmc, (DataRequestMonitor)rm); - } else if (dmc instanceof FormattedValueDMContext) { - getFormattedExpressionValue((FormattedValueDMContext)dmc, (DataRequestMonitor)rm); - } else { - PDAPlugin.failRequest(rm, INVALID_HANDLE, "Unknown DMC type"); //$NON-NLS-1$ - } - } - public void getFormattedExpressionValue(FormattedValueDMContext dmc, DataRequestMonitor rm) { fExpressions.getFormattedExpressionValue(dmc, rm); }