}
private void buildProfileUi() {
profileDiv.getElement().setInnerHTML("");
Container container = new DefaultContainerImpl(profileDiv.getElement());
HeadingElement profileHeading = container.getDocument().createHElement(3);
profileDiv.getElement().appendChild(profileHeading);
profileHeading.setInnerText("Profile");
ScopeBar bar = new ScopeBar(container, resources);
// TODO(jaimeyap): This will always return the most recent page we are
// viewing. This is a bug. We should have ApplicationState know the current
// TabDescription.
String currentAppUrl = eventWaterfall.getVisualization().getModel().getDataDispatcher().getTabDescription().getUrl();