Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.core.model
Interface IValueModification

All Known Subinterfaces:
IRegister, IVariable

public interface IValueModification

Provides the ability to modify the value of a variable in a target.

Clients may implement this interface.

See Also:
IVariable

Method Summary
 void setValue ( IValue value)
          Sets the value of this variable to the given value.
 void setValue ( String expression)
          Attempts to set the value of this variable to the value of the given expression.
 boolean supportsValueModification ()
          Returns whether this variable supports value modification.
 boolean verifyValue ( IValue value)
          Returns whether the given value can be used as a new value for this variable.
 boolean verifyValue ( String expression)
          Returns whether the given expression is valid to be used in setting a new value for this variable.
 

Method Detail

setValue

void setValue(
String expression)
              throws 
DebugException
Attempts to set the value of this variable to the value of the given expression.

Parameters:
expression - an expression to generate a new value
Throws:
DebugException - on failure. Reasons include:
  • TARGET_REQUEST_FAILED - The request failed in the target
  • NOT_SUPPORTED - The capability is not supported by the target

setValue

void setValue(
IValue value)
              throws 
DebugException
Sets the value of this variable to the given value.

Parameters:
value - a new value
Throws:
DebugException - on failure. Reasons include:
  • TARGET_REQUEST_FAILED - The request failed in the target
  • NOT_SUPPORTED - The capability is not supported by the target
Since:
2.0

supportsValueModification

boolean supportsValueModification()
Returns whether this variable supports value modification.

Returns:
whether this variable supports value modification

verifyValue

boolean verifyValue(
String expression)
                    throws 
DebugException
Returns whether the given expression is valid to be used in setting a new value for this variable.

Parameters:
expression - an expression to generate a new value
Returns:
whether the expression is valid
Throws:
DebugException - on failure. Reasons include:
  • TARGET_REQUEST_FAILED - The request failed in the target
  • NOT_SUPPORTED - The capability is not supported by the target

verifyValue

boolean verifyValue(
IValue value)
                    throws 
DebugException
Returns whether the given value can be used as a new value for this variable.

Parameters:
value - a new value
Returns:
whether the value is valid
Throws:
DebugException - on failure. Reasons include:
  • TARGET_REQUEST_FAILED - The request failed in the target
  • NOT_SUPPORTED - The capability is not supported by the target
Since:
2.0

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire