1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ui.console; 12 13 /** 14 * A console listener is notified when consoles are added or removed from 15 * the console manager. 16 * <p> 17 * Clients may implement this interface. 18 * </p> 19 * @since 3.0 20 */ 21 public interface IConsoleListener { 22 23 /** 24 * Notification the given consoles have been added to the console 25 * manager. 26 * 27 * @param consoles added consoles 28 */ 29 public void consolesAdded(IConsole[] consoles); 30 31 /** 32 * Notification the given consoles have been removed from the 33 * console manager. 34 * 35 * @param consoles removed consoles 36 */ 37 public void consolesRemoved(IConsole[] consoles); 38 39 } 40