diff options
author | Randy Rohrbach | 2009-08-04 14:20:22 +0000 |
---|---|---|
committer | Randy Rohrbach | 2009-08-04 14:20:22 +0000 |
commit | 1c3c25d982b551a9646cd51a99eea866659d0261 (patch) | |
tree | a8db5f5528e8e7278d07b947d66fc01d3425fa88 /dsf/org.eclipse.cdt.examples.dsf.pda | |
parent | a94dbe7bf6f1334c59775b61395bad63981ae4c1 (diff) | |
download | org.eclipse.cdt-1c3c25d982b551a9646cd51a99eea866659d0261.tar.gz org.eclipse.cdt-1c3c25d982b551a9646cd51a99eea866659d0261.tar.xz org.eclipse.cdt-1c3c25d982b551a9646cd51a99eea866659d0261.zip |
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
Diffstat (limited to 'dsf/org.eclipse.cdt.examples.dsf.pda')
-rw-r--r-- | dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java | 22 |
1 files changed, 0 insertions, 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<IRegisterGroupDMData>)rm); - } else if (dmc instanceof RegisterDMContext) { - getRegisterData((RegisterDMContext)dmc, (DataRequestMonitor<IRegisterDMData>)rm); - } else if (dmc instanceof BitFieldDMContext) { - getBitFieldData((BitFieldDMContext) dmc, (DataRequestMonitor<IBitFieldDMData>)rm); - } else if (dmc instanceof FormattedValueDMContext) { - getFormattedExpressionValue((FormattedValueDMContext)dmc, (DataRequestMonitor<FormattedValueDMData>)rm); - } else { - PDAPlugin.failRequest(rm, INVALID_HANDLE, "Unknown DMC type"); //$NON-NLS-1$ - } - } - public void getFormattedExpressionValue(FormattedValueDMContext dmc, DataRequestMonitor<FormattedValueDMData> rm) { fExpressions.getFormattedExpressionValue(dmc, rm); } |