Class OpenedDialogWindows

java.lang.Object
io.jmix.flowui.OpenedDialogWindows

@Component("flowui_OpenedDialogWindows") @VaadinSessionScope public class OpenedDialogWindows extends Object
Contains opened Views in OpenMode.DIALOG for corresponding UIs.
  • Field Details

    • openedDialogs

      protected Map<com.vaadin.flow.component.UI,List<View<?>>> openedDialogs
  • Constructor Details

    • OpenedDialogWindows

      public OpenedDialogWindows()
  • Method Details

    • getDialogs

      public List<View<?>> getDialogs()
      Gets list of Views that opened in OpenMode.DIALOG for current UI
      Returns:
      list of Views
    • getDialogs

      public List<View<?>> getDialogs(com.vaadin.flow.component.UI ui)
      Gets list of Views that opened in OpenMode.DIALOG for the provided UI.
      Parameters:
      ui - the UI contains opened Views
      Returns:
      list of Views