Class ErrorReportPopoverView

    • Field Detail

      • applyCommand

        protected org.uberfire.mvp.Command applyCommand
      • keepButton

        @DataField("keepButton")
        protected com.google.gwt.dom.client.ButtonElement keepButton
      • applyButton

        @DataField("applyButton")
        protected com.google.gwt.dom.client.ButtonElement applyButton
      • errorContent

        @DataField("errorContent")
        protected org.jboss.errai.common.client.dom.Div errorContent
    • Constructor Detail

      • ErrorReportPopoverView

        public ErrorReportPopoverView()
      • ErrorReportPopoverView

        @Inject
        public ErrorReportPopoverView​(org.jboss.errai.common.client.dom.Div errorContent,
                                      org.jboss.errai.common.client.dom.Div popoverElement,
                                      org.jboss.errai.common.client.dom.Div popoverContainerElement,
                                      org.jboss.errai.common.client.dom.Div popoverContentElement,
                                      org.uberfire.client.views.pfly.widgets.JQueryProducer.JQuery<org.uberfire.client.views.pfly.widgets.Popover> jQueryPopover)
    • 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
        Makes the ErrorReportPopover visible with Keep/Apply buttons.
        Specified by:
        setup in interface ErrorReportPopover
        mx - x position of the popover
        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
        Makes the ErrorReportPopover visible with keep button only.
        Specified by:
        setup in interface ErrorReportPopover
        mx - x position of the popover
        my - y position of the popover
        position - position where the popover is put (LEFT or RIGHT)
      • onKeepButtonClicked

        @EventHandler("keepButton")
        public void onKeepButtonClicked​(com.google.gwt.event.dom.client.ClickEvent clickEvent)
      • onApplyButtonClicked

        @EventHandler("applyButton")
        public void onApplyButtonClicked​(com.google.gwt.event.dom.client.ClickEvent clickEvent)