Changeset 188


Ignore:
Timestamp:
09/23/11 04:53:44 (13 years ago)
Author:
sherbold
Message:

Added a first prototype of a GUI for the application. The GUI is still incomplete, many functions are not yet implemented. The GUI is based on SWT. It has only been tested on Windows 7, 32 Bit; the SWT-jar-files are from Eclipse 3.7 32 bit Windows and may not be sufficient for other operating systems.

Location:
trunk/EventBenchConsole
Files:
25 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/.classpath

    r1 r188  
    2222        <classpathentry kind="lib" path="lib/wstx-asl-3.2.6.jar"/> 
    2323        <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"/> 
    2441        <classpathentry combineaccessrules="false" kind="src" path="/JavaHelperLib"/> 
    2542        <classpathentry combineaccessrules="false" kind="src" path="/EventBenchCore"/> 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/Runner.java

    r171 r188  
    11package de.ugoe.cs.eventbench; 
    22 
     3import de.ugoe.cs.eventbench.swt.MainWindow; 
    34import de.ugoe.cs.util.console.CommandExecuter; 
    45import de.ugoe.cs.util.console.Console; 
     
    3637                                "de.ugoe.cs.eventbench.web.commands"); 
    3738                TextConsole textConsole = new TextConsole(); 
     39                boolean swtGuiRunning = false; 
    3840                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                                } 
    4149                        } 
    4250                } 
    43                 textConsole.run(true); 
     51                if( !swtGuiRunning ) { 
     52                        textConsole.run(true); 
     53                } 
    4454        } 
    4555 
Note: See TracChangeset for help on using the changeset viewer.