Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324035

Summary: edc - extend IconAndMessageDialog.java to present multiline status with log/error details
Product: [Tools] CDT Reporter: Kirk Beitz <kirk.beitz>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 7.0   
Target Milestone: 8.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
new class to extend IconAndMessageAndDetails to provide multiline info or log to user. cdtdoug: iplog+, kirk.beitz: review?

Description Kirk Beitz CLA 2010-08-30 17:20:13 EDT
Created attachment 177790 [details]
new class to extend IconAndMessageAndDetails to provide multiline info or log to user.

see attached IconAndMessageAndDetailsDialog.java .

from comments in attached file:

/**
 *  copied mostly verbatim from ErrorDialog, then changed out
 *  occurrences of {@link org.eclipse.swt.widgets.List} with
 *  {@link org.eclipse.swt.widgets.Text} so that one large details
 *  String could be passed and displayed
 *  <p><i>
 *  (ideally could have extended from ErrorDialog, except
 *  </i><code>ErrorDialog#showDetailsArea</code><i> was made final,
 *  and it calls</i> <code>private ErrorDialog#toggleDetailsArea</code>,
 *  which uses the</i> <code>SWT.List</code> <i>that the override
 *  would be replacing.)
 *  </i>
 *  
 * @see org.eclipse.jface.dialogs.ErrorDialog
 */
Comment 1 Ken Ryall CLA 2010-09-01 00:56:42 EDT
Committed to HEAD.