public abstract class JavaValueModifier extends XValueModifier
Modifier and Type | Class and Description |
---|---|
protected static interface |
JavaValueModifier.SetValueRunnable |
XValueModifier.XInitialValueCallback, XValueModifier.XModificationCallback
Constructor and Description |
---|
JavaValueModifier(JavaValue javaValue) |
Modifier and Type | Method and Description |
---|---|
void |
calculateInitialValueEditorText(XValueModifier.XInitialValueCallback callback)
Asynchronously calculates initial value
|
protected static com.sun.jdi.Value |
preprocessValue(EvaluationContextImpl context,
com.sun.jdi.Value value,
com.sun.jdi.Type varType) |
protected void |
set(XExpression expression,
XValueModifier.XModificationCallback callback,
DebuggerContextImpl debuggerContext,
JavaValueModifier.SetValueRunnable setValueRunnable) |
void |
setValue(XExpression expression,
XValueModifier.XModificationCallback callback)
Start modification of the value.
|
protected abstract void |
setValueImpl(XExpression expression,
XValueModifier.XModificationCallback callback) |
protected static void |
update(DebuggerContextImpl context) |
getInitialValueEditorText, setValue
public JavaValueModifier(JavaValue javaValue)
public void calculateInitialValueEditorText(XValueModifier.XInitialValueCallback callback)
XValueModifier
calculateInitialValueEditorText
in class XValueModifier
protected static void update(DebuggerContextImpl context)
protected abstract void setValueImpl(XExpression expression, XValueModifier.XModificationCallback callback)
public void setValue(XExpression expression, XValueModifier.XModificationCallback callback)
XValueModifier
setValue
in class XValueModifier
expression
- new valuecallback
- used to notify that value has been successfully modified or an error occursprotected static com.sun.jdi.Value preprocessValue(EvaluationContextImpl context, com.sun.jdi.Value value, com.sun.jdi.Type varType) throws EvaluateException
EvaluateException
protected void set(XExpression expression, XValueModifier.XModificationCallback callback, DebuggerContextImpl debuggerContext, JavaValueModifier.SetValueRunnable setValueRunnable)