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

Examples of edu.stanford.bmir.protege.web.client.place.ProjectViewPlace


    private void transmitActiveProject() {
        final Optional<ProjectId> projectId = getProjectIdForActiveTab();
        Application.get().setActiveProject(projectId);
        if (projectId.isPresent()) {
            Application.get().getPlaceManager().setCurrentPlace(new ProjectViewPlace(projectId.get()));
        }
        else {
            Application.get().getPlaceManager().setCurrentPlace(ProjectListPlace.DEFAULT_PLACE);
        }
    }
View Full Code Here


        Place currentPlace = placeManager.getCurrentPlace();
        if (currentPlace instanceof ProjectListPlace) {
            setActiveTab(0);
        }
        else if(currentPlace instanceof ProjectViewPlace) {
            ProjectViewPlace projectViewPlace = (ProjectViewPlace) currentPlace;
            loadProject(projectViewPlace.getProjectId());
        }
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.place.ProjectViewPlace

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.