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

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


            @Override
            public void handleActiveProjectChanged(ActiveProjectChangedEvent event) {
                projectActionBar.setProjectId(event.getProjectId());
            }
        });
        EventBusManager.getManager().registerHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                w.setSignedInUser(event.getUserId());
                projectActionBar.setProjectId(Application.get().getActiveProject());
            }
View Full Code Here


        });
        editor.setCreateAsEntityTypeHandler(createAsEntityTypeHandler);
        editor.setAutoCompletionHandler(new ManchesterSyntaxFrameAutoCompletionHandler(DispatchServiceManager.get(),
                                                                                       projectId, this, this));
        editor.setApplyChangesHandler(applyChangesActionHandler);
        management.addProjectEventHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                updateState();
            }
        });
View Full Code Here

    };


    public EditorPresenter(ProjectId projectId, EditorContextMapper editorContextMapper) {
        this.editorContextMapper = editorContextMapper;
        handlerRegistrationManager.registerHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                updatePermissionBasedItems();
            }
        });
View Full Code Here

            initialize();
        }

        updateIcon(isControllingPortlet());

        addApplicationEventHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                onLogin(event.getUserId());
            }
        });
View Full Code Here

                projectManagerView.addProjectData(event.getProjectDetails());
                projectManagerView.setSelectedProject(event.getProjectId());
            }
        });

        EventBusManager.getManager().registerHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                handleUserChange();
                reloadFromServer();
            }
View Full Code Here

                GWT.log("Received delete");
                reload();
            }
        });

        handlerRegistrationManager.registerHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {

            }
        });
View Full Code Here

    private HandlerRegistration loggedOutHandler;

    public ProjectPermissionManager(ProjectId projectId) {
        this.projectId = projectId;

        loggedInHandler = EventBusManager.getManager().registerHandler(UserLoggedInEvent.TYPE, new UserLoggedInHandler() {
            @Override
            public void handleUserLoggedIn(UserLoggedInEvent event) {
                updateProjectPermissions();
            }
        });
View Full Code Here

TOP

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

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.