|core expressions: Find a resource's project, check project natures [message #546615]
||Tue, 13 July 2010 14:47
| Erhard Weinell
Registered: January 2010
Location: Kassel, Germany
I'd like to effect the visibility of some commands depending on whether
the selected resources (e.g. in the package explorer) are contained in a
project with specific natures.
Therefore, I need to determine a selected resource's IProject - is this
possible using core expressions?
Furthermore, there is a projectNatures tester available that is supposed
to return a list of project natures. Can I - again using expressions -
check whether a specific nature ID is contained in that list?
Tx in advance,
Powered by FUDForum
. Page generated in 0.01584 seconds