diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java index 840200f04..6286da372 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java @@ -4,7 +4,7 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Wind River Systems - initial API and implementation * IBM Corporation - bug fixing @@ -18,12 +18,12 @@ import org.eclipse.jface.viewers.ICellModifier; /** * Watch expressions modifier can change the expression name but not its value. - * + * * @since 3.6 */ @SuppressWarnings("deprecation") public class WatchExpressionCellModifier implements ICellModifier { - + /* (non-Javadoc) * @see org.eclipse.jface.viewers.ICellModifier#canModify(java.lang.Object, java.lang.String) */ @@ -31,7 +31,7 @@ public class WatchExpressionCellModifier implements ICellModifier { public boolean canModify(Object element, String property) { if (VariableColumnPresentation.COLUMN_VARIABLE_NAME.equals(property)) { return element instanceof IWatchExpression; - } + } return false; } @@ -42,7 +42,7 @@ public class WatchExpressionCellModifier implements ICellModifier { public Object getValue(Object element, String property) { if (VariableColumnPresentation.COLUMN_VARIABLE_NAME.equals(property)) { return DefaultLabelProvider.escapeSpecialChars( ((IWatchExpression)element).getExpressionText() ); - } + } return null; } @@ -56,8 +56,8 @@ public class WatchExpressionCellModifier implements ICellModifier { if (VariableColumnPresentation.COLUMN_VARIABLE_NAME.equals(property)) { if (element instanceof IWatchExpression) { if (value instanceof String) { - // The value column displays special characters - // escaped, so encode the string with any special + // The value column displays special characters + // escaped, so encode the string with any special // characters escaped properly String expressionText = DefaultLabelProvider.encodeEsacpedChars((String)value); IWatchExpression expression = (IWatchExpression) element; |