Bug 76726 [Jobs][Progress] Redesign job error dialog
The job error dialog is very confusing. It shows two lists in a sort of master/detail paradigm. When you first see the error, you have to click on the first error listing in the top of the dialog to see the actual error message in the bottom of the dialog. This is not obvious. Furthermore, there is no text on the dialog to give users any help. Suggest that, if there is only one error reported, that you use the regular single error dialog (that dialog does appear if you click the 'job-errored' icon in the status line of the workbench). If multiple errors occur then use a multi-error dialog. And redesign a new multi-error dialog that is a little easier for the user to understand. Perhaps a listing of the errors in a FormText where the error title and error text could be displayed without the user clicking on each error individually (just an idea).
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
package org.eclipse.jface.dialogs;
/******************************************************************************* 
 * Copyright (c) 2000, 2004 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: 
 * 		IBM Corporation - initial API and implementation 
 * 		Sebastian Davids <sdavids@gmx.de> - Fix for bug 19346 - Dialog font should
 * 			be activated and used by other components.
 ******************************************************************************/
import java.util.Arrays;
import java.util.Iterator;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.swt.SWT;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.dnd.TextTransfer;
import org.eclipse.swt.dnd.Transfer;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;