protected void initSaveWorkspaceAction() {
Action saveAction = addActionToToolbar(WORKSPACE_PANEL,
SaveActionStateController.MESSAGE_SAVE_WORKSPACE,
"workspace-save", saveWorkspaceCommand);
AuthenticationBasedEnablingStateWrapper authWrapper = new AuthenticationBasedEnablingStateWrapper(
authenticationManager, saveAction);
authWrapper.init();
new SaveActionStateController(workspaceManager, saveAction, authWrapper)
.init();
}