Bug?: MHandledToolItem not activated on handler registration via EHandlerService [message #1801859] |
Mon, 28 January 2019 09:57  |
Eclipse User |
|
|
|
What should happen:
* have a MHandledToolItem in a toolbar, which uses command CMD_1
* no handler is defined for this CMD_1
* have two parts part_1, part_2
* in part_1 have a button or something which triggers the following logic once
* use the EHandlerService injected into part_1 to perform handlerService.activateHandler(CMD_1, new MySimpleHandler())
* expectation is that the item in the toolbar gets activated
What happens:
* item stays inactive
* activate part_2 and reactivate part_1, the icon gets activated
Can that be confirmed as bug, so I would file one. The same happens if the handler is created as MHandler and added to part1.getHandlers().add(mHandler).
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04148 seconds