# Variable Value Editors

###### Identifier:

org.eclipse.debug.ui.variableValueEditors

###### Since:

3.1

###### Description:

This extension point provides a mechanism for contributing variable value editors for a particular debug model. Variable value editors are used to edit/save variable values. When the user invokes the "Change Value..." or "Assign Value" (details pane) actions on a variable in the Variables view, the contributed `org.eclipse.debug.ui.actions.IVariableValueEditor` will be invoked to change the value.

###### Configuration Markup:

<!ELEMENT extension (variableValueEditor+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT variableValueEditor EMPTY>

<!ATTLIST variableValueEditor

class CDATA #REQUIRED

modelId CDATA #REQUIRED

priority CDATA #IMPLIED>

- class - Implementation of `org.eclipse.debug.ui.actions.IVariableValueEditor`
- modelId - The debug model identifier for which the given variable value editor is applicable.
- priority - Optional integer number 0 to 10 describing priority of this extension, with 0 being the lowest priority. If values outside of [0,10] range are specified, they are replaced with appropriate limits, any non integer values are ignored and zero (lowest priority) is used. If multiple contributions have the same priority, an arbitrary contribution among them will be selected.

###### Examples:

       <extension
             point="org.eclipse.debug.ui.variableValueEditors">
          <variableEditor
             modelId="com.examples.myDebugModel"
             class="com.examples.variables.MyVariableValueEditor"/>
       </extension>

###### API Information:

Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.debug.ui.actions.IVariableValueEditor.

Copyright (c) 2004, 2005 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0