@Override protected String getLabel(TreePath elementPath, IPresentationContext presentationContext, String columnId, int columnIndex) throws CoreException { if (columnIndex == 0) return super.getLabel(elementPath, presentationContext, columnId, columnIndex); else return IInternalDebugCoreConstants.EMPTY_STRING; }
@Override protected String getLabel(TreePath elementPath, IPresentationContext context, String columnId) throws CoreException { if (columnId == null || IDebugUIConstants.COLUMN_ID_VARIABLE_NAME.equals(columnId)) { return super.getLabel(elementPath, context, columnId); } else { return IInternalDebugCoreConstants.EMPTY_STRING; } }
@Override protected String getLabel(TreePath elementPath, IPresentationContext presentationContext, String columnId) throws CoreException { Object element = elementPath.getLastSegment(); if (element instanceof IMemoryBlock) return getLabel((IMemoryBlock)element); return super.getLabel(elementPath, presentationContext, columnId); }
@Override protected String getLabel(TreePath elementPath, IPresentationContext context, String columnId) throws CoreException { if (columnId == null) { return super.getLabel(elementPath, context, columnId); } else { IVariable variable = (IVariable) elementPath.getLastSegment(); IValue value = variable.getValue(); return getColumnText(variable, value, context, columnId); } }