1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Deprecate method

The method AbstractMIControl.getControlDMContext() has been deprecated.
I has been replaced by ICommandControlService.getContext().  It should
have been deprecated at the same time as when
GDBControl.getControlDMContext() was deprecated, but was forgotten.

Change-Id: Ib568fce51b29455281a3d26b5ace914b9f4dece8
This commit is contained in:
Marc Khouzam 2015-10-13 10:39:08 -04:00
parent e3496e1246
commit 65f9144e0f

View file

@ -40,6 +40,7 @@ import org.eclipse.cdt.dsf.datamodel.IDMContext;
import org.eclipse.cdt.dsf.debug.service.IRunControl;
import org.eclipse.cdt.dsf.debug.service.IStack.IFrameDMContext;
import org.eclipse.cdt.dsf.debug.service.command.ICommand;
import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService;
import org.eclipse.cdt.dsf.debug.service.command.ICommandListener;
import org.eclipse.cdt.dsf.debug.service.command.ICommandResult;
import org.eclipse.cdt.dsf.debug.service.command.ICommandToken;
@ -482,6 +483,8 @@ public abstract class AbstractMIControl extends AbstractDsfService
@Override
public void removeEventListener(IEventListener processor) { fEventProcessors.remove(processor); }
/** @deprecated Replaced with {@link ICommandControlService#getContext()} */
@Deprecated
abstract public MIControlDMContext getControlDMContext();
/**