Interface ErrorReportPopover.Presenter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getActualHeight()
      Retrieve the actual height of the ErrorReportPopover
      void hide()
      Makes this popover container(and the main content along with it) invisible.
      boolean isShown()
      Returns the status of the ErrorReportPopover (open or closed)
      void setup​(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)
      Method to set/update status of the ErrorReportPopover before actually showing the view.
      void setup​(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)
      Method to set/update status of the ErrorReportPopover before actually showing the view.
      void show()
      Method that actually show the view
    • Method Detail

      • setup

        void setup​(String errorTitleText,
                   String errorContentText,
                   String keepText,
                   String applyText,
                   org.uberfire.mvp.Command applyCommand,
                   int mx,
                   int my,
                   PopoverView.Position position)
        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)
        Parameters:
        errorTitleText -
        errorContentText -
        keepText -
        applyText -
        applyCommand -
        mx - x position of the replace
        my - y position of the popover
        position - position where the popover is put (LEFT or RIGHT)
      • setup

        void setup​(String errorTitleText,
                   String errorContentText,
                   String keepText,
                   int mx,
                   int my,
                   PopoverView.Position position)
        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)
        Parameters:
        errorTitleText -
        errorContentText -
        keepText -
        mx - x position of the replace
        my - y position of the popover
        position - position where the popover is put (LEFT or RIGHT)
      • hide

        void hide()
        Makes this popover container(and the main content along with it) invisible. Has no effect if the popover is not already showing.
      • isShown

        boolean isShown()
        Returns the status of the ErrorReportPopover (open or closed)
        Returns:
        true if shown, false otherwise
      • show

        void show()
        Method that actually show the view
      • getActualHeight

        int getActualHeight()
        Retrieve the actual height of the ErrorReportPopover
        Returns: