|Re: Project with multiple natures: Icon precedence? [message #1121182 is a reply to message #1111497]
||Mon, 30 September 2013 11:01
| Alan DW
Registered: March 2012
thanks for your response. I thought about the possibility that it always just takes the first project nature in the list myself already. I just tried your code and unfortunately it is still displaying the wrong project nature overlay image for me. But maybe I'm facing a special case here since I'm dealing with a lot of auto-generated code and god knows what might be happening in there.
Actually, I just discovered the following fact: Eclipse is not displaying only *one* nature overlay icon, it is displaying *all* of them on top of each other. However, the "draw order" of these icons seems to be independent from the order of the nature IDs in the project description...
If you - or anyone else - find any other solution, please let me know.
EDIT: It turns out that I might have been fooled here. The "other" project nature which is drawn on top of my nature is the Xtext project nature. I've just discovered that this nature icon is not realized as a typical project nature icon, but rather as a full-blown decorator. And this decorator is drawn on top of all project nature decorators to begin with. Turns out that Daniel was right after all!
[Updated on: Mon, 30 September 2013 11:14]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11098 seconds