List of usage examples for com.google.gwt.debugpanel.common GwtStatisticsEventSystem GwtStatisticsEventSystem
public GwtStatisticsEventSystem()
From source file:com.example.panel.client.MyDebugPanel.java
License:Apache License
public void onModuleLoad() { sys = new GwtStatisticsEventSystem(); panelComponent = new DefaultDebugStatisticsDebugPanelComponent(null); xmlComponent = panelComponent.xmlComponent(); logComponent = new DefaultRawLogDebugPanelComponent(sys); em = new GwtExceptionModel(); // Find the debug-panel div, or add it to (current) bottom of page. RootPanel root = RootPanel.get("debug-panel"); if (root == null) { root = RootPanel.get();/* w w w .j ava2 s. c o m*/ } root.add(new DebugPanelWidget(this, true, new DebugPanelWidget.Component[] { panelComponent, new DefaultExceptionDebugPanelComponent(em), new DefaultCookieDebugPanelComponent(), logComponent, xmlComponent })); }