{
// Guaranteed to be non-null.
Object[] listeners = _listeners.getListenerList();
// Process the listeners last to first, notifying
// those that are interested in this event.
SQLResultExecuterTabEvent evt = null;
for (int i = listeners.length - 2; i >= 0; i -= 2)
{
if (listeners[i] == ISQLResultExecuterTabListener.class)
{
// Lazily create the event:
if (evt == null)
{
evt = new SQLResultExecuterTabEvent(_session, exec);
}
((ISQLResultExecuterTabListener)listeners[i + 1]).executerTabActivated(evt);
}
}
}