- Timestamp:
- 09/26/11 22:56:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/SWTConsole.java
r192 r200 5 5 import de.ugoe.cs.util.StringTools; 6 6 import de.ugoe.cs.util.console.Console; 7 import de.ugoe.cs.util.console.ConsoleObserver; 7 import de.ugoe.cs.util.console.listener.ICommandListener; 8 import de.ugoe.cs.util.console.listener.IErrorListener; 9 import de.ugoe.cs.util.console.listener.IOutputListener; 10 import de.ugoe.cs.util.console.listener.ITraceListener; 8 11 9 public class SWTConsole implements ConsoleObserver {12 public class SWTConsole implements IOutputListener, IErrorListener, ITraceListener, ICommandListener { 10 13 11 14 Text output; 12 15 13 16 public SWTConsole(Text output) { 14 Console.getInstance().registerObserver(this); 17 Console.getInstance().registerOutputListener(this); 18 Console.getInstance().registerErrorListener(this); 19 Console.getInstance().registerTraceListener(this); 20 Console.getInstance().registerCommandListener(this); 15 21 this.output = output; 16 22 } … … 31 37 output.append(traceMessage); 32 38 } 33 34 @Override35 public void printStacktrace(Exception e) {36 // TODO print stacktrace37 }38 39 39 40 @Override
Note: See TracChangeset
for help on using the changeset viewer.