Check project nature of closed projects [message #881569] |
Mon, 04 June 2012 17:09  |
Eclipse User |
|
|
|
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.
|
|
|
|
|
Re: Check project nature of closed projects [message #881749 is a reply to message #881593] |
Tue, 05 June 2012 03:41  |
Eclipse User |
|
|
|
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:00with 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.
|
|
|
Powered by
FUDForum. Page generated in 0.04116 seconds