Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2009-03-12 00:28:15 -0400
committerPawel Piech2009-03-12 00:28:15 -0400
commitf340cd59085d14a070a460ec97d8aa36902dc2bf (patch)
tree8fcf3437f5e563ef9ef696f896c96c3bf699f706 /dsf/org.eclipse.cdt.examples.dsf.pda
parent4387402833897f71c86e77641d7932ad9bd15162 (diff)
downloadorg.eclipse.cdt-f340cd59085d14a070a460ec97d8aa36902dc2bf.tar.gz
org.eclipse.cdt-f340cd59085d14a070a460ec97d8aa36902dc2bf.tar.xz
org.eclipse.cdt-f340cd59085d14a070a460ec97d8aa36902dc2bf.zip
[266588] - Removed deprecated methods.
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/PDAExpressions.java12
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java14
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAStack.java15
3 files changed, 0 insertions, 41 deletions
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java
index d7991483bc..09a8347db2 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java
@@ -510,18 +510,6 @@ public class PDAExpressions extends AbstractDsfService implements ICachingServic
}
}
- @SuppressWarnings("unchecked")
- @Deprecated
- public void getModelData(IDMContext dmc, DataRequestMonitor<?> rm) {
- if (dmc instanceof IExpressionDMContext) {
- getExpressionData((IExpressionDMContext) dmc, (DataRequestMonitor<IExpressionDMData>) rm);
- } else if (dmc instanceof FormattedValueDMContext) {
- getFormattedExpressionValue((FormattedValueDMContext) dmc, (DataRequestMonitor<FormattedValueDMData>) rm);
- } else {
- PDAPlugin.failRequest(rm, INVALID_HANDLE, "Unknown DMC type");
- }
- }
-
@DsfServiceEventHandler
public void eventDispatched(IResumedDMEvent e) {
// Mark the cache as not available, so that data retrieval commands
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java
index 29772539cd..65882bfb56 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java
@@ -22,7 +22,6 @@ import org.eclipse.cdt.dsf.concurrent.IDsfStatusConstants;
import org.eclipse.cdt.dsf.concurrent.Immutable;
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
import org.eclipse.cdt.dsf.datamodel.AbstractDMEvent;
-import org.eclipse.cdt.dsf.datamodel.IDMContext;
import org.eclipse.cdt.dsf.datamodel.IDMEvent;
import org.eclipse.cdt.dsf.debug.service.IRunControl;
import org.eclipse.cdt.dsf.debug.service.command.IEventListener;
@@ -285,19 +284,6 @@ public class PDARunControl extends AbstractDsfService
super.shutdown(rm);
}
- @Deprecated
- @SuppressWarnings("unchecked")
- public void getModelData(IDMContext dmc, DataRequestMonitor<?> rm) {
- // The getModelData() is deprecated and clients are expected to switch
- // to getExecutionData() and other data retrieve methods directly.
- // However the UI cache still uses it for now.
- if (dmc instanceof IExecutionDMContext) {
- getExecutionData((IExecutionDMContext)dmc, (DataRequestMonitor<IExecutionDMData>)rm);
- } else {
- PDAPlugin.failRequest(rm, INVALID_HANDLE, "Unknown DMC type");
- }
- }
-
public void eventReceived(Object output) {
if (!(output instanceof String)) return;
String event = (String)output;
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAStack.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAStack.java
index ac6c401f63..5e86e56cb3 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAStack.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAStack.java
@@ -434,21 +434,6 @@ public class PDAStack extends AbstractDsfService implements IStack, ICachingServ
IExecutionDMContext execCtx = DMContexts.getAncestorOfType(context, IExecutionDMContext.class);
return execCtx != null && (fRunControl.isSuspended(execCtx) || (fRunControl.isStepping(execCtx)));
}
-
- @SuppressWarnings("unchecked")
- @Deprecated
- public void getModelData(IDMContext dmc, DataRequestMonitor<?> rm) {
- // The getModelData() is deprecated and clients are expected to switch
- // to getExecutionData() and other data retrieve methods directly.
- // However the UI cache still uses it for now.
- if (dmc instanceof IFrameDMContext) {
- getFrameData((IFrameDMContext)dmc, (DataRequestMonitor<IFrameDMData>)rm);
- } else if (dmc instanceof IVariableDMContext) {
- getVariableData((IVariableDMContext)dmc, (DataRequestMonitor<IVariableDMData>)rm);
- } else {
- PDAPlugin.failRequest(rm, IDsfStatusConstants.INVALID_HANDLE, "Unknown context type");
- }
- }
/**
* Returns a frame context for the given thread and level;

Back to the top