mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Javadoc improvements
This commit is contained in:
parent
a16d5c8cbd
commit
d50bf482b2
1 changed files with 16 additions and 4 deletions
|
@ -42,6 +42,9 @@ public class VariableCellModifier extends WatchExpressionCellModifier {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.dsf.debug.ui.viewmodel.expression.WatchExpressionCellModifier#canModify(java.lang.Object, java.lang.String)
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean canModify(Object element, String property) {
|
public boolean canModify(Object element, String property) {
|
||||||
// If we're in the column value, modify the register data. Otherwise, call the super-class to edit
|
// If we're in the column value, modify the register data. Otherwise, call the super-class to edit
|
||||||
|
@ -60,6 +63,9 @@ public class VariableCellModifier extends WatchExpressionCellModifier {
|
||||||
return super.canModify(element, property);
|
return super.canModify(element, property);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.dsf.debug.ui.viewmodel.expression.WatchExpressionCellModifier#getValue(java.lang.Object, java.lang.String)
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Object getValue(Object element, String property) {
|
public Object getValue(Object element, String property) {
|
||||||
// If we're in the column value, modify the variable value. Otherwise, call the super-class to edit
|
// If we're in the column value, modify the variable value. Otherwise, call the super-class to edit
|
||||||
|
@ -95,12 +101,18 @@ public class VariableCellModifier extends WatchExpressionCellModifier {
|
||||||
return super.getValue(element, property);
|
return super.getValue(element, property);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.dsf.debug.ui.viewmodel.expression.WatchExpressionCellModifier#modify(java.lang.Object, java.lang.String, java.lang.Object)
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void modify(Object element, String property, Object value) {
|
public void modify(Object element, String property, Object value) {
|
||||||
/*
|
/*
|
||||||
* If we're in the column value, modify the register data. Otherwise, call the super-class to edit
|
* If we're in the Value column, modify the variable/register data. The
|
||||||
* the watch expression.
|
* other columns in the Variables and Registers view are non-modifiable.
|
||||||
*/
|
* If we're called for another column, pass the request to our super
|
||||||
|
* class; the column is likely a column it handles (Expression, for
|
||||||
|
* example).
|
||||||
|
*/
|
||||||
if (IDebugVMConstants.COLUMN_ID__VALUE.equals(property)) {
|
if (IDebugVMConstants.COLUMN_ID__VALUE.equals(property)) {
|
||||||
if (value instanceof String) {
|
if (value instanceof String) {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue