changevariablecommand.java

来自「Python Development Environment (Python I」· Java 代码 · 共 42 行

JAVA
42
字号
/*
 * Author: atotic
 * Created on Apr 30, 2004
 * License: Common Public License v1.0
 */
package org.python.pydev.debug.model.remote;


/**
 * ChangeVariable network command.
 * 
 * ChangeVariable gets the value of the variable from network as XML.
 */
public class ChangeVariableCommand extends AbstractDebuggerCommand {

	String locator;
	boolean isError = false;
	int responseCode;
	String payload;
    String expression;

	public ChangeVariableCommand(AbstractRemoteDebugger debugger, String locator, String expression) {
		super(debugger);
		this.locator = locator;
        this.expression = expression;
	}

	public String getOutgoing() {
		return makeCommand(getCommandId(), sequence, locator+"\t"+expression);
	}

	public boolean needResponse() {
		return false;
	}

	protected int getCommandId() {
		return CMD_CHANGE_VARIABLE;
	}
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?