Package org.thechiselgroup.choosel.workbench.client.authentication.ui

Examples of org.thechiselgroup.choosel.workbench.client.authentication.ui.AuthenticationBasedEnablingStateWrapper


        Action loadAction = addActionToToolbar(WORKSPACE_PANEL,
                "Load Workspace", "workspace-open",
                new AsyncCommandToCommandAdapter(loadWorkspaceDialogCommand,
                        asyncCommandExecutor));

        new AuthenticationBasedEnablingStateWrapper(authenticationManager,
                loadAction).init();
    }
View Full Code Here


    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();
    }
View Full Code Here

    protected void initShareWorkspaceAction() {
        Action action = addActionToToolbar(WORKSPACE_PANEL, "Share Workspace",
                "workspace-share", new AsyncCommandToCommandAdapter(
                        shareWorkspaceCommand, asyncCommandExecutor));

        new AuthenticationBasedEnablingStateWrapper(authenticationManager,
                action).init();
    }
View Full Code Here

TOP

Related Classes of org.thechiselgroup.choosel.workbench.client.authentication.ui.AuthenticationBasedEnablingStateWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.