Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314156 - ILocationInFileProvider confusion
Summary: ILocationInFileProvider confusion
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: RC2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 14:51 EDT by Ed Willink CLA
Modified: 2017-09-19 15:43 EDT (History)
1 user (show)

See Also:
sven.efftinge: helios+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2010-05-24 14:51:48 EDT
Xtext provides two copies of ILocationInFileProvider and DefaultLocationInFileProvider.

The help recommends an inject that should Override but there is nothing to override.

Using the org.eclipse.xtext.ui variant (recommended by the Help hyperlink) the user defined class is never invoked.

Using the org.eclipse.xtext.resource variant the user defined class is invoked during editor start up but not in response to F3.

Please clarify the help and deprecate the obsolete classes.

Plesase provide a clearer example of how to intercept hyperlinking.
Comment 1 Sven Efftinge CLA 2010-05-25 02:40:18 EDT
I have removed the two classes from the ui bundle, since they were obsolete and not referenced anywhere.
The org.eclipse.xtext.resource variant is to be used and there was a bug regarding F3 (see #311903)
Comment 2 Karsten Thoms CLA 2017-09-19 15:43:59 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.