Search in sources :

Example 1 with ProjectTagsPlace

use of edu.stanford.bmir.protege.web.shared.place.ProjectTagsPlace in project webprotege by protegeproject.

the class EditProjectTagsUIActionHandler method handleEditProjectTags.

public void handleEditProjectTags() {
    Place currentPlace = placeController.getWhere();
    if (!(currentPlace instanceof HasProjectId)) {
        return;
    }
    ProjectId projectId = ((HasProjectId) currentPlace).getProjectId();
    ProjectTagsPlace projectTagsPlace = new ProjectTagsPlace(projectId, Optional.of(currentPlace));
    placeController.goTo(projectTagsPlace);
}
Also used : HasProjectId(edu.stanford.bmir.protege.web.shared.project.HasProjectId) ProjectTagsPlace(edu.stanford.bmir.protege.web.shared.place.ProjectTagsPlace) ProjectId(edu.stanford.bmir.protege.web.shared.project.ProjectId) HasProjectId(edu.stanford.bmir.protege.web.shared.project.HasProjectId) Place(com.google.gwt.place.shared.Place) ProjectTagsPlace(edu.stanford.bmir.protege.web.shared.place.ProjectTagsPlace)

Aggregations

Place (com.google.gwt.place.shared.Place)1 ProjectTagsPlace (edu.stanford.bmir.protege.web.shared.place.ProjectTagsPlace)1 HasProjectId (edu.stanford.bmir.protege.web.shared.project.HasProjectId)1 ProjectId (edu.stanford.bmir.protege.web.shared.project.ProjectId)1