Class BreadCrumbsPresenter
java.lang.Object
io.jmix.webdavflowui.view.webdavdocument.BreadCrumbsPresenter
Helper class to manage filepath breadcrumbs
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayout
-
Constructor Summary
ConstructorDescriptionBreadCrumbsPresenter
(com.vaadin.flow.component.orderedlayout.HorizontalLayout parentLayout, MessageBundle messageBundle, ParentDocumentContextHolder parentDocumentContextHolder, BreadCrumbsProvider breadCrumbsProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setVisible
(boolean visibility) void
showSearchResultLabel
(WebdavDocument previousDocument) Shows "Search results:" label instead of breadcrumbs with the link to the previously shown folder.void
updateBreadCrumbs
(WebdavDocument webdavDocument)
-
Field Details
-
linksLayout
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout linksLayout
-
-
Constructor Details
-
BreadCrumbsPresenter
public BreadCrumbsPresenter(com.vaadin.flow.component.orderedlayout.HorizontalLayout parentLayout, MessageBundle messageBundle, ParentDocumentContextHolder parentDocumentContextHolder, BreadCrumbsProvider breadCrumbsProvider)
-
-
Method Details
-
updateBreadCrumbs
-
showSearchResultLabel
Shows "Search results:" label instead of breadcrumbs with the link to the previously shown folder.- Parameters:
previousDocument
- for a back link
-
setVisible
public void setVisible(boolean visibility)
-