From 689fac4ab3c33d29baa6378fcdb5fe0c40054105 Mon Sep 17 00:00:00 2001 From: Tom Schindl Date: Thu, 23 Feb 2017 09:55:27 +0100 Subject: [PATCH] refs #12 - added test project --- .../test.issue12.app.feature/.project | 17 ++ .../test.issue12.app.feature/build.properties | 1 + .../test.issue12.app.feature/feature.xml | 23 +++ .../test.issue12.app.feature/pom.xml | 16 ++ .../test.issue12.app.product/.project | 11 ++ .../test.issue12.app.product/pom.xml | 40 +++++ .../test.issue12.app.product.product | 28 ++++ .../test.issue12.app.product.product.launch | 38 +++++ .../test.issue12.app.releng/.project | 11 ++ .../test.issue12.app.releng/build.xml | 53 ++++++ .../org.eclipse.fx.ide.ant.jar | Bin 0 -> 10723 bytes .../test-apps/test.issue12.app.releng/pom.xml | 156 ++++++++++++++++++ .../test-apps/test.issue12.app/.classpath | 7 + testcases/test-apps/test.issue12.app/.project | 28 ++++ .../test.issue12.app/Application.e4xmi | 17 ++ .../test.issue12.app/META-INF/MANIFEST.MF | 26 +++ .../OSGI-INF/services/theme-default.xml | 8 + .../test-apps/test.issue12.app/bin/.gitignore | 1 + .../test.issue12.app/build.properties | 8 + .../test.issue12.app/css/default.css | 1 + .../test-apps/test.issue12.app/plugin.xml | 15 ++ testcases/test-apps/test.issue12.app/pom.xml | 33 ++++ .../src/test/issue12/app/ChildPart1.java | 17 ++ .../src/test/issue12/app/ChildPart2.java | 17 ++ .../src/test/issue12/app/MainPart.java | 54 ++++++ .../test/issue12/app/themes/DefaultTheme.java | 16 ++ 26 files changed, 642 insertions(+) create mode 100644 testcases/test-apps/test.issue12.app.feature/.project create mode 100644 testcases/test-apps/test.issue12.app.feature/build.properties create mode 100644 testcases/test-apps/test.issue12.app.feature/feature.xml create mode 100644 testcases/test-apps/test.issue12.app.feature/pom.xml create mode 100644 testcases/test-apps/test.issue12.app.product/.project create mode 100644 testcases/test-apps/test.issue12.app.product/pom.xml create mode 100644 testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product create mode 100644 testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product.launch create mode 100644 testcases/test-apps/test.issue12.app.releng/.project create mode 100644 testcases/test-apps/test.issue12.app.releng/build.xml create mode 100644 testcases/test-apps/test.issue12.app.releng/org.eclipse.fx.ide.ant.jar create mode 100644 testcases/test-apps/test.issue12.app.releng/pom.xml create mode 100644 testcases/test-apps/test.issue12.app/.classpath create mode 100644 testcases/test-apps/test.issue12.app/.project create mode 100644 testcases/test-apps/test.issue12.app/Application.e4xmi create mode 100644 testcases/test-apps/test.issue12.app/META-INF/MANIFEST.MF create mode 100644 testcases/test-apps/test.issue12.app/OSGI-INF/services/theme-default.xml create mode 100644 testcases/test-apps/test.issue12.app/bin/.gitignore create mode 100644 testcases/test-apps/test.issue12.app/build.properties create mode 100644 testcases/test-apps/test.issue12.app/css/default.css create mode 100644 testcases/test-apps/test.issue12.app/plugin.xml create mode 100644 testcases/test-apps/test.issue12.app/pom.xml create mode 100644 testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart1.java create mode 100644 testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart2.java create mode 100644 testcases/test-apps/test.issue12.app/src/test/issue12/app/MainPart.java create mode 100644 testcases/test-apps/test.issue12.app/src/test/issue12/app/themes/DefaultTheme.java diff --git a/testcases/test-apps/test.issue12.app.feature/.project b/testcases/test-apps/test.issue12.app.feature/.project new file mode 100644 index 000000000..236fe9501 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.feature/.project @@ -0,0 +1,17 @@ + + + test.issue12.app.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/testcases/test-apps/test.issue12.app.feature/build.properties b/testcases/test-apps/test.issue12.app.feature/build.properties new file mode 100644 index 000000000..b045d3976 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml \ No newline at end of file diff --git a/testcases/test-apps/test.issue12.app.feature/feature.xml b/testcases/test-apps/test.issue12.app.feature/feature.xml new file mode 100644 index 000000000..5202c9ceb --- /dev/null +++ b/testcases/test-apps/test.issue12.app.feature/feature.xml @@ -0,0 +1,23 @@ + + + + TODO FILL WITH CONTENT + + + + TODO FILL WITH CONTENT + + + + TODO FILL WITH CONTENT + + + + + + diff --git a/testcases/test-apps/test.issue12.app.feature/pom.xml b/testcases/test-apps/test.issue12.app.feature/pom.xml new file mode 100644 index 000000000..5f81f39b4 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.feature/pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + TestIssue12 - application feature + test.issue12 + test.issue12.app.feature + eclipse-feature + + + test.issue12 + test.issue12.app.releng + ../test.issue12.app.releng/pom.xml + 1.0.0-SNAPSHOT + + + \ No newline at end of file diff --git a/testcases/test-apps/test.issue12.app.product/.project b/testcases/test-apps/test.issue12.app.product/.project new file mode 100644 index 000000000..011926d92 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.product/.project @@ -0,0 +1,11 @@ + + + test.issue12.app.product + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app.product/pom.xml b/testcases/test-apps/test.issue12.app.product/pom.xml new file mode 100644 index 000000000..ef11549ef --- /dev/null +++ b/testcases/test-apps/test.issue12.app.product/pom.xml @@ -0,0 +1,40 @@ + + + 4.0.0 + TestIssue12 - application product + test.issue12 + test.issue12.app.product + eclipse-repository + + + test.issue12 + test.issue12.app.releng + ../test.issue12.app.releng/pom.xml + 1.0.0-SNAPSHOT + + + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho-version} + + + materialize-products + + materialize-products + + + + archive-products + + archive-products + + + + + + + \ No newline at end of file diff --git a/testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product b/testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product new file mode 100644 index 000000000..81fbd9f7b --- /dev/null +++ b/testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product @@ -0,0 +1,28 @@ + + + + + + + + + -nosplash + -Dorg.osgi.framework.bundle.parent=ext + + + + + + + + + + + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product.launch b/testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product.launch new file mode 100644 index 000000000..ca592d252 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.product/test.issue12.app.product.product.launch @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app.releng/.project b/testcases/test-apps/test.issue12.app.releng/.project new file mode 100644 index 000000000..07afbbbd2 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.releng/.project @@ -0,0 +1,11 @@ + + + test.issue12.app.releng + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app.releng/build.xml b/testcases/test-apps/test.issue12.app.releng/build.xml new file mode 100644 index 000000000..1fd4e599d --- /dev/null +++ b/testcases/test-apps/test.issue12.app.releng/build.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testcases/test-apps/test.issue12.app.releng/org.eclipse.fx.ide.ant.jar b/testcases/test-apps/test.issue12.app.releng/org.eclipse.fx.ide.ant.jar new file mode 100644 index 0000000000000000000000000000000000000000..e43385cdc2aa1eb6aaf1e69d827e8340a6b72d51 GIT binary patch literal 10723 zcmb_?1yEc|_Wt1R5?lfVcNm!9?(Xic0fM`S-~@LM?(R+?xFk5i-2w~*`-ghFo9x?t zueR#{`)*Cu%$;+-zI{)huKv1@q6`!?HUJ(T9&jH~CJFcr*gwC^iKz-PO38~e%L&O# ziHoVIGRcWo#EjVo3Sx_cDchmEprB|hk$xD2nRKg4RWEdcZvp)+~{RhBAe% zpg$^*qM$qQDa0!EeP98H$L`uVqZXH}M?}I&S!M21yq261teuNqe*htwk7EIW5|~1f zSxw;G9h!*o(klUhM+ejj=?J=Lj5{qH9XLD83e+LnW)-{2^GK_S#Sh97yB%hPvjuNE zY*pNgFLcy)p-B1BxpK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T&&%dt zu>Rfcp9=V|+kDo*zmWW&&VMOe|C;kz6aT`}|IGO}P5m?S&l>r6_4TZge*uX1+bjE{ z?|;Gh7q|bRn17G+v#R@D3O%d3U%1BqKWOon#``_Yf0iQ8O6wPv2>z+Ne#PO>9?#0_ z7asoM@lSR2cWwRqkfJ9152^Kc&dPSJa_*0 i`Qll*{X*+sll*rbrzish`|OVP^K$t4>h-CffBipRDNTC- literal 0 HcmV?d00001 diff --git a/testcases/test-apps/test.issue12.app.releng/pom.xml b/testcases/test-apps/test.issue12.app.releng/pom.xml new file mode 100644 index 000000000..d4fa09a35 --- /dev/null +++ b/testcases/test-apps/test.issue12.app.releng/pom.xml @@ -0,0 +1,156 @@ + + + 4.0.0 + TestIssue12 - releng + + + 3.0 + + + test.issue12 + test.issue12.app.releng + 1.0.0-SNAPSHOT + pom + + 0.23.1 + 4.11 + 1.8.4 + 4.2 + 1.0.0 + UTF-8 + + + + ../test.issue12.app + ../test.issue12.app.feature + ../test.issue12.app.product + + + + + efxclipse-repo + p2 + http://download.eclipse.org/efxclipse/runtime-nightly/site + + + efxclipse-addons + p2 + http://downloads.efxclipse.org/efxclipse.bestsolution.at/p2-repos/addons/nightly/site/ + + + + + + + tycho + http://repository.sonatype.org/content/groups/sonatype-public-grid + + true + + + + + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + p2 + consider + + + noenv + noenv + noenv + + + + + + + + + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + UTF-8 + 1.8 + 1.8 + + + javafx + javafx.mvn + 2.2.0-SNAPSHOT + + + + + + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} + + + plugin-source + + plugin-source + + + + + + org.eclipse.tycho + tycho-packaging-plugin + ${tycho-version} + + + false + + + + + + + + + + + junit + junit + ${junit-version} + test + + + + + + + org.mockito + mockito-core + ${mockito-version} + + + + junit + junit + test + + + + \ No newline at end of file diff --git a/testcases/test-apps/test.issue12.app/.classpath b/testcases/test-apps/test.issue12.app/.classpath new file mode 100644 index 000000000..22f30643c --- /dev/null +++ b/testcases/test-apps/test.issue12.app/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/testcases/test-apps/test.issue12.app/.project b/testcases/test-apps/test.issue12.app/.project new file mode 100644 index 000000000..36bb1aeef --- /dev/null +++ b/testcases/test-apps/test.issue12.app/.project @@ -0,0 +1,28 @@ + + + test.issue12.app + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/testcases/test-apps/test.issue12.app/Application.e4xmi b/testcases/test-apps/test.issue12.app/Application.e4xmi new file mode 100644 index 000000000..81cfe262e --- /dev/null +++ b/testcases/test-apps/test.issue12.app/Application.e4xmi @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app/META-INF/MANIFEST.MF b/testcases/test-apps/test.issue12.app/META-INF/MANIFEST.MF new file mode 100644 index 000000000..34811f717 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/META-INF/MANIFEST.MF @@ -0,0 +1,26 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: My Sample App +Bundle-SymbolicName: test.issue12.app; singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +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.services +Import-Package: javax.inject;version="1.0.0" +Service-Component: OSGI-INF/services/theme-default.xml diff --git a/testcases/test-apps/test.issue12.app/OSGI-INF/services/theme-default.xml b/testcases/test-apps/test.issue12.app/OSGI-INF/services/theme-default.xml new file mode 100644 index 000000000..9bafa5cc0 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/OSGI-INF/services/theme-default.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app/bin/.gitignore b/testcases/test-apps/test.issue12.app/bin/.gitignore new file mode 100644 index 000000000..193378602 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/bin/.gitignore @@ -0,0 +1 @@ +/test/ diff --git a/testcases/test-apps/test.issue12.app/build.properties b/testcases/test-apps/test.issue12.app/build.properties new file mode 100644 index 000000000..b1160c18b --- /dev/null +++ b/testcases/test-apps/test.issue12.app/build.properties @@ -0,0 +1,8 @@ +bin.includes = .,\ + META-INF/,\ + plugin.xml,\ +css/,\ + Application.e4xmi,\ + OSGI-INF/ + +source.. = src/ diff --git a/testcases/test-apps/test.issue12.app/css/default.css b/testcases/test-apps/test.issue12.app/css/default.css new file mode 100644 index 000000000..c4ad87a47 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/css/default.css @@ -0,0 +1 @@ +/* JavaFX CSS - Main CSS-File */ \ No newline at end of file diff --git a/testcases/test-apps/test.issue12.app/plugin.xml b/testcases/test-apps/test.issue12.app/plugin.xml new file mode 100644 index 000000000..cb7245c8c --- /dev/null +++ b/testcases/test-apps/test.issue12.app/plugin.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/testcases/test-apps/test.issue12.app/pom.xml b/testcases/test-apps/test.issue12.app/pom.xml new file mode 100644 index 000000000..8794b9002 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/pom.xml @@ -0,0 +1,33 @@ + + 4.0.0 + TestIssue12 - application bundle + test.issue12 + test.issue12.app + eclipse-plugin + + + test.issue12 + test.issue12.app.releng + ../test.issue12.app.releng/pom.xml + 1.0.0-SNAPSHOT + + + + + + . + + META-INF/ + + + + + + org.eclipse.tycho + tycho-source-plugin + + + + + diff --git a/testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart1.java b/testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart1.java new file mode 100644 index 000000000..e693af3b7 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart1.java @@ -0,0 +1,17 @@ +package test.issue12.app; + +import javax.annotation.PostConstruct; + +import javafx.scene.control.Button; +import javafx.scene.layout.BorderPane; + +/** + * @author tomschindl + * + */ +public class ChildPart1 { + @PostConstruct + void init( BorderPane p ) { + p.setCenter(new Button("Child 1")); + } +} diff --git a/testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart2.java b/testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart2.java new file mode 100644 index 000000000..ca3b0f1e7 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/src/test/issue12/app/ChildPart2.java @@ -0,0 +1,17 @@ +package test.issue12.app; + +import javax.annotation.PostConstruct; + +import javafx.scene.control.Button; +import javafx.scene.layout.BorderPane; + +/** + * @author tomschindl + * + */ +public class ChildPart2 { + @PostConstruct + void init( BorderPane p ) { + p.setCenter(new Button("Child 2")); + } +} diff --git a/testcases/test-apps/test.issue12.app/src/test/issue12/app/MainPart.java b/testcases/test-apps/test.issue12.app/src/test/issue12/app/MainPart.java new file mode 100644 index 000000000..f751087a5 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/src/test/issue12/app/MainPart.java @@ -0,0 +1,54 @@ +package test.issue12.app; + +import javax.annotation.PostConstruct; +import javax.inject.Inject; + +import org.eclipse.e4.ui.model.application.MApplication; +import org.eclipse.e4.ui.model.application.ui.basic.MPart; +import org.eclipse.e4.ui.model.application.ui.basic.MPartStack; +import org.eclipse.e4.ui.model.application.ui.basic.MTrimmedWindow; +import org.eclipse.e4.ui.workbench.modeling.EModelService; +import org.eclipse.e4.ui.workbench.modeling.EPartService; + +import javafx.event.ActionEvent; +import javafx.scene.control.Button; +import javafx.scene.layout.BorderPane; + +/** + * @author tomschindl + * + */ +public class MainPart { + @Inject + MApplication application; + + @Inject + EModelService modelService; + + @PostConstruct + void init(BorderPane p) { + Button b = new Button("Open Window"); + b.setOnAction( this::openWindow ); + p.setCenter(b); + } + + private void openWindow(ActionEvent e) { + MTrimmedWindow w = modelService.createModelElement(MTrimmedWindow.class); + w.getTags().add(EPartService.REMOVE_ON_HIDE_TAG); + w.setLabel("New Top Level Window"); + + MPartStack stack = modelService.createModelElement(MPartStack.class); + + MPart child = modelService.createModelElement(MPart.class); + child.setContributionURI("bundleclass://test.issue12.app/test.issue12.app.ChildPart1"); + stack.getChildren().add(child); + + child = modelService.createModelElement(MPart.class); + child.setContributionURI("bundleclass://test.issue12.app/test.issue12.app.ChildPart2"); + stack.getChildren().add(child); + + w.getChildren().add(stack); + + application.getChildren().add(w); + } +} diff --git a/testcases/test-apps/test.issue12.app/src/test/issue12/app/themes/DefaultTheme.java b/testcases/test-apps/test.issue12.app/src/test/issue12/app/themes/DefaultTheme.java new file mode 100644 index 000000000..87020bc31 --- /dev/null +++ b/testcases/test-apps/test.issue12.app/src/test/issue12/app/themes/DefaultTheme.java @@ -0,0 +1,16 @@ +package test.issue12.app.themes; + +import org.eclipse.fx.ui.theme.AbstractTheme; + +/** + * @author tomschindl + * + */ +public class DefaultTheme extends AbstractTheme { + /** + * + */ + public DefaultTheme() { + super("theme.default", "Default theme", DefaultTheme.class.getClassLoader().getResource("css/default.css")); + } +}