MPartDescriptor has empty handler list [message #1778847] |
Fri, 22 December 2017 12:56 |
Gernot Krause Messages: 22 Registered: June 2014 |
Junior Member |
|
|
Hi there!
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?
Thx,
Gernot.
MPart editor = partService.createPart(partDescriptor.getElementId());
editor.setContributionURI(partDescriptor.getContributionURI());
// DEBUG
partDescriptor.getHandlers(); // --> returns empty list
partStack.getChildren().add(editor);
partService.activate(editor);
[Updated on: Fri, 22 December 2017 13:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02984 seconds