@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.PresenterErrorReportPopover visible with Keep/Apply buttons.show in interface ErrorReportPopover.Presentermx - 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.PresenterErrorReportPopover visible with Keep button only.show in interface ErrorReportPopover.Presentermx - x position of the replacemy - y position of the popoverposition - position where the popover is put (LEFT or RIGHT)public void hide()
ErrorReportPopover.Presenterhide in interface ErrorReportPopover.Presenterpublic boolean isShown()
ErrorReportPopover.PresenterisShown in interface ErrorReportPopover.PresenterCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.