|[RESOLVED] Core expression checking for project natures not working [message #1804752]
||Sun, 31 March 2019 11:58
| Alex Mising name
Registered: March 2010
I am trying to get the command for adding my nature to only show when the nature is not already present AND the project is not a Java project. This does not seem to work:
label="Enable my nature"
<count value="1" />
The above makes the command visible even for Java projects. I do not want that to happen. Any idea why the expression does not work as I expect?
I am coding for version 2018-09 on Windows, though I doubt that is significant.
UPDATE: The name of the JDT nature is actually "org.eclipse.jdt.core.javanature". I found it while stepping through the code to see how the expression was being evaluated...
[Updated on: Sun, 31 March 2019 14:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02027 seconds