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

Bug 314156

Summary: ILocationInFileProvider confusion
Product: [Modeling] TMF Reporter: Ed Willink <ed>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: 1.0.0Flags: sven.efftinge: helios+
Target Milestone: RC2   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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.