@ApplicationScoped public class ErrorReportPopoverPresenter extends Object implements ErrorReportPopover.Presenter
Modifier and Type | Field and Description |
---|---|
protected ViewsProvider |
viewsProvider |
Constructor and Description |
---|
ErrorReportPopoverPresenter() |
Modifier and Type | Method and 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 |
show(String errorTitleText,
String errorContentText,
String keepText,
int mx,
int my,
PopoverView.Position position)
Makes the
ErrorReportPopover visible with Keep button only. |
void |
show(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. |
@Inject protected ViewsProvider viewsProvider
public void show(String errorTitleText, String errorContentText, String keepText, String applyText, org.uberfire.mvp.Command applyCommand, int mx, int my, PopoverView.Position position)
ErrorReportPopover.Presenter
ErrorReportPopover
visible with Keep/Apply buttons.show
in interface ErrorReportPopover.Presenter
mx
- x position of the replacemy
- y position of the popoverposition
- position where the popover is put (LEFT or RIGHT)public void show(String errorTitleText, String errorContentText, String keepText, int mx, int my, PopoverView.Position position)
ErrorReportPopover.Presenter
ErrorReportPopover
visible with Keep button only.show
in interface ErrorReportPopover.Presenter
mx
- x position of the replacemy
- y position of the popoverposition
- position where the popover is put (LEFT or RIGHT)public void hide()
ErrorReportPopover.Presenter
hide
in interface ErrorReportPopover.Presenter
public boolean isShown()
ErrorReportPopover.Presenter
isShown
in interface ErrorReportPopover.Presenter
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.