browserId = getIdParameter("browserId");
tabId = getIdParameter("tabId");
MonitorResources.init();
final Resources resources = MonitorResources.getResources();
// Inject styles. Compiler should concat all these into a big style String.
StyleInjector.inject(resources.overViewGraphCss().getText()
+ resources.mainTimeLineCss().getText()
+ resources.transientGraphSelectionCss().getText()
+ resources.commonCss().getText()
+ resources.overViewTimeLineCss().getText()
+ resources.domainRegionSelectionCss().getText()
+ resources.hoveringPopupCss().getText()
+ resources.controllerCss().getText()
+ resources.monitorVisualizationsPanelCss().getText()
+ resources.fastTooltipCss().getText()
+ resources.timeScaleCss().getText()
+ resources.currentSelectionMarkerCss().getText()
+ resources.pageTransitionMarkerCss().getText()
+ resources.detailViewsCss().getText()
+ resources.networkTimeLineDetailViewCss().getText()
+ resources.resourceRowCss().getText()
+ resources.networkPillBoxCss().getText()
+ resources.requestDetailsCss().getText()
+ resources.sluggishnessDetailViewCss().getText()
+ resources.hintletIndicatorCss().getText()
+ resources.filteringScrollTableCss().getText()
+ resources.pieChartCss().getText()
+ resources.hintletReportCss().getText()
+ resources.hintletReportDialogCss().getText()
+ resources.sortableTableHeaderCss().getText()
+ resources.scopeBarCss().getText()
+ resources.colorListCss().getText() + resources.treeCss().getText()
+ resources.eventTraceBreakdownCss().getText()
+ resources.mainGraphCss().getText()
+ resources.overViewGraphCss().getText()
+ resources.monitorCss().getText()
+ resources.sourceViewerCss().getText()
+ resources.stackFrameRendererCss().getText()
+ resources.javaScriptProfileRendererCss().getText()
+ resources.eventWaterfallRowCss().getText()
+ resources.eventWaterfallRowDetailsCss().getText()
+ resources.sluggishnessFiletPanelCss().getText()
+ resources.timelineMarksCss().getText(), true);
final WindowExt window = getBackgroundView();
channel = Client.connect(window, CHANNEL_NAME, this);
requestInitialization();
}