| [news.eclipse.platform] Re: Adding command to a toolbar |
The command and its pulldown items appears, but the enablement works not correct:
1) If the view loose the focus, the button in the toolbar is disabled.
For keybindings, this is what I expect (command is no longer available), but
toolbar buttons in the view should stay enabled.
2) If the command is disabled, the button is not updated. The command
throws an event (new HandlerEvent(this, true, false), but the toolbar button is not
disabled.
Later, PW
-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm