Community
Participate
Working Groups
IReferenceFinder was part of the Xtext 2.0 (Indigo) public API. Since M4 it has vanished (the MDT/OCL Tools build now fails). Please restore it.
Correction: the @SuppressWarnings all makes it appear like public API. Where has it gone/what is the replacement?
Hi Ed, In Git HEAD the IReferenceFinder was just moved (see http://git.eclipse.org/c/tmf/org.eclipse.xtext.git/commit/?id=369599335b14f770814c31acc9274a13bd1442c5) from the package org.eclipse.xtext.ui.editor.findrefs to org.eclipse.xtext.ui.findrefs (still marked as internal). But in all previous release builds it should still more or less be the same API as it was in the 2.0 release.
Looks like you don't need API tooling if MDT/OCL depends on you ;-) I moved the classes/interfaces as I wanted to separate the search UI stuff from the more generic, editor independent find references stuff. Given your feedback and the way the implementation has evolved, I am inclined to move these back...
(In reply to comment #3) > Looks like you don't need API tooling if MDT/OCL depends on you ;-) I suspect that MDT/OCL is only sensitive to 25% of the potential API. > > I moved the classes/interfaces as I wanted to separate the search UI stuff from > the more generic, editor independent find references stuff. Given your feedback > and the way the implementation has evolved, I am inclined to move these back... No, do what you think is best. I added the reference finder stuff at M7, but I'm not sure that it really worked, you were still evolving. I just never got round to deleting it. Until Buckminster stops giving ridiculously narrow default version ranges MDT/OCL builds are single train only.
(In reply to comment #4) > > and the way the implementation has evolved, I am inclined to move these back... > > No, do what you think is best. There might be an API issue for Indigo SR2. MDT/OCL should not change dependencies from the main Indigo release, so if Xtext provides a changed 'internal' API for e.g. Xtext 2.2.1 SR2 and advertises this as the Indigo SR2 release, a situation could arise whereby MDT/OCL users require the non-SR2 Xtext release. No problem if the restructuring makes it's first appearance in Juno.
I give in. Moved the classes back to have peace during my holidays :-)
(In reply to comment #6) > I give in. Moved the classes back to have peace during my holidays :-) If you're going to move them back please do so. At the moment we're broken because they've moved. If we correct them we'll be broken again when you move back.
Closing all bugs that were set to RESOLVED before Neon.0