Bug 117213 - [navigation] URL Hyperlinking: open editor for "platform:/resource" URLs
Summary: [navigation] URL Hyperlinking: open editor for "platform:/resource" URLs
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 06:54 EST by Christopher Daly CLA
Modified: 2019-09-06 16:18 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 Christopher Daly CLA 2005-11-20 06:54:44 EST
URLHyperlinkDetector looks for the sequence "://" and URLHyperlink.open() opens
a web browser with the URL.

It could be useful if "platform:" URLs like "platform:/resource/..." were
accepted by the detector and the open() method opened an editor for the
resource.  Platform URLs don't have an authority so the "://" would have to be
relaxed to ":/" or perhaps have a special check for "platform:/".

Note: class URLHyperlinkDetector exists in 2 plugins (org.eclipse.jface.text and
org.eclipse.ui.editors) and I think the intention is to keep the implementation
of the two the same.  But maybe Jface is supposed to be independent of the
platform and this shouldn't apply there?
Comment 1 Dani Megert CLA 2005-11-21 09:55:54 EST
>Note: class URLHyperlinkDetector exists in 2 plugins (org.eclipse.jface.text and
>org.eclipse.ui.editors)...
This is no longer a problem with the code in HEAD.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:18:02 EDT
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.