Check project nature of closed projectshttps://www.eclipse.org/forums/index.php/mv/msg/358747/881569/#msg_881569
I am trying to check the project nature of a closed project, so I implemented my own filter.
To check the closed project I have to open them, which leads into the Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored. error, but it works.

I think it isn't the best way, so I am searching for a better way.
The JDT supports such a possibility, but I don't know how.

Thanks for any hints.]]>John M.2012-06-04T21:09:58-00:00Re: Check project nature of closed projectshttps://www.eclipse.org/forums/index.php/mv/msg/358747/881591/#msg_881591
> I am trying to check the project nature of a closed project, so I
> implemented my own filter.
> To check the closed project I have to open them, which leads into the
> Ignored reentrant call while viewer is busy. This is only logged once
> per viewer instance, but similar calls will still be ignored. error, but
> it works.
>
> I think it isn't the best way, so I am searching for a better way.
> The JDT supports such a possibility, but I don't know how.

Are you sure it does? A Closed project pretty much off-limits. Why do
you need to filter it?

On 04.06.2012 23:09, Missing name Mising name wrote:
> Hello,
>
> I am trying to check the project nature of a closed project, so I
> implemented my own filter.
> To check the closed project I have to open them, which leads into the
> Ignored reentrant call while viewer is busy. This is only logged once
> per viewer instance, but similar calls will still be ignored. error, but
> it works.
>
> I think it isn't the best way, so I am searching for a better way.
> The JDT supports such a possibility, but I don't know how.
>
> Thanks for any hints.]]>Rüdiger Herrmann2012-06-04T22:00:18-00:00Re: Check project nature of closed projectshttps://www.eclipse.org/forums/index.php/mv/msg/358747/881749/#msg_881749
Nitin Dahyabhai wrote on Mon, 04 June 2012 17:57

Are you sure it does? A Closed project pretty much off-limits. Why do
you need to filter it?

I want to show only content of a specified project nature and closed projects too.

Rüdiger Herrmann wrote on Mon, 04 June 2012 18:00

with IWorkspace.loadProjectDescription() you can read the project
description from an arbitrary project. It will return an
IProjectDescription with tells you that nature id's the project has.

Not sure if that helps. Regards
Rüdiger

Thanks, that was the function I am looking for.]]>John M.2012-06-05T07:41:03-00:00