1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Added the "isArgument" method to ICVariable. This method is used to distinguish the arguments in the Variables View.

This commit is contained in:
Mikhail Khodjaiants 2003-10-06 21:08:43 +00:00
parent 994d18c7ab
commit 1149f60ff7
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-10-06 Mikhail Khodjaiants
Added the "isArgument" method to ICVariable. This method is used to distinguish
the arguments in the Variables View.
* ICVariable.java
* CVariable.java
2003-09-30 Mikhail Khodjaiants 2003-09-30 Mikhail Khodjaiants
Use the new 'equals' method of ICDIVaraiableObject to compare variables. Use the new 'equals' method of ICDIVaraiableObject to compare variables.
* CVariable.java * CVariable.java

View file

@ -31,4 +31,6 @@ public interface ICVariable extends IVariable
void setEnabled( boolean enabled ) throws DebugException; void setEnabled( boolean enabled ) throws DebugException;
boolean canEnableDisable(); boolean canEnableDisable();
boolean isArgument();
} }

View file

@ -981,7 +981,7 @@ public abstract class CVariable extends CDebugElement
} }
} }
protected boolean isArgument() public boolean isArgument()
{ {
return ( fOriginal != null ) ? ( fOriginal.getCDIVariableObject() instanceof ICDIArgumentObject ) : false; return ( fOriginal != null ) ? ( fOriginal.getCDIVariableObject() instanceof ICDIArgumentObject ) : false;
} }