Hi,
I am creating a plugin for ffaster view development.
The scenario is a user selects a java file and clicks on New --> View then he gets a list of all the attributes defined in the java file.
I am using Reflection to get all the attributes and methods of the java class.
I need a class object to give as input to reflection class. I am not able to get the class object of java file selected.

On 12/29/2009 11:43 AM, neha.pandey@lntinfotech.com wrote:
> Hi,
> I am creating a plugin for ffaster view development.
> The scenario is a user selects a java file and clicks on New --> View
> then he gets a list of all the attributes defined in the java file.
> I am using Reflection to get all the attributes and methods of the java
> class. I need a class object to give as input to reflection class. I am
> not able to get the class object of java file selected.
>
> It is able to find classes those are present in Plugin code.
>
> Kindly Help.
>
> Its very urgent.

I believe a better approach would be to hook into CNF to see the selected class and then use JDT.
You may also have a look the way outline view shows the class outline, sounds like you are trying to
achieve something similar.