Changeset 188
- Timestamp:
- 09/23/11 04:53:44 (13 years ago)
- Location:
- trunk/EventBenchConsole
- Files:
-
- 25 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/.classpath
r1 r188 22 22 <classpathentry kind="lib" path="lib/wstx-asl-3.2.6.jar"/> 23 23 <classpathentry kind="lib" path="lib/commons-codec-1.5.jar"/> 24 <classpathentry kind="lib" path="lib/swt/com.ibm.icu_4.4.2.v20110208.jar"/> 25 <classpathentry kind="lib" path="lib/swt/org.eclipse.core.commands_3.6.0.I20110111-0800.jar"/> 26 <classpathentry kind="lib" path="lib/swt/org.eclipse.core.databinding_1.4.0.I20110111-0800.jar"/> 27 <classpathentry kind="lib" path="lib/swt/org.eclipse.core.databinding.beans_1.2.100.I20100824-0800.jar"/> 28 <classpathentry kind="lib" path="lib/swt/org.eclipse.core.databinding.observable_1.4.0.I20110222-0800.jar"/> 29 <classpathentry kind="lib" path="lib/swt/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar"/> 30 <classpathentry kind="lib" path="lib/swt/org.eclipse.core.runtime_3.7.0.v20110110.jar"/> 31 <classpathentry kind="lib" path="lib/swt/org.eclipse.equinox.common_3.6.0.v20110523.jar"/> 32 <classpathentry kind="lib" path="lib/swt/org.eclipse.equinox.registry_3.5.100.v20110502.jar"/> 33 <classpathentry kind="lib" path="lib/swt/org.eclipse.jface_3.7.0.I20110522-1430.jar"/> 34 <classpathentry kind="lib" path="lib/swt/org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar"/> 35 <classpathentry kind="lib" path="lib/swt/org.eclipse.jface.text_3.7.0.v20110505-0800.jar"/> 36 <classpathentry kind="lib" path="lib/swt/org.eclipse.osgi_3.7.0.v20110613.jar"/> 37 <classpathentry kind="lib" path="lib/swt/org.eclipse.swt.win32.win32.x86_3.7.0.v3735b.jar"/> 38 <classpathentry kind="lib" path="lib/swt/org.eclipse.text_3.5.100.v20110505-0800.jar"/> 39 <classpathentry kind="lib" path="lib/swt/org.eclipse.ui.forms_3.5.100.v20110425.jar"/> 40 <classpathentry kind="lib" path="lib/swt/org.eclipse.ui.workbench_3.7.0.I20110519-0100.jar"/> 24 41 <classpathentry combineaccessrules="false" kind="src" path="/JavaHelperLib"/> 25 42 <classpathentry combineaccessrules="false" kind="src" path="/EventBenchCore"/> -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/Runner.java
r171 r188 1 1 package de.ugoe.cs.eventbench; 2 2 3 import de.ugoe.cs.eventbench.swt.MainWindow; 3 4 import de.ugoe.cs.util.console.CommandExecuter; 4 5 import de.ugoe.cs.util.console.Console; … … 36 37 "de.ugoe.cs.eventbench.web.commands"); 37 38 TextConsole textConsole = new TextConsole(); 39 boolean swtGuiRunning = false; 38 40 if (args.length >= 1) { 39 for (String command : args) { 40 CommandExecuter.getInstance().exec(command); 41 if( args[0].equals("-swt") ) { 42 MainWindow mainWindow = new MainWindow(); 43 mainWindow.open(); 44 swtGuiRunning = true; 45 } else { 46 for (String command : args) { 47 CommandExecuter.getInstance().exec(command); 48 } 41 49 } 42 50 } 43 textConsole.run(true); 51 if( !swtGuiRunning ) { 52 textConsole.run(true); 53 } 44 54 } 45 55
Note: See TracChangeset
for help on using the changeset viewer.