|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.bugs.DefaultBugListener
public class DefaultBugListener
This is a default DomUI bug listener. It collects all bugs in the ConversationContext, and has code to show those bugs in the UI.
Constructor Summary | |
---|---|
DefaultBugListener()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBugListener()
Method Detail |
---|
public void bugSignaled(BugItem item)
bugSignaled
in interface IBugListener
IBugListener.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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |