1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Formating and isEditable()

This commit is contained in:
Alain Magloire 2002-08-20 04:12:30 +00:00
parent 09a6b7e999
commit cb3def3656

View file

@ -15,8 +15,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
*
* @since Jul 9, 2002
*/
public interface ICDIVariable extends ICDIObject
{
public interface ICDIVariable extends ICDIObject {
/**
* Returns the name of this variable.
*
@ -41,6 +40,12 @@ public interface ICDIVariable extends ICDIObject
*/
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
* the given expression.
@ -48,7 +53,7 @@ public interface ICDIVariable extends ICDIObject
* @param expression - an expression to generate a new value
* @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.
@ -56,5 +61,5 @@ public interface ICDIVariable extends ICDIObject
* @param value - a new value
* @throws CDIException if this method fails. Reasons include:
*/
void setValue( ICDIValue value ) throws CDIException;
void setValue(ICDIValue value) throws CDIException;
}