Changeset 247 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt
- Timestamp:
- 10/06/11 18:06:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/MainWindow.java
r238 r247 1 1 package de.ugoe.cs.eventbench.swt; 2 3 import java.util.List; 2 4 3 5 import org.eclipse.swt.widgets.Display; … … 25 27 */ 26 28 public class MainWindow { 29 30 private List<String> startupCommands; 27 31 28 32 protected Shell shlEventbenchConsole; … … 39 43 protected CommandHistoryDialog historyDialog; 40 44 45 public MainWindow(List<String> startupCommands) { 46 this.startupCommands = startupCommands; 47 } 48 41 49 /** 42 50 * <p> … … 53 61 shlEventbenchConsole.open(); 54 62 shlEventbenchConsole.layout(); 63 for(String command : startupCommands ) { 64 CommandExecuter.getInstance().exec(command); 65 } 55 66 while (!shlEventbenchConsole.isDisposed()) { 56 67 if (!display.readAndDispatch()) {
Note: See TracChangeset
for help on using the changeset viewer.