use of edu.stanford.bmir.protege.web.shared.perspective.GetPerspectivesAction in project webprotege by protegeproject.
the class LoadProjectInNewWindowRequestHandlerImpl method handleLoadProjectInNewWindow.
@Override
public void handleLoadProjectInNewWindow(final ProjectId projectId) {
UserId userId = loggedInUserProvider.getCurrentUserId();
dispatchServiceManager.execute(new GetPerspectivesAction(projectId, userId), new DispatchServiceCallback<GetPerspectivesResult>() {
@Override
public void handleSuccess(GetPerspectivesResult result) {
ImmutableList<PerspectiveId> perspectives = result.getPerspectives();
handleOpenInNewWindow(perspectives, projectId);
}
});
}
Aggregations