Bug 36511 call hierarchy: details list should be a table with icons
details list should be a table with icons - we can reuse the icons used by 'find in file'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/LocationLabelProvider.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *   Jesper Kamstrup Linnet (eclipse@kamstrup-linnet.dk) - initial API and implementation 
 * 			(report 36180: Callers/Callees view)
 ******************************************************************************/
package org.eclipse.jdt.internal.ui.callhierarchy;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jdt.internal.corext.callhierarchy.CallLocation;
class LocationLabelProvider extends LabelProvider {
    /* (non-Javadoc)
     * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)
     */
    public String getText(Object element) {
        if (element instanceof CallLocation) {
            CallLocation callLocation = (CallLocation) element;
            return removeWhitespaceOutsideStringLiterals(callLocation.toString());
        }
        return super.getText(element);
    }