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

Bug 339769

Summary: [Markers] Problems view supports hyperlink in description message or in a new column
Product: [Eclipse Project] Platform Reporter: Winnie Lai <wlai>
Component: IDEAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: prakash, pwebster, remy.suen
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
initial proposed fix none

Description Winnie Lai CLA 2011-03-11 17:48:10 EST
Build Identifier: 3.7.0  I20110127-2034

We are looking for hyperlink support in problems view
(1) allows hyperlink inside description message
OR
(2) adds a new column (link/details/action) that supports hyperlink messages.

The view shows those hyperlinked messages with typical hyperlink style, i.e. underline a portion of the message with link color. When user clicks on a hyperlink, the view delegates to a contributor that implements the hyperlink.  The contributor then executes an action according to that.
In order to allow more flexible hyperlink behaviors, we are looking for a hyperlink interface similar to org.eclipse.ui.console.IHyperLink or IHyperLink2. That is the contributor will be called to act when mouse event enters and exits link region, and activates the link. 


Reproducible: Always
Comment 1 Winnie Lai CLA 2011-03-17 18:06:04 EDT
Created attachment 191475 [details]
initial proposed fix

This is an initial proposed fix. The activation of hyperlink in this initial fix is using cell editor to do it. I realize this is not good for three reasons, 1) I assume that a cell at most has one hyperlink. If there are more than one link, the activation goes to the first link.
2) If a cell has an original editor, the 'hacky' hyperlink editor takes over the original editing support. 
3) When mouse hovers on hyperlinks, there is no change of mouse cursor to hand cursor to indicate to users that they can click on those links.
I am working out using mosue events to make this better.
Comment 2 Winnie Lai CLA 2011-07-29 12:38:43 EDT
I am working on a patch for this enhancement, that is, allow one hyperlink in the description message that the user can click for opening a html page in a web browser.
Is this enhacnement only committed for eclipse 4.1? Would there be any chance it can also be committed for eclipse 3.7.1? I would like to know about the plan.
Comment 3 Remy Suen CLA 2011-07-29 12:42:10 EDT
(In reply to comment #2)
> Would there be any chance
> it can also be committed for eclipse 3.7.1?

It is very rare for new API or features to be added in a maintenance release. This would require approval from the PMC.
Comment 4 Paul Webster CLA 2011-07-29 21:40:25 EDT
(In reply to comment #2)
> Is this enhacnement only committed for eclipse 4.1? Would there be any chance
> it can also be committed for eclipse 3.7.1? I would like to know about the
> plan.

Our work is all in 4.2 now.  But for plugins that have not been "forked", like org.eclipse.ui.ide, the changes will show up in 3.8 builds as well.

By default, feature work does not go into 3.7.1, and API will definitely not be approved.

PW
Comment 5 Lars Vogel CLA 2019-11-14 03:50:55 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.