use of edu.stanford.bmir.protege.web.shared.place.CollectionViewPlace in project webprotege by protegeproject.
the class CollectionItemListPresenter method goToSelectedItem.
void goToSelectedItem() {
view.getSelection().ifPresent(collectionItem -> {
Place place = placeController.getWhere();
if (!(place instanceof CollectionViewPlace)) {
return;
}
CollectionViewPlace collectionViewPlace = (CollectionViewPlace) place;
placeController.goTo(new CollectionViewPlace(collectionViewPlace.getProjectId(), collectionViewPlace.getCollectionId(), collectionViewPlace.getFormId(), Optional.of(collectionItem)));
});
}
Aggregations