public class DefaultBugListener extends Object implements IBugListener
| Constructor and Description |
|---|
DefaultBugListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
bugSignaled(BugItem item) |
protected static void |
checkForBugs(IRequestContext ctx,
Page pg)
Check if the page has bugs and if so show a bug icon in it's top.
|
protected static void |
clearMessages(to.etc.domui.util.bugs.DefaultBugListener.BugRef ref) |
static void |
onRequestAfter(IRequestContext rc)
Should be called from a request interceptor.
|
protected static void |
onRequestBefore(IRequestContext rc) |
static void |
registerSessionListener(DomApplication da)
Call in Application.initialize() to register stuff to use the default bug handler.
|
protected static void |
toggleBugDisplay(Page pg,
to.etc.domui.util.bugs.DefaultBugListener.BugRef ref)
Toggles the bug display floater.
|
public void bugSignaled(@Nonnull BugItem item)
bugSignaled in interface IBugListenerIBugListener.bugSignaled(to.etc.domui.util.bugs.BugItem)public static void onRequestAfter(IRequestContext rc)
rc - protected static void onRequestBefore(IRequestContext rc)
public static void registerSessionListener(DomApplication da)
da - protected static void checkForBugs(IRequestContext ctx, Page pg)
ctx - pg - protected static void clearMessages(to.etc.domui.util.bugs.DefaultBugListener.BugRef ref)
protected static void toggleBugDisplay(Page pg, to.etc.domui.util.bugs.DefaultBugListener.BugRef ref)
pg - info - Copyright © 2017 etc.to. All rights reserved.