1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

rename of CDIExpressionManager to VariableManager

This commit is contained in:
Alain Magloire 2002-08-16 19:27:49 +00:00
parent c8b6bb301b
commit 53ea3f20c4
4 changed files with 18 additions and 18 deletions

View file

@ -59,7 +59,7 @@ public interface ICDISession
*
* @return the expression manager
*/
ICDIVariableManager getExpressionManager();
ICDIVariableManager getVariableManager();
/**
* Returns the memory manager of this debug session.

View file

@ -12,7 +12,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDIBreakpointManager;
import org.eclipse.cdt.debug.core.cdi.ICDIDebugConfiguration;
import org.eclipse.cdt.debug.core.cdi.ICDIEventManager;
import org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager;
import org.eclipse.cdt.debug.core.cdi.ICDIVariableManager;
import org.eclipse.cdt.debug.core.cdi.ICDIMemoryManager;
import org.eclipse.cdt.debug.core.cdi.ICDIRuntimeOptions;
import org.eclipse.cdt.debug.core.cdi.ICDISession;
@ -31,7 +31,7 @@ public class CSession implements ICDISession, ICDISessionObject {
MISession session;
BreakpointManager breakpointManager;
EventManager eventManager;
ExpressionManager expressionManager;
VariableManager expressionManager;
MemoryManager memoryManager;
SignalManager signalManager;
SourceManager sourceManager;
@ -43,7 +43,7 @@ public class CSession implements ICDISession, ICDISessionObject {
breakpointManager = new BreakpointManager(this);
eventManager = new EventManager(this);
s.addObserver(eventManager);
expressionManager = new ExpressionManager(this);
expressionManager = new VariableManager(this);
memoryManager = new MemoryManager(this);
signalManager = new SignalManager(this);
sourceManager = new SourceManager(this);
@ -84,9 +84,9 @@ public class CSession implements ICDISession, ICDISessionObject {
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDISession#getExpressionManager()
* @see org.eclipse.cdt.debug.core.cdi.ICDISession#getVariableManager()
*/
public ICDIExpressionManager getExpressionManager() {
public ICDIVariableManager getVariableManager() {
return expressionManager;
}

View file

@ -9,7 +9,7 @@ import java.util.ArrayList;
import java.util.List;
import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager;
import org.eclipse.cdt.debug.core.cdi.ICDIVariableManager;
import org.eclipse.cdt.debug.core.cdi.ICDISession;
import org.eclipse.cdt.debug.core.cdi.model.ICDIExpression;
import org.eclipse.cdt.debug.core.cdi.model.ICDIGlobalVariable;
@ -393,7 +393,7 @@ public class CTarget implements ICDITarget {
*/
public ICDIValue evaluateExpressionToValue(String expressionText)
throws CDIException {
ICDIExpressionManager mgr = session.getExpressionManager();
ICDIVariableManager mgr = session.getVariableManager();
ICDIExpression cexp = mgr.createExpression(expressionText);
ICDIValue value = cexp.getValue();
mgr.removeExpression(cexp);

View file

@ -10,7 +10,7 @@ import java.util.List;
import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDICondition;
import org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager;
import org.eclipse.cdt.debug.core.cdi.ICDIVariableManager;
import org.eclipse.cdt.debug.core.cdi.model.ICDIExpression;
import org.eclipse.cdt.debug.mi.core.MIException;
import org.eclipse.cdt.debug.mi.core.MISession;
@ -28,18 +28,18 @@ import org.eclipse.cdt.debug.mi.core.output.MIVarCreateInfo;
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public class ExpressionManager
public class VariableManager
extends SessionObject
implements ICDIExpressionManager {
implements ICDIVariableManager {
List expList;
public ExpressionManager(CSession session) {
public VariableManager(CSession session) {
super(session);
expList = new ArrayList();
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager#getExpression(String)
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getExpression(String)
*/
public ICDIExpression getExpression(String expressionId)
throws CDIException {
@ -53,14 +53,14 @@ public class ExpressionManager
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager#getExpressions()
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#getExpressions()
*/
public ICDIExpression[] getExpressions() throws CDIException {
return (ICDIExpression[]) expList.toArray(new ICDIExpression[0]);
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager#removeExpression(ICDIExpression)
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#removeExpression(ICDIExpression)
*/
public void removeExpression(ICDIExpression expression)
throws CDIException {
@ -80,7 +80,7 @@ public class ExpressionManager
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager#removeExpressions(ICDIExpression[])
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#removeExpressions(ICDIExpression[])
*/
public void removeExpressions(ICDIExpression[] expressions)
throws CDIException {
@ -90,7 +90,7 @@ public class ExpressionManager
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager#createExpression(String)
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#createExpression(String)
*/
public ICDIExpression createExpression(String expressionId)
throws CDIException {
@ -113,7 +113,7 @@ public class ExpressionManager
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDIExpressionManager#createCondition(int, String)
* @see org.eclipse.cdt.debug.core.cdi.ICDIVariableManager#createCondition(int, String)
*/
public ICDICondition createCondition(int ignoreCount, String expression) {
return new Condition(ignoreCount, expression);