Get the value of a selected java field in a eclipse view.

Posted by user325489 on Stack Overflow See other posts from Stack Overflow or by user325489
Published on 2010-04-25T18:07:05Z Indexed on 2010/04/25 18:13 UTC
Read the original article Hit count: 173

Filed under:
|

Hi, I making a eclipse view that is working with selected elements from other views. Let say I have opened a java file in the editor that has the following fields in it: private String world = " world!" private String hello = "hello" + world;

When I select "hello" in the Outline view I'm able to get IFiled selection and I have access to it's properties, but what i need is the true value of the field ("hello world!"). Any idea how can I do that? Thanks.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about jdt