private void sinkEvents() {
// Any mouse out should cause us to hide any displayed callouts.
// This listener is sunk to an element that exists for the lifecycle of the
// page, so we dont need to unhook it.
MouseOutEvent.addMouseOutListener(this, getElement(),
new MouseOutListener() {
public void onMouseOut(MouseOutEvent event) {
calloutModel.setSelected(false);
}
});
}