MVC Pattern: see caller of an interface method

已回答

I have a GWT project. I use the following structure:

I have a "View" which is an interface. I have a "ViewImpl" which is my GUI and implements the "View" interface.

I have an "Activity" which only knows the "View" interface and calls methods from it.

Now, in my "ViewImpl", I have a method which is defined in the "View" and called by the "Activity". I want to see in the "ViewImpl" class who calls this method. I used "Alt + F7", "Ctrl + Alt + H" and other shortcuts, but no luck.

I expect something like "Show references" in Eclipse. I want to see that the "Activity" effectively calls this method via the "View".

0

Could you please share a small sample project to reproduce the find usages issue? Thanks.

0

Hi Serge,

I created a sample project, and the feature "Find usages" worked as expected.

I also looked at my huge enterprise project, and now it works there, too. Maybe I was blind yesterday... Consider this problem solved. :-)

0

请先登录再写评论。