Class ErrorReportPopoverPresenter

    • Constructor Detail

      • ErrorReportPopoverPresenter

        public ErrorReportPopoverPresenter()
    • Method Detail

      • setup

        public void setup​(String errorTitleText,
                          String errorContentText,
                          String keepText,
                          String applyText,
                          org.uberfire.mvp.Command applyCommand,
                          int mx,
                          int my,
                          PopoverView.Position position)
        Description copied from interface: ErrorReportPopover.Presenter
        Method to set/update status of the ErrorReportPopover before actually showing the view. Implemented to decouple this setup from the actual show, to be able to eventually add other modifications (e.g. change vertical position based on the actual height, that is available only after this method has been invoked)
        Specified by:
        setup in interface ErrorReportPopover.Presenter
        mx - x position of the replace
        my - y position of the popover
        position - position where the popover is put (LEFT or RIGHT)
      • setup

        public void setup​(String errorTitleText,
                          String errorContentText,
                          String keepText,
                          int mx,
                          int my,
                          PopoverView.Position position)
        Description copied from interface: ErrorReportPopover.Presenter
        Method to set/update status of the ErrorReportPopover before actually showing the view. Implemented to decouple this setup from the actual show, to be able to eventually add other modifications (e.g. change vertical position based on the actual height, that is available only after this method has been invoked)
        Specified by:
        setup in interface ErrorReportPopover.Presenter
        mx - x position of the replace
        my - y position of the popover
        position - position where the popover is put (LEFT or RIGHT)