|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVariableValueEditor
A variable value editor allows the user to edit a variable's value.
Variable value editors are contributed for a debug model via the
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
IVariableValueEditorClients may implement this interface.
| Method Summary | |
|---|---|
boolean |
editVariable(IVariable variable,
Shell shell)
Edits the given variable, if appropriate. |
boolean |
saveVariable(IVariable variable,
java.lang.String expression,
Shell shell)
Saves the given expression to the given variable, if appropriate. |
| Method Detail |
|---|
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 user
true 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 editor
boolean saveVariable(IVariable variable,
java.lang.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
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.