- Timestamp:
- 09/26/11 22:55:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaHelperLib/src/de/ugoe/cs/util/console/TextConsole.java
r186 r199 2 2 3 3 import java.io.IOException; 4 5 import de.ugoe.cs.util.console.listener.IErrorListener; 6 import de.ugoe.cs.util.console.listener.IExceptionListener; 7 import de.ugoe.cs.util.console.listener.IOutputListener; 8 import de.ugoe.cs.util.console.listener.ITraceListener; 4 9 5 10 /** … … 12 17 * @version 1.0 13 18 */ 14 public class TextConsole implements ConsoleObserver { 19 public class TextConsole implements IOutputListener, IErrorListener, 20 ITraceListener, IExceptionListener { 15 21 16 22 /** … … 27 33 */ 28 34 public TextConsole() { 29 Console.getInstance().registerObserver(this); 35 Console.getInstance().registerOutputListener(this); 36 Console.getInstance().registerErrorListener(this); 37 Console.getInstance().registerTraceListener(this); 38 Console.getInstance().registerExceptionListener(this); 30 39 } 31 40 … … 118 127 } 119 128 120 /**121 * <p>122 * The {@link TextConsole} ignores this notification.123 * </p>124 *125 * @see de.ugoe.cs.util.console.ConsoleObserver#commandNotification(java.lang.String)126 */127 @Override128 public void commandNotification(String command) {129 // ignores the notification130 }131 129 }
Note: See TracChangeset
for help on using the changeset viewer.