Index: trunk/quest-ui-core/.classpath
===================================================================
--- trunk/quest-ui-core/.classpath	(revision 526)
+++ trunk/quest-ui-core/.classpath	(revision 527)
@@ -2,4 +2,10 @@
 <classpath>
 	<classpathentry kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
 		<attributes>
 			<attribute name="optional" value="true"/>
Index: trunk/quest-ui-core/pom.xml
===================================================================
--- trunk/quest-ui-core/pom.xml	(revision 526)
+++ trunk/quest-ui-core/pom.xml	(revision 527)
@@ -10,8 +10,4 @@
 	</scm>
 	<repositories>
-		<repository>
-			<id>swt-repo</id>
-			<url>https://swt-repo.googlecode.com/svn/repo</url>
-		</repository>
 		<repository>
 			<id>quest-repo</id>
@@ -71,22 +67,7 @@
 		</dependency>
 		<dependency>
-			<groupId>net.sf.jopt-simple</groupId>
-			<artifactId>jopt-simple</artifactId>
-			<version>4.3</version>
-		</dependency>
-		<dependency>
 			<groupId>jdom</groupId>
 			<artifactId>jdom</artifactId>
 			<version>1.1</version>
-		</dependency>
-		<dependency>
-			<groupId>${swt.groupId}</groupId>
-			<artifactId>${swt.artifactId}</artifactId>
-			<version>3.8</version>
-		</dependency>
-		<dependency>
-			<groupId>org.eclipse</groupId>
-			<artifactId>ui-forms</artifactId>
-			<version>3.5</version>
 		</dependency>
 		<dependency>
@@ -96,99 +77,4 @@
 		</dependency>
 	</dependencies>
-
-	<profiles>
-		<profile>
-			<id>Windows x86</id>
-			<activation>
-				<os>
-					<family>windows</family>
-					<arch>x86</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.win32.win32.x86</swt.artifactId>
-			</properties>
-		</profile>
-		<profile>
-			<id>Windows amd64</id>
-			<activation>
-				<os>
-					<family>windows</family>
-					<arch>amd64</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.win32.win32.x86_64</swt.artifactId>
-			</properties>
-		</profile>
-		<profile>
-			<id>Linux x86</id>
-			<activation>
-				<os>
-					<family>linux</family>
-					<arch>x86</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
-			</properties>
-		</profile>
-		<profile>
-			<id>Linux i386</id>
-			<activation>
-				<os>
-					<family>linux</family>
-					<arch>i386</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId>
-			</properties>
-		</profile>
-		<profile>
-			<id>Linux x86_64</id>
-			<activation>
-				<os>
-					<family>linux</family>
-					<arch>x86_64</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
-			</properties>
-		</profile>
-		<profile>
-			<id>Linux amd64</id>
-			<activation>
-				<os>
-					<family>linux</family>
-					<arch>amd64</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId>
-			</properties>
-		</profile>
-		<profile>
-			<id>Linux ppc64</id>
-			<activation>
-				<os>
-					<family>linux</family>
-					<arch>ppc64</arch>
-				</os>
-			</activation>
-			<properties>
-				<swt.groupId>org.eclipse.swt</swt.groupId>
-				<swt.artifactId>org.eclipse.swt.gtk.linux.ppc64</swt.artifactId>
-			</properties>
-		</profile>
-	</profiles>
-
 	<build>
 		<plugins>
Index: trunk/quest-ui-core/src/main/java/de/ugoe/cs/quest/ui/Runner.java
===================================================================
--- trunk/quest-ui-core/src/main/java/de/ugoe/cs/quest/ui/Runner.java	(revision 526)
+++ 	(revision )
@@ -1,109 +1,0 @@
-package de.ugoe.cs.quest.ui;
-
-import java.io.IOException;
-import java.util.List;
-
-import joptsimple.OptionException;
-import joptsimple.OptionParser;
-import joptsimple.OptionSet;
-import joptsimple.OptionSpec;
-import de.ugoe.cs.quest.log4j.Log4JLogger;
-import de.ugoe.cs.quest.ui.swt.MainWindow;
-import de.ugoe.cs.util.console.CommandExecuter;
-import de.ugoe.cs.util.console.Console;
-import de.ugoe.cs.util.console.TextConsole;
-
-/**
- * <p>
- * Start-up class of the application.
- * </p>
- * <p>
- * It sets up and starts the {@link Console}.
- * </p>
- * 
- * @author Steffen Herbold
- * @version 1.0
- */
-public class Runner {
-
-	public enum UITYPE {
-		text, swt
-	};
-	
-	public enum LOG4JTYPE {
-		enable, disable
-	}
-
-	/**
-	 * <p>
-	 * Main method of the application.
-	 * </p>
-	 * 
-	 * @param args
-	 *            if parameters are defined, they are interpreted as commands
-	 *            for the {@link Console} and executed before the user can use
-	 *            the console; can be used to perform batch operations
-	 */
-	public static void main(String[] args) {
-		CommandExecuter.getInstance().addCommandPackage(
-				"de.ugoe.cs.quest.ui.commands");
-		CommandExecuter.getInstance().addCommandPackage(
-				"de.ugoe.cs.quest.plugin.mfc.commands");
-		CommandExecuter.getInstance().addCommandPackage(
-				"de.ugoe.cs.quest.plugin.php.commands");
-		CommandExecuter.getInstance().addCommandPackage(
-				"de.ugoe.cs.quest.plugin.guitar.commands");
-		CommandExecuter.getInstance().addCommandPackage(
-				"de.ugoe.cs.quest.plugin.jfc.commands");
-		//new Log4JLogger();
-
-		OptionParser parser = new OptionParser();
-		OptionSpec<LOG4JTYPE> log4j = parser.accepts("log4j", "Allowed values: enable, disable").withRequiredArg()
-				.ofType(LOG4JTYPE.class).defaultsTo(LOG4JTYPE.enable);
-		OptionSpec<UITYPE> ui = parser.accepts("ui", "Allowed values: text, swt").withRequiredArg()
-				.ofType(UITYPE.class).defaultsTo(UITYPE.text);
-		OptionSpec<LOG4JTYPE> trace = parser.accepts("trace", "Allowed values: enable, disable").withRequiredArg().ofType(LOG4JTYPE.class).defaultsTo(LOG4JTYPE.enable);
-		OptionSet options = parser.parse(args);
-
-		List<String> startupCommands = options.nonOptionArguments();
-		try {
-			switch (options.valueOf(log4j)) {
-			case enable:
-				new Log4JLogger();
-				break;
-			case disable:
-				// do nothing
-				break;
-			default:
-				throw new AssertionError("reached source code that should be unreachable");
-			}
-			
-			switch (options.valueOf(ui)) {
-			case text:
-				TextConsole textConsole = new TextConsole();
-				if( options.valueOf(trace)==LOG4JTYPE.disable ) {
-					textConsole.setDebug(false);
-				}
-				for (String command : startupCommands) {
-					CommandExecuter.getInstance().exec(command);
-				}
-				textConsole.run(true);
-				break;
-			case swt:
-				MainWindow mainWindow = new MainWindow(startupCommands);
-				mainWindow.open();
-				break;
-			default:
-				throw new AssertionError("reached source code that should be unreachable");
-			}
-		} catch (OptionException e) {
-			System.err.println("Invalid Parameters: " + e.getMessage());
-			try {
-				parser.printHelpOn(System.out);
-			} catch (IOException e1) {
-				// ignore exception.
-			}
-		}
-	}
-
-}
Index: trunk/quest-ui-core/src/main/java/de/ugoe/cs/quest/ui/commands/CMDshowSequences.java
===================================================================
--- trunk/quest-ui-core/src/main/java/de/ugoe/cs/quest/ui/commands/CMDshowSequences.java	(revision 526)
+++ 	(revision )
@@ -1,69 +1,0 @@
-package de.ugoe.cs.quest.ui.commands;
-
-import java.security.InvalidParameterException;
-import java.util.List;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Shell;
-
-import de.ugoe.cs.quest.CommandHelpers;
-import de.ugoe.cs.quest.SequenceInstanceOf;
-import de.ugoe.cs.quest.ui.GlobalDataContainer;
-import de.ugoe.cs.quest.ui.swt.SequencesDialog;
-import de.ugoe.cs.util.console.Command;
-import de.ugoe.cs.util.console.Console;
-
-/**
- * <p>
- * Command to show sequences.
- * </p>
- * 
- * @author Jeffrey Hall, Steffen Herbold
- */
-public class CMDshowSequences implements Command {
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see de.ugoe.cs.util.console.Command#help()
-	 */
-	@Override
-	public void help() {
-		Console.println("Usage: showSequences <sequencesName>");
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see de.ugoe.cs.util.console.Command#run(java.util.List)
-	 */
-	@Override
-	public void run(List<Object> parameters) {
-		String sequencesName;
-		try {
-			sequencesName = (String) parameters.get(0);
-		} catch (Exception e) {
-			throw new InvalidParameterException();
-		}
-
-		Object dataObject = GlobalDataContainer.getInstance().getData(
-				sequencesName);
-		if (dataObject == null) {
-			CommandHelpers.objectNotFoundMessage(sequencesName);
-			return;
-		}
-		if (!SequenceInstanceOf.isCollectionOfSequences(dataObject)) {
-			CommandHelpers.objectNotType(sequencesName,
-					"Collection<List<Event<?>>>");
-			return;
-		}
-
-		Shell shell = new Shell(SWT.NONE);
-		shell.open();
-		shell.layout();
-		shell.setSize(0, 0);
-		SequencesDialog sequencesDialog = new SequencesDialog(shell, SWT.NONE);
-		sequencesDialog.open(sequencesName);
-		shell.dispose();
-	}
-}
