List of usage examples for com.google.gwt.debugpanel.client DefaultExceptionDebugPanelComponent DefaultExceptionDebugPanelComponent
public DefaultExceptionDebugPanelComponent(ExceptionModel model)
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();/*from w w w . j a v a2s . c o m*/ } root.add(new DebugPanelWidget(this, true, new DebugPanelWidget.Component[] { panelComponent, new DefaultExceptionDebugPanelComponent(em), new DefaultCookieDebugPanelComponent(), logComponent, xmlComponent })); }