diff options
author | Zeb Ford-Reitz | 2011-10-12 09:29:14 +0000 |
---|---|---|
committer | Zeb Ford-Reitz | 2011-10-12 09:29:14 +0000 |
commit | b264c4234119834d9cb464e6f7ab37551e5f2f06 (patch) | |
tree | fb8b0eaad32d3a0c5a85e4f705f36ddbe8d23800 | |
parent | 4f489d45434b07ca92ef20f43cd2c5db0ade8824 (diff) | |
download | org.eclipse.jubula.core-b264c4234119834d9cb464e6f7ab37551e5f2f06.tar.gz org.eclipse.jubula.core-b264c4234119834d9cb464e6f7ab37551e5f2f06.tar.xz org.eclipse.jubula.core-b264c4234119834d9cb464e6f7ab37551e5f2f06.zip |
Adds o.e.j.c.ui.rap: RAP-specific implementations for Jubula UI.
11 files changed, 185 insertions, 0 deletions
diff --git a/org.eclipse.jubula.client.ui.rap/.checkstyle b/org.eclipse.jubula.client.ui.rap/.checkstyle new file mode 100644 index 000000000..afbd8c957 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/.checkstyle @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<fileset-config file-format-version="1.2.0" simple-config="true"> + <fileset name="all" enabled="true" check-config-name="Jubula" local="false"> + <file-match-pattern match-pattern="." include-pattern="true"/> + </fileset> + <filter name="FilesFromPackage" enabled="true"> + <filter-data value="src/org/eclipse/jubula/client/ui/i18n"/> + </filter> +</fileset-config> diff --git a/org.eclipse.jubula.client.ui.rap/.classpath b/org.eclipse.jubula.client.ui.rap/.classpath new file mode 100644 index 000000000..64c5e31b7 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/org.eclipse.jubula.client.ui.rap/.gitignore b/org.eclipse.jubula.client.ui.rap/.gitignore new file mode 100644 index 000000000..84a4913a9 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/.gitignore @@ -0,0 +1,2 @@ +/target +/bin
\ No newline at end of file diff --git a/org.eclipse.jubula.client.ui.rap/.project b/org.eclipse.jubula.client.ui.rap/.project new file mode 100644 index 000000000..88c68eabe --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/.project @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.jubula.client.ui.rap</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>net.sf.eclipsecs.core.CheckstyleBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>net.sf.eclipsecs.core.CheckstyleNature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.jubula.client.ui.rap/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.jubula.client.ui.rap/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..11fa32513 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,12 @@ +#Wed Oct 05 16:04:57 CEST 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/org.eclipse.jubula.client.ui.rap/META-INF/MANIFEST.MF b/org.eclipse.jubula.client.ui.rap/META-INF/MANIFEST.MF new file mode 100644 index 000000000..25606b4f5 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/META-INF/MANIFEST.MF @@ -0,0 +1,9 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Jubula UI (RAP implementation) +Bundle-SymbolicName: org.eclipse.jubula.client.ui.rap;singleton:=true +Bundle-Version: 1.1.0.qualifier +Bundle-Vendor: Eclipse Jubula +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Require-Bundle: org.eclipse.jubula.client.ui;bundle-version="[1.1.0,1.2.0)", + org.eclipse.rap.ui;bundle-version="[1.4.0,2.0.0)" diff --git a/org.eclipse.jubula.client.ui.rap/about.html b/org.eclipse.jubula.client.ui.rap/about.html new file mode 100644 index 000000000..f1be81099 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 22, 2011</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + +</body> +</html> diff --git a/org.eclipse.jubula.client.ui.rap/build.properties b/org.eclipse.jubula.client.ui.rap/build.properties new file mode 100644 index 000000000..4fd665def --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2004, 2011 BREDEX GmbH. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################### +source.. = src/ +output.. = bin/ +jars.compile.order = . +bin.includes = about.html,\ + META-INF/,\ + plugin.xml,\ + . +javacSource = 1.5 +javacTarget = 1.5 +javacErrors.. = -assertIdentifier +source.. = src/ diff --git a/org.eclipse.jubula.client.ui.rap/plugin.xml b/org.eclipse.jubula.client.ui.rap/plugin.xml new file mode 100644 index 000000000..6a8e02794 --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/plugin.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?><!-- + Copyright (c) 2004, 2011 BREDEX GmbH. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + --> +<plugin> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.jubula.client.ui.rap.handlers.project.RapSelectDatabaseHandler" + commandId="org.eclipse.jubula.client.ui.commands.SelectDatabase"> + </handler> + </extension> + +</plugin> diff --git a/org.eclipse.jubula.client.ui.rap/pom.xml b/org.eclipse.jubula.client.ui.rap/pom.xml new file mode 100644 index 000000000..1f6a40c6f --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.jubula.releng.client</artifactId> + <groupId>org.eclipse.jubula</groupId> + <version>1.1.0-SNAPSHOT</version> + <relativePath>../org.eclipse.jubula.releng.client</relativePath> + </parent> + <groupId>org.eclipse.jubula</groupId> + <artifactId>org.eclipse.jubula.client.ui.rap</artifactId> + <version>1.1.0-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project> diff --git a/org.eclipse.jubula.client.ui.rap/src/org/eclipse/jubula/client/ui/rap/handlers/project/RapSelectDatabaseHandler.java b/org.eclipse.jubula.client.ui.rap/src/org/eclipse/jubula/client/ui/rap/handlers/project/RapSelectDatabaseHandler.java new file mode 100644 index 000000000..0ebc9dd0c --- /dev/null +++ b/org.eclipse.jubula.client.ui.rap/src/org/eclipse/jubula/client/ui/rap/handlers/project/RapSelectDatabaseHandler.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2004, 2011 BREDEX GmbH. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * BREDEX GmbH - initial API and implementation and/or initial documentation + *******************************************************************************/ +package org.eclipse.jubula.client.ui.rap.handlers.project; + +import org.eclipse.jubula.client.ui.handlers.project.AbstractSelectDatabaseHandler; + +/** + * + * @author BREDEX GmbH + * @created Oct 05, 2011 + */ +public class RapSelectDatabaseHandler extends AbstractSelectDatabaseHandler { + + @Override + protected void clearClient() { + // no-op + } + + @Override + protected void writeLineToConsole(String line) { + // no-op + } + +} |