|Re: Menu contribution problem in project Explorer [message #1216485 is a reply to message #1216030]
||Thu, 28 November 2013 13:53
| Camille Letavernier
Registered: February 2011
I'm using this piece of code right now, so, it definitely works. There should not be a "ClassCastException", because "Adapt" is not a Cast (Unless there is another piece of code/extension, elsewhere, which tries to cast the SubResourceFile to an IFile instead of Adapting it).
You should try to define your menu first, and, once it appears correctly, add the command/handler, and see at which point it actually fails.
Powered by FUDForum
. Page generated in 0.02031 seconds