Interface ErrorReportPopover

  • All Superinterfaces:
    org.jboss.errai.common.client.api.IsElement, org.jboss.errai.ui.client.local.api.IsElement, PopoverView
    All Known Implementing Classes:
    ErrorReportPopoverView

    public interface ErrorReportPopover
    extends PopoverView
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void hide()
      Makes this popover container(and the main content along with it) invisible.
      boolean isShown()
      Returns the status of the popver (open or closed)
      void setup​(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)
      Makes the ErrorReportPopover visible with keep button only.
      void setup​(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)
      Makes the ErrorReportPopover visible with Keep/Apply buttons.
      • Methods inherited from interface org.jboss.errai.ui.client.local.api.IsElement

        getElement
      • Methods inherited from interface org.drools.workbench.screens.scenariosimulation.client.popover.PopoverView

        setup, show
    • 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)
        Makes the ErrorReportPopover visible with Keep/Apply buttons.
        Parameters:
        errorTitleText -
        errorContentText -
        keepText -
        applyText -
        applyCommand -
        mx - x position of the popover
        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)
        Makes the ErrorReportPopover visible with keep button only.
        Parameters:
        errorTitleText -
        errorContentText -
        keepText -
        mx - x position of the popover
        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.
        Specified by:
        hide in interface PopoverView
      • isShown

        boolean isShown()
        Returns the status of the popver (open or closed)
        Specified by:
        isShown in interface PopoverView
        Returns:
        true if shown, false otherwise