Skip to main content



      Home
Home » Modeling » EMF » [xcore] find references for juno?
[xcore] find references for juno? [message #825713] Wed, 21 March 2012 02:51 Go to next message
Eclipse UserFriend
Hi,

I've noticed that certain UI actions in the Xcore editor haven't been fully
implemented yet. For instance the find references action doesn't find
references in Xtend files which refer to the Java classes and methods
generated for the XClasses, XOperations, etc. Similarly hitting F3 in the
Xtend editor on a reference like this will actually open the Xcore editor, but
it won't select the corresponding location in the file.

After a short investigation I found that part of the reason is that some
operations in XcoreModelAssociator have been mocked. Since this mocking
apparently is intentional I was wondering if there are plans to fully
implement features like find references for Juno.

Regards,

--knut
Re: [xcore] find references for juno? [message #825730 is a reply to message #825713] Wed, 21 March 2012 03:26 Go to previous message
Eclipse UserFriend
Knut,

I was working on refactoring, which integrates with Java refactoring,
but it works so poorly with the current base frameworks currently
limitations (I opened several bugzillas) that it works better if the
associations to Java aren't known. For example, refactoring a feature
from x -> y, results in the getter being refactored from getX -> getY
and the refactoring for the setter, getY is completely ignored. This
just ends up making a mess...

I'm not sure it's possible to support the F3 and find use navigation
without also making refactoring behave poorly. In any case, please open
a bugzilla and I'll have a look.


On 21/03/2012 7:51 AM, Knut Wannheden wrote:
> Hi,
>
> I've noticed that certain UI actions in the Xcore editor haven't been
> fully implemented yet. For instance the find references action doesn't
> find references in Xtend files which refer to the Java classes and
> methods generated for the XClasses, XOperations, etc. Similarly
> hitting F3 in the Xtend editor on a reference like this will actually
> open the Xcore editor, but it won't select the corresponding location
> in the file.
>
> After a short investigation I found that part of the reason is that
> some operations in XcoreModelAssociator have been mocked. Since this
> mocking apparently is intentional I was wondering if there are plans
> to fully implement features like find references for Juno.
>
> Regards,
>
> --knut
Previous Topic:Defining a new DataType for EMF/Ecore in UML
Next Topic:Bind CTRL+C to CopyAction
Goto Forum:
  


Current Time: Sun Jul 13 14:12:18 EDT 2025

Powered by FUDForum. Page generated in 0.25192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top