Object[] participants = listeners.getListeners();
for (int i = 0; i < participants.length; i++) {
final IConsolePageParticipant participant = (IConsolePageParticipant) participants[i];
SafeRunner.run(new ISafeRunnable() {
public void run() throws Exception {
participant.dispose();
}
public void handleException(Throwable exception) {
ConsolePlugin.log(exception);
}
});