Package edu.stanford.bmir.protege.web.client.events

Examples of edu.stanford.bmir.protege.web.client.events.UserLoggedOutHandler


            public void handleUserLoggedIn(UserLoggedInEvent event) {
                w.setSignedInUser(event.getUserId());
                projectActionBar.setProjectId(Application.get().getActiveProject());
            }
        });
        EventBusManager.getManager().registerHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                w.setSignedInUser(UserId.getGuest());
                projectActionBar.setProjectId(Application.get().getActiveProject());
            }
View Full Code Here


            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                updateState();
            }
        });
        management.addProjectEventHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                updateState();
            }
        });
View Full Code Here

                transmitActiveProject();
            }
        });


        EventBusManager.getManager().registerHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                // TODO: This is a bit extreme.  We only need to remove the tabs for which the user had no access rights
                removeAllTabs();
            }
View Full Code Here

            public void handleUserLoggedIn(UserLoggedInEvent event) {
                updatePermissionBasedItems();
            }
        });

        handlerRegistrationManager.registerHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                updatePermissionBasedItems();
            }
        });
View Full Code Here

            public void handleUserLoggedIn(UserLoggedInEvent event) {
                onLogin(event.getUserId());
            }
        });

        addApplicationEventHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                onLogout(event.getUserId());
            }
        });
View Full Code Here

                handleUserChange();
                reloadFromServer();
            }
        });

        EventBusManager.getManager().registerHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                handleUserChange();
                reloadFromServer();
            }
View Full Code Here

            public void handleUserLoggedIn(UserLoggedInEvent event) {

            }
        });

        handlerRegistrationManager.registerHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {

            }
        });
View Full Code Here

            public void handleUserLoggedIn(UserLoggedInEvent event) {
                updateProjectPermissions();
            }
        });

        loggedOutHandler = EventBusManager.getManager().registerHandler(UserLoggedOutEvent.TYPE, new UserLoggedOutHandler() {
            @Override
            public void handleUserLoggedOut(UserLoggedOutEvent event) {
                user2permissionMap.remove(event.getUserId());
                updateProjectPermissions();
            }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.events.UserLoggedOutHandler

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.