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

Bug 354287

Summary: IReferenceFinder is inside the UI-Plugin
Product: [Modeling] TMF Reporter: Benjamin Schwertfeger <benjamin.schwertfeger>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.dietrich.opensource, sebastian.zarnekow
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Benjamin Schwertfeger CLA 2011-08-09 14:26:59 EDT
The Interface IReferenceFinder and the classes DefaultReferenceFinder, ReferenceQueryData and SimpleResourceAccess are located in the xtext.ui plugin, which is not required by the dependencies.

The classes should be moved to the package org.eclipse.xtext.findrefs or a similar one inside org.eclipse.xtext. This way it could be used to find references from the index without ui.
Comment 1 Sebastian Zarnekow CLA 2011-10-17 17:07:47 EDT
Could you please explain why the headless mode of Eclipse does not work for your usage of IReferenceFinder?
Comment 2 Sven Efftinge CLA 2012-11-22 07:59:54 EST
no response to comment 1