Bug 179373 - [StatusHandling] Allow passing an IStatus with Explanantion and Action
Summary: [StatusHandling] Allow passing an IStatus with Explanantion and Action
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on: 205194
Blocks:
  Show dependency tree
 
Reported: 2007-03-26 15:36 EDT by Christophe Elek CLA
Modified: 2008-03-28 07:28 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Elek CLA 2007-03-26 15:36:11 EDT
One of the best pratice in UI is to present the user with the 

Message:
Explanation:
Action:

Right now we can 'fake' it by passing a very long message with "\r\n\r\nExpplanation:" 
We should think of a better way to handle IStatus who can contain Explanation and Action. 

This is an Enhancement
Comment 1 Szymon Brandys CLA 2007-04-16 08:39:13 EDT
It needs API changes. I will mark it for 3.4.
Comment 2 Krzysztof Daniel CLA 2007-06-22 11:27:50 EDT
Chris, what do you mean by 'Action'? 
Is that text or jface action that user can invoke?
Comment 3 Christophe Elek CLA 2007-06-22 14:19:20 EDT
Hey, An error message has multiple part

The message itself: File not found {0}
The explanation of the message: The file {0} was not found on the file system
The user action: Please check your file system to ensure the file is present. Check the spelling. Ensure the file is not read only and thta it is not opend by another application.

So the Action is a String/the Text
Comment 4 Krzysztof Daniel CLA 2008-02-26 11:07:33 EST
It is possible to pass StatusAdapter with Explanation and Hint. 
It is possible to configure WorkbenchStatusDialog with custom details area provider, that will display those data (see fix for bug 191684).

I am not going to implement explanation and hint on the dialog.

Struggling between 'FIXED' and 'WONTFIX'. Szymon?
Comment 5 Krzysztof Daniel CLA 2008-02-26 11:19:03 EST
After consultation with Szymon marking as fixed (the possibility is there, see comment 4)
Comment 6 Krzysztof Daniel CLA 2008-03-28 07:28:01 EDT
28-03-2008 verified by code inspection