Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Get current project in custom action

I would look at the code for "Open Declaration" in the Java editor. But I assume it gets the current selection and goes from there.

On Fri, Jan 8, 2016 at 6:21 PM, David Karr <davidmichaelkarr@xxxxxxxxx> wrote:
While in a custom editor action, how can I get the current project that the file in the editor view resides within?

My posting on the forum has more detail, but the previous statement is the main question: .

I would assume the "Open Declaration" action in the Java editor has to deal with a similar problem.  If the component is defined with the same name in multiple projects, I assume it would prefer to show the component from the same project as the current file in the editor view belongs to.  So how does it do that?

eclipse-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top