Community
Participate
Working Groups
In the org.eclipse.ui.actions.ActionFactory (line 632) the "LOCK_TOOL_BAR" Action is wrongly defined as "IWorkbenchCommandConstants.HELP_ABOUT", and should be "IWorkbenchCommandConstants.WINDOW_LOCK_TOOLBAR"
This is definitely incorrect, but reading over the code, it looks like it should use getCommandId(), and not a direct constant. The action factory is passed the literal "lockToolBar". That could probably be replaced with the constant. Though I'm not 100% sure as the constant is qualified "org.eclipse.ui.window.lockToolBar". Moving to Platform UI for comment.
Yes, it should be updated to new ActionFactory("lockToolBar", IWorkbenchCommandConstants.WINDOW_LOCK_TOOLBAR) and then the action creation should use getCommandId(). See https://wiki.eclipse.org/Platform_UI/How_to_Contribute PW
Thanks for the linked wiki page and following my first Gerrit patch set: https://git.eclipse.org/r/#/c/22714/
Submitted with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=e6dac5182609b33ac3378c9cad00312302fa5364
In 4.4.0.I20140305-2000 PW