Skip to main content
summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorTom Schindl2014-05-12 10:45:13 -0400
committerTom Schindl2014-05-12 10:45:13 -0400
commitc9bb3adcc875fe2675c98c9310b2cff8fdb58eac (patch)
tree3b95404c546ee5e3779a9825e7090ef3c2e38610 /demos
parent5768f363b6401d97e48e6b064f1ccbfabe49d3a2 (diff)
downloadorg.eclipse.efxclipse-c9bb3adcc875fe2675c98c9310b2cff8fdb58eac.tar.gz
org.eclipse.efxclipse-c9bb3adcc875fe2675c98c9310b2cff8fdb58eac.tar.xz
org.eclipse.efxclipse-c9bb3adcc875fe2675c98c9310b2cff8fdb58eac.zip
Bug 434228 - [e4] Add support for DnD of Parts
Diffstat (limited to 'demos')
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.feature/.project17
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.feature/build.properties1
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.feature/feature.xml88
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.feature/pom.xml16
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/.project17
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/build.properties1
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/feature.xml23
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/.classpath7
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/.project28
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/META-INF/MANIFEST.MF55
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/bin/.gitignore1
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/build.properties3
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/org.eclipse.fx.testcases.dnd.app.jemmy.launch50
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/pom.xml79
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/SampleTestCase.java24
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/TestSuite.java12
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.product/.project11
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product25
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product.launch37
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.product/pom.xml40
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.releng/.project11
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.releng/build.xml51
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.releng/org.eclipse.fx.ide.ant.jarbin0 -> 4743 bytes
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app.releng/pom.xml155
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/.classpath7
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/.project28
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/Application.e4xmi28
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/META-INF/MANIFEST.MF52
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/bin/.gitignore1
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/build.properties7
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/css/default.css1
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/plugin.xml19
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/pom.xml33
-rw-r--r--demos/org.eclipse.fx.testcases.dnd.app/src/org/eclipse/fx/testcases/dnd/app/PartImpl.java31
34 files changed, 959 insertions, 0 deletions
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.feature/.project b/demos/org.eclipse.fx.testcases.dnd.app.feature/.project
new file mode 100644
index 000000000..139b093d9
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.feature/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.dnd.app.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.feature/build.properties b/demos/org.eclipse.fx.testcases.dnd.app.feature/build.properties
new file mode 100644
index 000000000..b045d3976
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.feature/feature.xml b/demos/org.eclipse.fx.testcases.dnd.app.feature/feature.xml
new file mode 100644
index 000000000..f292aca3a
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.feature/feature.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.eclipse.fx.testcases.dnd.app.feature"
+ label="DnDSample Application Feature"
+ version="1.0.0.qualifier"
+ provider-name="${BundleProject_bundleVendor}"
+ >
+ <description url="http://www.efxclipse.org">
+ TODO FILL WITH CONTENT
+ </description>
+
+ <copyright url="http://www.efxclipse.org">
+ TODO FILL WITH CONTENT
+ </copyright>
+
+ <license url="http://www.efxclipse.org">
+ TODO FILL WITH CONTENT
+ </license>
+
+ <plugin id="org.eclipse.fx.testcases.dnd.app" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.keybindings" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.keybindings.e4" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.keybindings.generic" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.core.databinding" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.databinding" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.core" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.di" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.dialogs" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.javafx" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.osgi" install-size="0" version="0.0.0" unpack="false" fragment="true"/>
+ <plugin id="org.eclipse.fx.osgi.util" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.panes" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.services" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.theme" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.workbench.base" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.workbench.fx" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.workbench.fx.controls" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.workbench.renderers.base" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.workbench.renderers.fx" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.fx.ui.lifecycle" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="com.ibm.icu" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="javax.annotation" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="javax.inject" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="javax.xml" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.apache.commons.logging" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.apache.commons.lang" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.commands" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.contenttype" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.databinding" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.databinding.observable" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.databinding.property" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.expressions" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.filesystem" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.jobs" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.resources" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.core.runtime" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.core.commands" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.core.contexts" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.core.di" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.core.di.extensions" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.core.services" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.ui.di" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.ui.model.workbench" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.ui.services" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.e4.ui.workbench" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.emf.common" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.emf.databinding" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.emf.ecore" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.emf.ecore.change" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.emf.ecore.xmi" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.app" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.common" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.concurrent" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.ds" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.event" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.launcher" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.preferences" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.registry" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.util" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.osgi" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.osgi.services" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.eclipse.equinox.console" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.apache.felix.gogo.command" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.apache.felix.gogo.runtime" install-size="0" version="0.0.0" unpack="false" />
+ <plugin id="org.apache.felix.gogo.shell" install-size="0" version="0.0.0" unpack="false" />
+
+
+</feature>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.feature/pom.xml b/demos/org.eclipse.fx.testcases.dnd.app.feature/pom.xml
new file mode 100644
index 000000000..149ade531
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.feature/pom.xml
@@ -0,0 +1,16 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>DnDSample - application feature</name>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+
+ <parent>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.releng</artifactId>
+ <relativePath>../org.eclipse.fx.testcases.dnd.app.releng/pom.xml</relativePath>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+</project> \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/.project b/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/.project
new file mode 100644
index 000000000..62a4f3ea3
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.dnd.app.jemmy.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/build.properties b/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/build.properties
new file mode 100644
index 000000000..b045d3976
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/feature.xml b/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/feature.xml
new file mode 100644
index 000000000..121111cd8
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy.feature/feature.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.eclipse.fx.testcases.dnd.app.jemmy.feature"
+ label="DnDSample Jemmy JUnit Feature"
+ version="1.0.0.qualifier"
+ provider-name="${BundleProject_bundleVendor}"
+ >
+ <description url="http://www.efxclipse.org">
+ TODO FILL WITH CONTENT
+ </description>
+
+ <copyright url="http://www.efxclipse.org">
+ TODO FILL WITH CONTENT
+ </copyright>
+
+ <license url="http://www.efxclipse.org">
+ TODO FILL WITH CONTENT
+ </license>
+
+ <plugin id="org.eclipse.fx.testcases.dnd.app.jemmy" install-size="0" version="0.0.0" unpack="false" />
+
+
+</feature>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/.classpath b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/.classpath
new file mode 100644
index 000000000..22f30643c
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/.project b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/.project
new file mode 100644
index 000000000..1184fc578
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.dnd.app.jemmy</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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/META-INF/MANIFEST.MF b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..93af749d0
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/META-INF/MANIFEST.MF
@@ -0,0 +1,55 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: My Sample App Jemmy UI Tests
+Bundle-SymbolicName: org.eclipse.fx.testcases.dnd.app.jemmy
+Bundle-Version: 1.0.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Require-Bundle: org.junit,
+ at.bestsolution.efxclipse.jemmy
+Import-Package: javax.inject;version="1.0.0",
+ javax.annotation;version="1.0.0",
+ javafx.animation;version="2.0.0",
+ javafx.application;version="2.0.0",
+ javafx.beans;version="2.0.0",
+ javafx.beans.binding;version="2.0.0",
+ javafx.beans.property;version="2.0.0",
+ javafx.beans.value;version="2.0.0",
+ javafx.collections;version="2.0.0",
+ javafx.concurrent;version="2.0.0",
+ javafx.event;version="2.0.0",
+ javafx.fxml;version="2.0.0",
+ javafx.geometry;version="2.0.0",
+ javafx.scene;version="2.0.0",
+ javafx.scene.chart;version="2.0.0",
+ javafx.scene.control;version="2.0.0",
+ javafx.scene.control.cell;version="2.0.0",
+ javafx.scene.effect;version="2.0.0",
+ javafx.scene.image;version="2.0.0",
+ javafx.scene.input;version="2.0.0",
+ javafx.scene.layout;version="2.0.0",
+ javafx.scene.media;version="2.0.0",
+ javafx.scene.paint;version="2.0.0",
+ javafx.scene.shape;version="2.0.0",
+ javafx.scene.text;version="2.0.0",
+ javafx.scene.transform;version="2.0.0",
+ javafx.scene.web;version="2.0.0",
+ javafx.stage;version="2.0.0",
+ javafx.util;version="2.0.0",
+ org.jemmy.action;version="3.0.0",
+ org.jemmy.browser;version="3.0.0",
+ org.jemmy.control;version="3.0.0",
+ org.jemmy.dock;version="3.0.0",
+ org.jemmy.env;version="3.0.0",
+ org.jemmy.fx;version="3.0.0",
+ org.jemmy.fx.control;version="3.0.0",
+ org.jemmy.fx.control.caspian;version="3.0.0",
+ org.jemmy.image;version="3.0.0",
+ org.jemmy.image.pixel;version="3.0.0",
+ org.jemmy.input;version="3.0.0",
+ org.jemmy.input.glass;version="3.0.0",
+ org.jemmy.interfaces;version="3.0.0",
+ org.jemmy.lookup;version="3.0.0",
+ org.jemmy.operators;version="3.0.0",
+ org.jemmy.resources;version="3.0.0",
+ org.jemmy.support;version="3.0.0",
+ org.jemmy.timing;version="3.0.0"
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/bin/.gitignore b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/bin/.gitignore
new file mode 100644
index 000000000..571ee510a
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/bin/.gitignore
@@ -0,0 +1 @@
+/org
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/build.properties b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/build.properties
new file mode 100644
index 000000000..c634d9795
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/build.properties
@@ -0,0 +1,3 @@
+bin.includes = .,\
+ META-INF/
+source.. = src/
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/org.eclipse.fx.testcases.dnd.app.jemmy.launch b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/org.eclipse.fx.testcases.dnd.app.jemmy.launch
new file mode 100644
index 000000000..b5145e6e6
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/org.eclipse.fx.testcases.dnd.app.jemmy.launch
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig">
+<setAttribute key="additional_plugins"/>
+<booleanAttribute key="append.args" value="true"/>
+<stringAttribute key="application" value="org.eclipse.pde.junit.runtime.coretestapplication"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="false"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="false"/>
+<stringAttribute key="featureDefaultLocation" value="workspace"/>
+<stringAttribute key="featurePluginResolution" value="workspace"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/my.app.sample.jemmy/src/my/app/sample/jemmy/TestSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.fx.testcases.dnd.app.jemmy.TestSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-nl ${target.nl} -consoleLog -nosplash"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.fx.testcases.dnd.app.jemmy"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms40m -Xmx512m -Dosgi.framework.extensions=org.eclipse.fx.osgi -Dtest.jemmy.product=org.eclipse.fx.testcases.dnd.app.product"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
+<booleanAttribute key="run_in_ui_thread" value="false"/>
+<setAttribute key="selected_features">
+<setEntry value="org.eclipse.fx.testcases.dnd.app.jemmy.feature:default"/>
+<setEntry value="at.bestsolution.efxclipse.jemmy.feature:default"/>
+<setEntry value="at.bestsolution.efxclipse.jemmy.junit.feature:default"/>
+<setEntry value="org.eclipse.fx.testcases.dnd.app.feature:default"/>
+</setAttribute>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="true"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="false"/>
+</launchConfiguration>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/pom.xml b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/pom.xml
new file mode 100644
index 000000000..0dfef5b8c
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/pom.xml
@@ -0,0 +1,79 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>DnDSample - jemmy tests</name>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.jemmy</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <parent>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.releng</artifactId>
+ <relativePath>../org.eclipse.fx.testcases.dnd.app.releng/pom.xml</relativePath>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.fx.testcases.dnd.app.jemmy</testSuite>
+ <testClass>org.eclipse.fx.testcases.dnd.app.jemmy.TestSuite</testClass>
+ <useUIHarness>false</useUIHarness>
+ <useUIThread>false</useUIThread>
+ <argLine>-Xms40m -Xmx512m -Defxclipse.osgi.hook.debug=true -Dosgi.framework.extensions=org.eclipse.fx.osgi -Dtest.jemmy.product=org.eclipse.fx.testcases.dnd.app.product</argLine>
+ <appArgLine>-consoleLog -nosplash</appArgLine>
+ <application>org.eclipse.pde.junit.runtime.coretestapplication</application>
+ <dependencies>
+ <dependency>
+ <type>eclipse-feature</type>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.feature</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ </dependencies>
+ <frameworkExtensions>
+ <frameworkExtension>
+ <groupId>org.eclipse.fx.runtime</groupId>
+ <artifactId>org.eclipse.fx.osgi</artifactId>
+ <version>${efx-version}</version>
+ </frameworkExtension>
+ </frameworkExtensions>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/SampleTestCase.java b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/SampleTestCase.java
new file mode 100644
index 000000000..aa13da192
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/SampleTestCase.java
@@ -0,0 +1,24 @@
+package org.eclipse.fx.testcases.dnd.app.jemmy;
+
+import org.jemmy.fx.SceneDock;
+import org.junit.Assert;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class SampleTestCase {
+ protected static SceneDock scene;
+
+ @BeforeClass
+ public static void startApp() throws InterruptedException {
+ try {
+ scene = new SceneDock();
+ } catch(Throwable t ) {
+ t.printStackTrace();
+ }
+ }
+
+ @Test
+ public void sampleTestMethod() {
+ Assert.fail("Not implemented");
+ }
+}
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/TestSuite.java b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/TestSuite.java
new file mode 100644
index 000000000..fd42fc435
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.jemmy/src/org/eclipse/fx/testcases/dnd/app/jemmy/TestSuite.java
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.dnd.app.jemmy;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+import at.bestsolution.efxclipse.jemmy.OSGiJemmyBootstrapTestCase;
+
+@RunWith(Suite.class)
+@Suite.SuiteClasses({ SampleTestCase.class })
+public class TestSuite extends OSGiJemmyBootstrapTestCase {
+
+}
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.product/.project b/demos/org.eclipse.fx.testcases.dnd.app.product/.project
new file mode 100644
index 000000000..614e705fd
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.product/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.dnd.app.product</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product b/demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product
new file mode 100644
index 000000000..19ae183ad
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="DnDSample" uid="org.eclipse.fx.testcases.dnd.app.product" id="org.eclipse.fx.testcases.dnd.app.product" application="org.eclipse.fx.ui.workbench.fx.application" version="1.0.0" useFeatures="true" includeLaunchers="false">
+
+ <configIni use="default">
+ </configIni>
+ <launcherArgs>
+ <programArgs>-nosplash</programArgs>
+ <vmArgs>-Dosgi.framework.extensions=org.eclipse.fx.osgi</vmArgs>
+ </launcherArgs>
+
+ <windowImages/>
+
+ <features>
+ <feature id="org.eclipse.fx.testcases.dnd.app.feature" version="1.0.0.qualifier"/>
+ </features>
+ <configurations>
+ <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
+ <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
+ <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="1" />
+ <plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
+ </configurations>
+</product>
+
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product.launch b/demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product.launch
new file mode 100644
index 000000000..56755b07b
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product.launch
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
+<setAttribute key="additional_plugins"/>
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="false"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="false"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/org.eclipse.fx.testcases.dnd.app.product.product"/>
+<booleanAttribute key="default" value="false"/>
+<stringAttribute key="featureDefaultLocation" value="workspace"/>
+<stringAttribute key="featurePluginResolution" value="workspace"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../runtime-org.eclipse.fx.testcases.dnd.app.product"/>
+<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-nl ${target.nl} -consoleLog -nosplash"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.framework.extensions=org.eclipse.fx.osgi"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.fx.testcases.dnd.app.product"/>
+<stringAttribute key="productFile" value="/org.eclipse.fx.testcases.dnd.app.product/org.eclipse.fx.testcases.dnd.app.product.product"/>
+<setAttribute key="selected_features">
+<setEntry value="org.eclipse.fx.testcases.dnd.app.feature:default"/>
+</setAttribute>
+<booleanAttribute key="show_selected_only" value="false"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="true"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="true"/>
+<booleanAttribute key="useProduct" value="true"/>
+<booleanAttribute key="usefeatures" value="false"/>
+</launchConfiguration>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.product/pom.xml b/demos/org.eclipse.fx.testcases.dnd.app.product/pom.xml
new file mode 100644
index 000000000..917a833be
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.product/pom.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>DnDSample - application product</name>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.product</artifactId>
+ <packaging>eclipse-repository</packaging>
+
+ <parent>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.releng</artifactId>
+ <relativePath>../org.eclipse.fx.testcases.dnd.app.releng/pom.xml</relativePath>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-director-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>materialize-products</id>
+ <goals>
+ <goal>materialize-products</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>archive-products</id>
+ <goals>
+ <goal>archive-products</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project> \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.releng/.project b/demos/org.eclipse.fx.testcases.dnd.app.releng/.project
new file mode 100644
index 000000000..0a4511d24
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.releng/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.dnd.app.releng</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.releng/build.xml b/demos/org.eclipse.fx.testcases.dnd.app.releng/build.xml
new file mode 100644
index 000000000..2e09df0c6
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.releng/build.xml
@@ -0,0 +1,51 @@
+<project name="native-build" default="do-deploy" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
+ <property name="eclipse-app-dir" value="../org.eclipse.fx.testcases.dnd.app.product/target/products/org.eclipse.fx.testcases.dnd.app.product/noenv/noenv/noenv" />
+
+ <target name="init-fx-tasks">
+ <taskdef name="fxosgilauncher" classpath="org.eclipse.fx.ide.ant.jar" classname="org.eclipse.fx.ide.ant.FXOsgiLaunchTask" />
+ <path id="fxant">
+ <filelist>
+ <file name="${java.home}\..\lib\ant-javafx.jar"/>
+ <file name="${java.home}\lib\ant-jfxrt.jar"/>
+ </filelist>
+ </path>
+ <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
+ uri="javafx:com.sun.javafx.tools.ant"
+ classpathref="fxant"/>
+ </target>
+
+ <target name="do-deploy" depends="init-fx-tasks">
+ <fileset id="equinox-launcher" dir="../org.eclipse.fx.testcases.dnd.app.product/target/products/org.eclipse.fx.testcases.dnd.app.product/noenv/noenv/noenv">
+ <filename name="plugins/org.eclipse.equinox.launcher_*.jar"/>
+ </fileset>
+ <fxosgilauncher classpathref="fxant" equinoxlauncherjarref="equinox-launcher"/>
+
+ <fx:resources id="appRes">
+ <fx:fileset dir="." includes="fx-osgi-launch.jar"/>
+ <fx:fileset dir="${eclipse-app-dir}" includes="**/*"/>
+ </fx:resources>
+
+ <fx:application id="fxApplication"
+ name="DnDSample"
+ mainClass="org.eclipse.equinox.launcher.Main"
+ toolkit="swing"
+
+ />
+
+ <fx:deploy
+ embedJNLP="false"
+ extension="false"
+ includeDT="false"
+ offlineAllowed="true"
+ outdir="${basedir}/deploy"
+ outfile="fix-ide"
+ nativeBundles="all"
+ updatemode="background"
+ >
+
+ <fx:info title="DnDSample" vendor=""/>
+ <fx:application refid="fxApplication"/>
+ <fx:resources refid="appRes"/>
+ </fx:deploy>
+ </target>
+</project> \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.releng/org.eclipse.fx.ide.ant.jar b/demos/org.eclipse.fx.testcases.dnd.app.releng/org.eclipse.fx.ide.ant.jar
new file mode 100644
index 000000000..45ddf0390
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.releng/org.eclipse.fx.ide.ant.jar
Binary files differ
diff --git a/demos/org.eclipse.fx.testcases.dnd.app.releng/pom.xml b/demos/org.eclipse.fx.testcases.dnd.app.releng/pom.xml
new file mode 100644
index 000000000..f6c9ad8e6
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app.releng/pom.xml
@@ -0,0 +1,155 @@
+<?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>
+ <name>DnDSample - releng</name>
+
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
+
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.releng</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <properties>
+ <tycho-version>0.18.0</tycho-version>
+ <junit-version>4.8.1</junit-version>
+ <mockito-version>1.8.4</mockito-version>
+ <platform-version>4.2</platform-version>
+ <efx-version>0.9.0</efx-version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <modules>
+ <module>../org.eclipse.fx.testcases.dnd.app</module>
+ <module>../org.eclipse.fx.testcases.dnd.app.feature</module>
+ <module>../org.eclipse.fx.testcases.dnd.app.product</module>
+ <module>../org.eclipse.fx.testcases.dnd.app.jemmy</module>
+ </modules>
+
+ <repositories>
+ <repository>
+ <id>efxclipse-repo</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/efxclipse/runtime-nightly/site</url>
+ </repository>
+ <repository>
+ <id>efxclipse-addons</id>
+ <layout>p2</layout>
+ <url>http://downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/runtime/nightly/site/</url>
+ </repository>
+
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>tycho</id>
+ <url>http://repository.sonatype.org/content/groups/sonatype-public-grid</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <build>
+
+ <!-- build plugins -->
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ <pomDependencies>consider</pomDependencies>
+ <environments>
+ <environment>
+ <os>noenv</os>
+ <ws>noenv</ws>
+ <arch>noenv</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
+ </plugins>
+
+
+ <!-- defines the default settings for the used plugins -->
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ <source>1.7</source>
+ <target>1.7</target>
+ <extraClasspathElements>
+ <extraClasspathElement>
+ <groupId>javafx</groupId>
+ <artifactId>javafx.mvn</artifactId>
+ <version>2.2.0-SNAPSHOT</version>
+ </extraClasspathElement>
+ </extraClasspathElements>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>plugin-source</id>
+ <goals>
+ <goal>plugin-source</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <archiveSite>true</archiveSite>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit-version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>${mockito-version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project> \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/.classpath b/demos/org.eclipse.fx.testcases.dnd.app/.classpath
new file mode 100644
index 000000000..22f30643c
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/.project b/demos/org.eclipse.fx.testcases.dnd.app/.project
new file mode 100644
index 000000000..7efedd031
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.dnd.app</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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/Application.e4xmi b/demos/org.eclipse.fx.testcases.dnd.app/Application.e4xmi
new file mode 100644
index 000000000..3042a3e5b
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/Application.e4xmi
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmi:id="_sTJ2MdYyEeOfScQ4JVEa_Q" elementId="org.eclipse.e4.application" bindingContexts="_sTJ2MNYyEeOfScQ4JVEa_Q">
+ <children xsi:type="basic:TrimmedWindow" xmi:id="_ygSG0NYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.trimmedwindow.0" label="DnD Sample App" x="300" y="300" width="800" height="600">
+ <children xsi:type="advanced:Area" xmi:id="_0e2FQNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.area.0" horizontal="true">
+ <children xsi:type="basic:PartStack" xmi:id="_1gOCsNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.partstack.0">
+ <children xsi:type="basic:Part" xmi:id="_28fMYNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.part.0" contributionURI="bundleclass://org.eclipse.fx.testcases.dnd.app/org.eclipse.fx.testcases.dnd.app.PartImpl" label="Part 1.1"/>
+ <children xsi:type="basic:Part" xmi:id="_3YtOUNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.part.1" contributionURI="bundleclass://org.eclipse.fx.testcases.dnd.app/org.eclipse.fx.testcases.dnd.app.PartImpl" label="Part 1.2"/>
+ <children xsi:type="basic:Part" xmi:id="_TYMgsNmkEeOeHrM7cJEweQ" elementId="org.eclipse.fx.testcases.dnd.app.part.4" contributionURI="bundleclass://org.eclipse.fx.testcases.dnd.app/org.eclipse.fx.testcases.dnd.app.PartImpl" label="Part 1.3"/>
+ </children>
+ <children xsi:type="basic:PartStack" xmi:id="_2Z1LQNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.partstack.1">
+ <children xsi:type="basic:Part" xmi:id="_3xoEoNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.part.2" contributionURI="bundleclass://org.eclipse.fx.testcases.dnd.app/org.eclipse.fx.testcases.dnd.app.PartImpl" label="Part 2.1"/>
+ <children xsi:type="basic:Part" xmi:id="_4My9sNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.part.3" contributionURI="bundleclass://org.eclipse.fx.testcases.dnd.app/org.eclipse.fx.testcases.dnd.app.PartImpl" label="Part 2.2"/>
+ </children>
+ </children>
+ </children>
+ <rootContext xmi:id="_sTJ2MNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
+ <children xmi:id="_sTKdQNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
+ <children xmi:id="_sTKdQdYyEeOfScQ4JVEa_Q" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
+ </rootContext>
+ <addons xmi:id="_sTKdQtYyEeOfScQ4JVEa_Q" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
+ <addons xmi:id="_sTKdQ9YyEeOfScQ4JVEa_Q" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
+ <addons xmi:id="_sTKdRNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.ui.keybindings.e4.service" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingServiceAddon"/>
+ <addons xmi:id="_sTKdRdYyEeOfScQ4JVEa_Q" elementId="org.eclipse.e4.ui.workbench.commands.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
+ <addons xmi:id="_sTKdRtYyEeOfScQ4JVEa_Q" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
+ <addons xmi:id="_sTKdR9YyEeOfScQ4JVEa_Q" elementId="org.eclipse.fx.ui.keybindings.e4.model" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon"/>
+ <addons xmi:id="_sTKdSNYyEeOfScQ4JVEa_Q" elementId="org.eclipse.e4.ui.workbench.addons.HandlerProcessingAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
+ <addons xmi:id="_VLDAQNY0EeOfScQ4JVEa_Q" elementId="org.eclipse.fx.testcases.dnd.app.addon.0" contributionURI="bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.DnDAddon"/>
+</application:Application>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/META-INF/MANIFEST.MF b/demos/org.eclipse.fx.testcases.dnd.app/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..b1eb6c9b6
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/META-INF/MANIFEST.MF
@@ -0,0 +1,52 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: My Sample App
+Bundle-SymbolicName: org.eclipse.fx.testcases.dnd.app; singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Require-Bundle: org.eclipse.fx.ui.workbench.fx,
+ org.eclipse.e4.ui.model.workbench,
+ org.eclipse.e4.core.services,
+ org.eclipse.e4.core.di,
+ org.eclipse.e4.ui.di,
+ org.eclipse.e4.core.di.extensions,
+ org.eclipse.fx.ui.theme,
+ org.eclipse.fx.ui.di,
+ org.eclipse.e4.core.contexts,
+ org.eclipse.fx.core.databinding,
+ org.eclipse.fx.ui.databinding,
+ org.eclipse.core.databinding,
+ org.eclipse.core.databinding.observable,
+ org.eclipse.core.databinding.property,
+ org.eclipse.e4.ui.workbench,
+ org.eclipse.e4.ui.services,
+ org.eclipse.fx.ui.workbench.renderers.base;bundle-version="1.0.0"
+Import-Package: javax.inject;version="1.0.0",
+ javax.annotation;version="1.0.0",
+ javafx.animation;version="2.0.0",
+ javafx.application;version="2.0.0",
+ javafx.beans;version="2.0.0",
+ javafx.beans.binding;version="2.0.0",
+ javafx.beans.property;version="2.0.0",
+ javafx.beans.value;version="2.0.0",
+ javafx.collections;version="2.0.0",
+ javafx.concurrent;version="2.0.0",
+ javafx.event;version="2.0.0",
+ javafx.fxml;version="2.0.0",
+ javafx.geometry;version="2.0.0",
+ javafx.scene;version="2.0.0",
+ javafx.scene.chart;version="2.0.0",
+ javafx.scene.control;version="2.0.0",
+ javafx.scene.control.cell;version="2.0.0",
+ javafx.scene.effect;version="2.0.0",
+ javafx.scene.image;version="2.0.0",
+ javafx.scene.input;version="2.0.0",
+ javafx.scene.layout;version="2.0.0",
+ javafx.scene.media;version="2.0.0",
+ javafx.scene.paint;version="2.0.0",
+ javafx.scene.shape;version="2.0.0",
+ javafx.scene.text;version="2.0.0",
+ javafx.scene.transform;version="2.0.0",
+ javafx.scene.web;version="2.0.0",
+ javafx.stage;version="2.0.0",
+ javafx.util;version="2.0.0"
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/bin/.gitignore b/demos/org.eclipse.fx.testcases.dnd.app/bin/.gitignore
new file mode 100644
index 000000000..571ee510a
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/bin/.gitignore
@@ -0,0 +1 @@
+/org
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/build.properties b/demos/org.eclipse.fx.testcases.dnd.app/build.properties
new file mode 100644
index 000000000..db411bb01
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/build.properties
@@ -0,0 +1,7 @@
+bin.includes = .,\
+ META-INF/,\
+ plugin.xml,\
+css/,\
+ Application.e4xmi
+
+source.. = src/
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/css/default.css b/demos/org.eclipse.fx.testcases.dnd.app/css/default.css
new file mode 100644
index 000000000..a38730ef4
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/css/default.css
@@ -0,0 +1 @@
+/* Main CSS-File */ \ No newline at end of file
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/plugin.xml b/demos/org.eclipse.fx.testcases.dnd.app/plugin.xml
new file mode 100644
index 000000000..8ad06afb6
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/plugin.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+<extension id="product" point="org.eclipse.core.runtime.products">
+ <product name="DnDSample" application="org.eclipse.fx.ui.workbench.fx.application" >
+ <property name="appName" value="DnDSample" />
+
+ <property name="applicationXMI" value="org.eclipse.fx.testcases.dnd.app/Application.e4xmi" />
+
+ <property name="cssTheme" value="theme.default" />
+
+ </product>
+
+</extension>
+<extension point="org.eclipse.fx.ui.theme">
+ <theme id="theme.default" basestylesheet="css/default.css" />
+
+</extension>
+</plugin>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/pom.xml b/demos/org.eclipse.fx.testcases.dnd.app/pom.xml
new file mode 100644
index 000000000..f0d153e86
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/pom.xml
@@ -0,0 +1,33 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>DnDSample - application bundle</name>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app</artifactId>
+ <packaging>eclipse-plugin</packaging>
+
+ <parent>
+ <groupId>org.eclipse.fx.testcases.dnd</groupId>
+ <artifactId>org.eclipse.fx.testcases.dnd.app.releng</artifactId>
+ <relativePath>../org.eclipse.fx.testcases.dnd.app.releng/pom.xml</relativePath>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>META-INF/</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/demos/org.eclipse.fx.testcases.dnd.app/src/org/eclipse/fx/testcases/dnd/app/PartImpl.java b/demos/org.eclipse.fx.testcases.dnd.app/src/org/eclipse/fx/testcases/dnd/app/PartImpl.java
new file mode 100644
index 000000000..638c140a7
--- /dev/null
+++ b/demos/org.eclipse.fx.testcases.dnd.app/src/org/eclipse/fx/testcases/dnd/app/PartImpl.java
@@ -0,0 +1,31 @@
+package org.eclipse.fx.testcases.dnd.app;
+
+import javafx.scene.control.Label;
+import javafx.scene.control.TextField;
+import javafx.scene.layout.BorderPane;
+import javafx.scene.text.Font;
+
+import javax.annotation.PostConstruct;
+
+import org.eclipse.e4.ui.di.Focus;
+import org.eclipse.e4.ui.model.application.ui.basic.MPart;
+
+public class PartImpl {
+ private TextField f;
+
+ @PostConstruct
+ void init(BorderPane parent, MPart part) {
+ Label l = new Label(part.getLabel());
+ l.setFont(Font.font(30));
+
+ parent.setCenter(l);
+
+ f = new TextField();
+ parent.setBottom(f);
+ }
+
+ @Focus
+ void focus() {
+ f.requestFocus();
+ }
+}

Back to the top