mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Formating and isEditable()
This commit is contained in:
parent
09a6b7e999
commit
cb3def3656
1 changed files with 13 additions and 8 deletions
|
@ -15,8 +15,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
*
|
*
|
||||||
* @since Jul 9, 2002
|
* @since Jul 9, 2002
|
||||||
*/
|
*/
|
||||||
public interface ICDIVariable extends ICDIObject
|
public interface ICDIVariable extends ICDIObject {
|
||||||
{
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of this variable.
|
* Returns the name of this variable.
|
||||||
*
|
*
|
||||||
|
@ -41,6 +40,12 @@ public interface ICDIVariable extends ICDIObject
|
||||||
*/
|
*/
|
||||||
ICDIValue getValue() throws CDIException;
|
ICDIValue getValue() throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if the value could be changed.
|
||||||
|
* @trhows CDIException if the method fails.
|
||||||
|
*/
|
||||||
|
boolean isEditable() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to set the value of this variable to the value of
|
* Attempts to set the value of this variable to the value of
|
||||||
* the given expression.
|
* the given expression.
|
||||||
|
@ -48,7 +53,7 @@ public interface ICDIVariable extends ICDIObject
|
||||||
* @param expression - an expression to generate a new value
|
* @param expression - an expression to generate a new value
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void setValue( String expression ) throws CDIException;
|
void setValue(String expression) throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the value of this variable to the given value.
|
* Sets the value of this variable to the given value.
|
||||||
|
@ -56,5 +61,5 @@ public interface ICDIVariable extends ICDIObject
|
||||||
* @param value - a new value
|
* @param value - a new value
|
||||||
* @throws CDIException if this method fails. Reasons include:
|
* @throws CDIException if this method fails. Reasons include:
|
||||||
*/
|
*/
|
||||||
void setValue( ICDIValue value ) throws CDIException;
|
void setValue(ICDIValue value) throws CDIException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue