// the text with.
if (tooltipText == null || tooltipText.equals("")) {
String url = ((PageTransitionModel) markerModel).url;
tooltipText = (url == null || url.equals("")) ? "<blank page>" : url;
}
FastTooltip tip = new FastTooltip(container, tooltipText, resources);
tip.getElement().getStyle().setProperty("cursor", "pointer");
ClickEvent.addClickListener(this, tip.getElement(), new ClickListener() {
public void onClick(ClickEvent event) {
HoveringPopup popup = Monitor.getPopup();
popup.setContentProvider(createTooltipPoupupContent());
Div interactiveComponent = PageTransitionMarker.this.interactiveComponent;
popup.show(interactiveComponent.getAbsoluteLeft(),
interactiveComponent.getAbsoluteTop());
}
});
interactiveComponent.getElement().appendChild(tip.getElement());
tooltipAdded = true;
interactiveComp.setVisible(true);
}
// TODO(zundel): alpha?