Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324035 - edc - extend IconAndMessageDialog.java to present multiline status with log/error details
Summary: edc - extend IconAndMessageDialog.java to present multiline status with log/e...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 7.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 17:20 EDT by Kirk Beitz CLA
Modified: 2012-05-22 16:08 EDT (History)
1 user (show)

See Also:


Attachments
new class to extend IconAndMessageAndDetails to provide multiline info or log to user. (9.82 KB, text/plain)
2010-08-30 17:20 EDT, Kirk Beitz CLA
cdtdoug: iplog+
kirk.beitz: review?
Details

Note You need to log in before you can comment on or make changes to this bug.
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.