|MPartDescriptor has empty handler list [message #1778847]
||Fri, 22 December 2017 12:56
| Gernot Krause
Registered: June 2014
For my RCP I have an e4 application model with a part descriptor. I attached 3 handlers to it below the 'Handlers' section
When I create a part from the descriptor at runtime the handlers are not triggered. Debugging the part creation reveals that the MPartDescriptor object has none of my handlers attached at runtime (empty list returned from .getHandlers() ).
Can someone please help or give a hint what might be wrong?
MPart editor = partService.createPart(partDescriptor.getElementId());
partDescriptor.getHandlers(); // --> returns empty list
[Updated on: Fri, 22 December 2017 13:29]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01814 seconds