Bug 261861 [Markers] QuickFix dialog doesn't show Location properly
Build ID: M20080911-1700 In the Problems view I have an error which 'Location' is the name of a file instead of a line number. If I open the QuickFix window it displays 'Unknown' in the 'Location' column instead of the file name, as it is showed in the problems view. I think the error is in org.eclipse.ui.internal.views.markers.QuickFixPage class. There, in createMarkerTable(Composite control) method, when creating a new ITableLabelProvider, you are getting the column text using IMarker.LINE_NUMBER instead of IMarker.LOCATION, which I guess would be the correct attribute.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/QuickFixPage.java
/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.internal.views.markers;
import java.lang.reflect.InvocationTargetException;
import java.util.Collection;
import java.util.Map;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclipse.jface.viewers.CheckboxTableViewer;
import org.eclipse.jface.viewers.ColumnWeightData;
import org.eclipse.jface.viewers.ICheckStateListener;