for (int nX = 0; nX < array.length; nX++) {
if (array[nX] instanceof IPerspectiveListener2) {
final IPerspectiveListener2 l2 = (IPerspectiveListener2) array[nX];
fireEvent(new SafeRunnable() {
public void run() {
l2.perspectiveChanged(page, perspective, partRef,
changeId);
}
}, l2, perspective, "changed::"); //$NON-NLS-1$
}
}