public interface IVariableValueEditor
org.eclipse.debug.ui.variableValueEditors
extension point.
Following is example plug-in XML for contributing a variable value editor.
<extension point="org.eclipse.debug.ui.variableValueEditors"> <variableEditor modelId="com.examples.myDebugModel" class="com.examples.variables.MyVariableValueEditor"/> </extension>The attributes are specified as follows:
modelId
the debug model identifier for which the given
variable value editor is applicableclass
fully qualified name of a class that implements
IVariableValueEditor
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
boolean |
editVariable(IVariable variable,
Shell shell)
Edits the given variable, if appropriate.
|
boolean |
saveVariable(IVariable variable,
String expression,
Shell shell)
Saves the given expression to the given variable, if appropriate.
|
boolean editVariable(IVariable variable, Shell shell)
variable
- the variable to editshell
- the currently active shell, which can be used to open a dialog
for the usertrue
if no more work should be done, false
if the debug
platform should prompt the user to edit the given variable using the default
variable editorboolean saveVariable(IVariable variable, String expression, Shell shell)
variable
- the variable to editexpression
- the expression to assign to the given variableshell
- the currently active shell, which can be used to report errors to the
user. May be null
if no active shell could be found.true
if no more work should be done, false
if the debug
platform should perform the default save operation
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.