Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2013-07-25 11:35:29 -0400
committerTom Schindl2013-07-25 11:35:29 -0400
commiteecb2cb6ba8774c5fad1328e3f6b7d4e6776233c (patch)
tree9c39954326e46120a8c7849e82885f45de116d3f
parent622d8601a4c6e313975fad795812bcbb2466e0a5 (diff)
downloadorg.eclipse.efxclipse-eecb2cb6ba8774c5fad1328e3f6b7d4e6776233c.tar.gz
org.eclipse.efxclipse-eecb2cb6ba8774c5fad1328e3f6b7d4e6776233c.tar.xz
org.eclipse.efxclipse-eecb2cb6ba8774c5fad1328e3f6b7d4e6776233c.zip
initial checkin
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/.classpath7
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/.gitignore2
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/.project17
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.resources.prefs2
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.runtime.prefs2
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.jdt.core.prefs11
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph.lib/src/at/bestsolution/efxclipse/testcases/fxgraph/lib/MyLibButton.java9
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/.classpath8
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/.gitignore2
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/.project23
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.resources.prefs2
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.runtime.prefs2
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.jdt.core.prefs11
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/IP-TODO.txt7
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/css/test.css3
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/icons/efxclipse2_120.pngbin0 -> 3951 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxgraph23
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxml23
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxgraph256
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxml151
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxgraph21
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxml18
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxgraph37
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxml18
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxgraph22
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxml16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxgraph11
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxml15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Constants.java5
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxml13
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxgraph14
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxml15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxml16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxml16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxml16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxml16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxgraph17
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxml19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxml15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxgraph15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxml15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxgraph29
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxml23
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxgraph10
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxml11
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxgraph28
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxml16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxgraph19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxml18
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxml15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxgraph28
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxml34
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxgraph21
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxml22
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxgraph24
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxml25
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Launcher.java22
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxgraph21
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxml25
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxml17
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxml17
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxgraph14
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxml17
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyButton.java25
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyController.java48
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxgraph34
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxml27
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxgraph17
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxml20
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxgraph21
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxml15
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxgraph29
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxml20
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxgraph19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxml19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxgraph21
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxml24
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxgraph39
-rw-r--r--testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxml26
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxgraph16
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxml20
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxgraph19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxml19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph30
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxml19
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxml13
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxgraph25
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxml27
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxgraph18
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxml20
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/address.css73
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/efxclipse2_120.pngbin0 -> 3951 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/document-save.pngbin0 -> 620 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-add-user.pngbin0 -> 746 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-remove-user.pngbin0 -> 767 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-form.pngbin0 -> 537 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-list-tree.pngbin0 -> 785 bytes
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxgraph12
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxml13
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/messages.properties1
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxgraph33
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxml27
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.java27
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxgraph9
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxml11
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/Cube.java146
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/CubeBuilder.java41
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/DeriveColorBinding.java51
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/test.css8
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/translations/messages.properties1
120 files changed, 2570 insertions, 0 deletions
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/.classpath b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.classpath
new file mode 100755
index 000000000..254e95875
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.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.7"/>
+ <classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/.gitignore b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.gitignore
new file mode 100755
index 000000000..4dc009173
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.gitignore
@@ -0,0 +1,2 @@
+/target
+/bin
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/.project b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.project
new file mode 100755
index 000000000..b0beff876
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.fxgraph.lib</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.resources.prefs b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.resources.prefs
new file mode 100755
index 000000000..4824b8026
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.runtime.prefs b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.runtime.prefs
new file mode 100755
index 000000000..deae05a97
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\r\n
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.jdt.core.prefs b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 000000000..7341ab168
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.7
+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.7
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph.lib/src/at/bestsolution/efxclipse/testcases/fxgraph/lib/MyLibButton.java b/testcases/org.eclipse.fx.testcases.fxgraph.lib/src/at/bestsolution/efxclipse/testcases/fxgraph/lib/MyLibButton.java
new file mode 100755
index 000000000..7c743d40c
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph.lib/src/at/bestsolution/efxclipse/testcases/fxgraph/lib/MyLibButton.java
@@ -0,0 +1,9 @@
+package at.bestsolution.efxclipse.testcases.fxgraph.lib;
+
+import javafx.scene.control.Button;
+
+public class MyLibButton extends Button {
+ public MyLibButton() {
+ setText("My lib Button");
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/.classpath b/testcases/org.eclipse.fx.testcases.fxgraph/.classpath
new file mode 100755
index 000000000..5f04c6f5f
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/.classpath
@@ -0,0 +1,8 @@
+<?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.7"/>
+ <classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.fx.testcases.fxgraph.lib"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/.gitignore b/testcases/org.eclipse.fx.testcases.fxgraph/.gitignore
new file mode 100755
index 000000000..4dc009173
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/.gitignore
@@ -0,0 +1,2 @@
+/target
+/bin
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/.project b/testcases/org.eclipse.fx.testcases.fxgraph/.project
new file mode 100755
index 000000000..5373cbe1a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/.project
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.testcases.fxgraph</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.resources.prefs b/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.resources.prefs
new file mode 100755
index 000000000..4824b8026
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.runtime.prefs b/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.runtime.prefs
new file mode 100755
index 000000000..deae05a97
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\r\n
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.jdt.core.prefs b/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 000000000..7341ab168
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.7
+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.7
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/IP-TODO.txt b/testcases/org.eclipse.fx.testcases.fxgraph/IP-TODO.txt
new file mode 100755
index 000000000..ea9b07ab3
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/IP-TODO.txt
@@ -0,0 +1,7 @@
+FamFamFam (Creative Commons 2.5):
+---------------------------------
+.../icons/document-save.png
+.../icons/list-add-user.png
+.../icons/list-remove-user.png
+.../icons/view-form.png
+.../icons/view-list-tree.png \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/css/test.css b/testcases/org.eclipse.fx.testcases.fxgraph/css/test.css
new file mode 100755
index 000000000..c2d67dc50
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/css/test.css
@@ -0,0 +1,3 @@
+BorderPane {
+ -fx-background-color: green;
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/icons/efxclipse2_120.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/icons/efxclipse2_120.png
new file mode 100755
index 000000000..e532a16a0
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/icons/efxclipse2_120.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxgraph
new file mode 100755
index 000000000..67c841c82
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxgraph
@@ -0,0 +1,23 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.MenuBar
+import javafx.scene.control.Menu
+import javafx.scene.control.MenuItem
+import javafx.scene.input.KeyCharacterCombination
+
+component Accelerator {
+ BorderPane {
+ top : MenuBar {
+ Menu {
+ text : "File",
+ items : [
+ MenuItem {
+ text : "New",
+ accelerator : "CTRL+N"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxml
new file mode 100755
index 000000000..c8d4118a2
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/Accelerator.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Menu?>
+<?import javafx.scene.control.MenuBar?>
+<?import javafx.scene.control.MenuItem?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <top>
+ <MenuBar>
+ <Menu text="File">
+ <items>
+ <MenuItem text="New" accelerator="CTRL+N"/>
+ </items>
+ </Menu>
+ </MenuBar>
+ </top>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxgraph
new file mode 100755
index 000000000..61b5f1ed4
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxgraph
@@ -0,0 +1,256 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+import javafx.scene.image.*
+import java.lang.*
+
+component AddressBook styledwith ["address.css"] {
+ BorderPane {
+ top : BorderPane {
+ top : MenuBar {
+ menus : [
+ Menu {
+ text : "File",
+ items : [
+ MenuItem {
+ text : "New Person"
+ },
+ MenuItem {
+ text : "Delete Person"
+ },
+ MenuItem {
+ text : "Save"
+ }
+ ]
+ },
+ Menu {
+ text : "Help"
+ }
+ ]
+ },
+ bottom : ToolBar {
+ items : [
+ Button id SaveButton {
+ text : "Save",
+ graphic : ImageView id SaveButtonImage
+ },
+ Button id NewPersonButton {
+ text : "New",
+ graphic : ImageView id NewPersonButtonImage
+ },
+ Button id RemovePersonButton {
+ text : "Remove Person",
+ graphic : ImageView id RemovePersonButtonImage
+ }
+ ]
+ }
+ },
+ center : SplitPane {
+ items : [
+ TabPane {
+ tabs : [
+ Tab id TabList {
+ content : ListView {
+
+ },
+ text : "Personlist",
+ graphic : ImageView id ListViewTabImage
+ }
+ ]
+ },
+ TabPane {
+ tabs : [
+ Tab {
+ text: "Persondetail",
+ graphic : ImageView id DetailViewTabImage,
+ content :
+ ScrollPane {
+ content : GridPane id DetailPane {
+ children : [
+ Label {
+ text : "General",
+ styleClass : [
+ String("label"),
+ String("separator-label")
+ ],
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 0,
+ call GridPane#columnSpan: 2
+ },
+ Label {
+ text : "Firstname",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 1
+ },
+ TextField id firstname {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 1,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Lastname",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 2
+ },
+ TextField id lastname {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Company",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 3
+ },
+ TextField id company {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 3,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Job Title",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 4
+ },
+ TextField id jobtitle {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 4,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ ImageView id personimage {
+ fitHeight : 120,
+ fitWidth : 120,
+ call GridPane#columnIndex: 2,
+ call GridPane#rowIndex: 0,
+ call GridPane#rowSpan: 5
+ },
+ Label {
+ text : "Note",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 5
+ },
+ TextField id note {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 5,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Business Address",
+ styleClass : [
+ String("label"),
+ String("separator-label")
+ ],
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 6,
+ call GridPane#columnSpan: 2
+ },
+ Label {
+ text : "Street",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 7
+ },
+ TextField id street {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 7,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Zip",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 8
+ },
+ TextField id zip {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 8,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Country",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 9
+ },
+ TextField id country {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 9,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Business Phones",
+ styleClass : [
+ String("label"),
+ String("separator-label")
+ ],
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 10,
+ call GridPane#columnSpan: 2
+ },
+ Label {
+ text : "Phone",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 11
+ },
+ TextField id phone {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 11,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Mobile",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 12
+ },
+ TextField id mobile {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 12,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ },
+ Label {
+ text : "Business Internet",
+ styleClass : [
+ String("label"),
+ String("separator-label")
+ ],
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 13,
+ call GridPane#columnSpan: 2
+ },
+ Label {
+ text : "E-Mail",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 14
+ },
+ TextField id email {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 14,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS"
+ } ,
+ Label {
+ text : "Web Site",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 15
+ },
+ TextField id website {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 15,
+ call GridPane#columnSpan: 2,
+ call GridPane#hgrow: "ALWAYS",
+ text : "Bla"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxml
new file mode 100755
index 000000000..64f43792f
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxml
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/AddressBook.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.ListView?>
+<?import javafx.scene.control.Menu?>
+<?import javafx.scene.control.MenuBar?>
+<?import javafx.scene.control.MenuItem?>
+<?import javafx.scene.control.ScrollPane?>
+<?import javafx.scene.control.SplitPane?>
+<?import javafx.scene.control.Tab?>
+<?import javafx.scene.control.TabPane?>
+<?import javafx.scene.control.TextField?>
+<?import javafx.scene.control.ToolBar?>
+<?import javafx.scene.image.ImageView?>
+<?import javafx.scene.layout.BorderPane?>
+<?import javafx.scene.layout.GridPane?>
+<?scenebuilder-stylesheet address.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <top>
+ <BorderPane>
+ <top>
+ <MenuBar>
+ <menus>
+ <Menu text="File">
+ <items>
+ <MenuItem text="New Person"/>
+ <MenuItem text="Delete Person"/>
+ <MenuItem text="Save"/>
+ </items>
+ </Menu>
+ <Menu text="Help"/>
+ </menus>
+ </MenuBar>
+ </top>
+ <bottom>
+ <ToolBar>
+ <items>
+ <Button fx:id="SaveButton" text="Save">
+ <graphic>
+ <ImageView fx:id="SaveButtonImage"/>
+ </graphic>
+ </Button>
+ <Button fx:id="NewPersonButton" text="New">
+ <graphic>
+ <ImageView fx:id="NewPersonButtonImage"/>
+ </graphic>
+ </Button>
+ <Button fx:id="RemovePersonButton" text="Remove Person">
+ <graphic>
+ <ImageView fx:id="RemovePersonButtonImage"/>
+ </graphic>
+ </Button>
+ </items>
+ </ToolBar>
+ </bottom>
+ </BorderPane>
+ </top>
+ <center>
+ <SplitPane>
+ <items>
+ <TabPane>
+ <tabs>
+ <Tab fx:id="TabList" text="Personlist">
+ <content>
+ <ListView/>
+ </content>
+ <graphic>
+ <ImageView fx:id="ListViewTabImage"/>
+ </graphic>
+ </Tab>
+ </tabs>
+ </TabPane>
+ <TabPane>
+ <tabs>
+ <Tab text="Persondetail">
+ <graphic>
+ <ImageView fx:id="DetailViewTabImage"/>
+ </graphic>
+ <content>
+ <ScrollPane>
+ <content>
+ <GridPane fx:id="DetailPane">
+ <children>
+ <Label text="General" GridPane.columnIndex="0" GridPane.rowIndex="0" GridPane.columnSpan="2">
+ <styleClass>
+ <String fx:value="label"/>
+ <String fx:value="separator-label"/>
+ </styleClass>
+ </Label>
+ <Label text="Firstname" GridPane.columnIndex="0" GridPane.rowIndex="1"/>
+ <TextField fx:id="firstname" GridPane.columnIndex="1" GridPane.rowIndex="1" GridPane.hgrow="ALWAYS"/>
+ <Label text="Lastname" GridPane.columnIndex="0" GridPane.rowIndex="2"/>
+ <TextField fx:id="lastname" GridPane.columnIndex="1" GridPane.rowIndex="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Company" GridPane.columnIndex="0" GridPane.rowIndex="3"/>
+ <TextField fx:id="company" GridPane.columnIndex="1" GridPane.rowIndex="3" GridPane.hgrow="ALWAYS"/>
+ <Label text="Job Title" GridPane.columnIndex="0" GridPane.rowIndex="4"/>
+ <TextField fx:id="jobtitle" GridPane.columnIndex="1" GridPane.rowIndex="4" GridPane.hgrow="ALWAYS"/>
+ <ImageView fx:id="personimage" fitHeight="120" fitWidth="120" GridPane.columnIndex="2" GridPane.rowIndex="0" GridPane.rowSpan="5"/>
+ <Label text="Note" GridPane.columnIndex="0" GridPane.rowIndex="5"/>
+ <TextField fx:id="note" GridPane.columnIndex="1" GridPane.rowIndex="5" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Business Address" GridPane.columnIndex="0" GridPane.rowIndex="6" GridPane.columnSpan="2">
+ <styleClass>
+ <String fx:value="label"/>
+ <String fx:value="separator-label"/>
+ </styleClass>
+ </Label>
+ <Label text="Street" GridPane.columnIndex="0" GridPane.rowIndex="7"/>
+ <TextField fx:id="street" GridPane.columnIndex="1" GridPane.rowIndex="7" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Zip" GridPane.columnIndex="0" GridPane.rowIndex="8"/>
+ <TextField fx:id="zip" GridPane.columnIndex="1" GridPane.rowIndex="8" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Country" GridPane.columnIndex="0" GridPane.rowIndex="9"/>
+ <TextField fx:id="country" GridPane.columnIndex="1" GridPane.rowIndex="9" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Business Phones" GridPane.columnIndex="0" GridPane.rowIndex="10" GridPane.columnSpan="2">
+ <styleClass>
+ <String fx:value="label"/>
+ <String fx:value="separator-label"/>
+ </styleClass>
+ </Label>
+ <Label text="Phone" GridPane.columnIndex="0" GridPane.rowIndex="11"/>
+ <TextField fx:id="phone" GridPane.columnIndex="1" GridPane.rowIndex="11" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Mobile" GridPane.columnIndex="0" GridPane.rowIndex="12"/>
+ <TextField fx:id="mobile" GridPane.columnIndex="1" GridPane.rowIndex="12" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Business Internet" GridPane.columnIndex="0" GridPane.rowIndex="13" GridPane.columnSpan="2">
+ <styleClass>
+ <String fx:value="label"/>
+ <String fx:value="separator-label"/>
+ </styleClass>
+ </Label>
+ <Label text="E-Mail" GridPane.columnIndex="0" GridPane.rowIndex="14"/>
+ <TextField fx:id="email" GridPane.columnIndex="1" GridPane.rowIndex="14" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ <Label text="Web Site" GridPane.columnIndex="0" GridPane.rowIndex="15"/>
+ <TextField fx:id="website" text="Bla" GridPane.columnIndex="1" GridPane.rowIndex="15" GridPane.columnSpan="2" GridPane.hgrow="ALWAYS"/>
+ </children>
+ </GridPane>
+ </content>
+ </ScrollPane>
+ </content>
+ </Tab>
+ </tabs>
+ </TabPane>
+ </items>
+ </SplitPane>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxgraph
new file mode 100755
index 000000000..3954f289c
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxgraph
@@ -0,0 +1,21 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.HBox
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+
+component BindingTest {
+ HBox {
+ children : [
+ Label {
+ text : "Binding"
+ },
+ TextField id field1 {
+
+ },
+ TextField {
+ text : bind field1#text
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxml
new file mode 100755
index 000000000..a227069bc
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/BindingTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.TextField?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Label text="Binding"/>
+ <TextField fx:id="field1"/>
+ <TextField text="${field1.text}"/>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxgraph
new file mode 100755
index 000000000..85631410e
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxgraph
@@ -0,0 +1,37 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component CalendarIcon {
+ VBox {
+ style: "-fx-background-color: green",
+ spacing: 2,
+ minWidth : 24,
+ maxWidth : 24,
+ minHeight : 28,
+ maxHeight : 28,
+ alignment : "center",
+ Label id labelMonth {
+ preview text: "MAR",
+ style: "-fx-text-fill: white;
+ -fx-font-size: 8;
+ -fx-font-weight: bold;",
+ minHeight : 10,
+ maxHeight : 10,
+ alignment : "center",
+ translateY : -1
+ },
+ Label id labelDay {
+ minHeight : 15,
+ maxHeight : 15,
+ prefWidth : 20,
+ preview text: "31",
+ style: "-fx-background-color: white;
+ -fx-font-size: 11;
+ -fx-font-weight: bold;",
+ alignment: "center",
+ translateY : -2
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxml
new file mode 100755
index 000000000..fa08c68cf
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CalendarIcon.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.layout.VBox?>
+
+<VBox xmlns:fx="http://javafx.com/fxml" style="-fx-background-color: green" spacing="2" minWidth="24" maxWidth="24" minHeight="28" maxHeight="28" alignment="center">
+
+ <Label fx:id="labelMonth" style="-fx-text-fill: white;
+ -fx-font-size: 8;
+ -fx-font-weight: bold;" minHeight="10" maxHeight="10" alignment="center" translateY="-1"/>
+ <Label fx:id="labelDay" minHeight="15" maxHeight="15" prefWidth="20" style="-fx-background-color: white;
+ -fx-font-size: 11;
+ -fx-font-weight: bold;" alignment="center" translateY="-2"/>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxgraph
new file mode 100755
index 000000000..0a6d31afc
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxgraph
@@ -0,0 +1,22 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.VBox
+import javafx.scene.shape.Rectangle
+
+component ColorExample {
+ VBox {
+ spacing : 10,
+ children : [
+ Rectangle {
+ width : 100,
+ height : 100,
+ fill : "#f00"
+ },
+ Rectangle {
+ width : 100,
+ height : 100,
+ fill : "GREEN"
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxml
new file mode 100755
index 000000000..c50de1c09
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ColorExample.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.layout.VBox?>
+<?import javafx.scene.shape.Rectangle?>
+
+<VBox xmlns:fx="http://javafx.com/fxml" spacing="10">
+
+ <children>
+ <Rectangle width="100" height="100" fill="#f00"/>
+ <Rectangle width="100" height="100" fill="GREEN"/>
+ </children>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxgraph
new file mode 100755
index 000000000..9cfcb1f98
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxgraph
@@ -0,0 +1,11 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.control.*
+import javafx.scene.layout.BorderPane
+component ConstantTest {
+ BorderPane {
+ Button {
+ minHeight : const Double#NEGATIVE_INFINITY
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxml
new file mode 100755
index 000000000..a25b10b96
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ConstantTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <Button>
+ <minHeight><Double fx:constant="NEGATIVE_INFINITY" /></minHeight>
+ </Button>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Constants.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Constants.java
new file mode 100755
index 000000000..4a960f0e2
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Constants.java
@@ -0,0 +1,5 @@
+package org.eclipse.fx.testcases.fxgraph;
+
+public class Constants {
+ public static final String TEST_CONSTANT = "Test";
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxgraph
new file mode 100755
index 000000000..8ccab58bd
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.HBox
+import javafx.scene.control.Button
+
+component ConstantsTest {
+ HBox {
+ Button {
+
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxml
new file mode 100755
index 000000000..29e8b0f6a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ConstantsTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <Button/>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxgraph
new file mode 100755
index 000000000..40dc27bfd
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxgraph
@@ -0,0 +1,14 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import org.eclipse.fx.testcases.fxgraph.MyController
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.Button
+
+component Controller controlledby MyController {
+ BorderPane {
+ center : Button {
+ text : "Hello World",
+ onAction : controllermethod clicked
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxml
new file mode 100755
index 000000000..7f4f55453
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Controller.fxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/Controller.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="org.eclipse.fx.testcases.fxgraph.MyController">
+
+ <center>
+ <Button text="Hello World" onAction="#clicked"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxgraph
new file mode 100755
index 000000000..4790e0c05
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component CssTest styledwith ["test.css"] {
+ BorderPane {
+ center : Button {
+ text : "Hello World"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxml
new file mode 100755
index 000000000..2351c1ea3
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest.fxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CssTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-stylesheet test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="Hello World"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxgraph
new file mode 100755
index 000000000..232c7681a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component CssTest2 styledwith ["/css/test.css"] {
+ BorderPane {
+ center : Button {
+ text : "Hello World"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxml
new file mode 100755
index 000000000..81d000335
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CssTest2.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-stylesheet /css/test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="Hello World"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxgraph
new file mode 100755
index 000000000..6fc683313
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component CssTest3 styledwith ["platform:/resource/org.eclipse.fx.testcases.fxgraph/css/test.css"] {
+ BorderPane {
+ center : Button {
+ text : "Hello World"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxml
new file mode 100755
index 000000000..791aad21d
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CssTest3.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-stylesheet platform:/resource/org.eclipse.fx.testcases.fxgraph/css/test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="Hello World"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxgraph
new file mode 100755
index 000000000..e2f9afcfd
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component CssTestSingle styledwith "test.css" {
+ BorderPane {
+ center : Button {
+ text : "Hello World"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxml
new file mode 100755
index 000000000..fa5caec3b
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CssTestSingle.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-stylesheet test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="Hello World"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxgraph
new file mode 100755
index 000000000..602c249d2
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxgraph
@@ -0,0 +1,17 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.AnchorPane
+import javafx.scene.layout.BorderPane
+import org.eclipse.fx.testcases.fxgraph.MyButton
+import javafx.scene.control.Button
+
+component CustomAttributes {
+ BorderPane {
+ top : MyButton {
+ scaleFactor: 2
+ },
+ bottom : Button {
+ text : "Hello"
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxml
new file mode 100755
index 000000000..307c35146
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CustomAttributes.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?import org.eclipse.fx.testcases.fxgraph.MyButton?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <top>
+ <MyButton scaleFactor="2"/>
+ </top>
+ <bottom>
+ <Button text="Hello"/>
+ </bottom>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxgraph
new file mode 100755
index 000000000..80d17dd89
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.Button
+
+component CustomSceneUser sceneSetup org.eclipse.fx.testcases.fxgraph.PreviewScene {
+ BorderPane {
+ center : Button {
+ text : "Hello Custom Scene"
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxml
new file mode 100755
index 000000000..afb3440a9
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/CustomSceneUser.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="Hello Custom Scene"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxgraph
new file mode 100755
index 000000000..f4b623087
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxgraph
@@ -0,0 +1,15 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.HBox
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+
+component DefaultAttributes {
+ HBox {
+ Label {
+ text : "Binding"
+ }, TextField id field1 {
+
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxml
new file mode 100755
index 000000000..e385f920e
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/DefaultAttributes.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.TextField?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <Label text="Binding"/>
+ <TextField fx:id="field1"/>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxgraph
new file mode 100755
index 000000000..1fdb9dabd
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxgraph
@@ -0,0 +1,29 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+import javafx.scene.control.RadioButton
+
+component Defines {
+ define ToggleGroup id myToggleGroup,
+ define RadioButton id testRadio {
+ text : "D"
+ }
+ VBox {
+ children : [
+ RadioButton {
+ text : "A",
+ toggleGroup : idref myToggleGroup
+ },
+ RadioButton {
+ text : "B",
+ toggleGroup : idref myToggleGroup
+ },
+ RadioButton {
+ text : "C",
+ toggleGroup : idref myToggleGroup
+ },
+ idref testRadio
+ ]
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxml
new file mode 100755
index 000000000..8014aaeec
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Defines.fxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/Defines.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.RadioButton?>
+<?import javafx.scene.control.ToggleGroup?>
+<?import javafx.scene.layout.VBox?>
+
+<VBox xmlns:fx="http://javafx.com/fxml">
+ <fx:define>
+ <ToggleGroup fx:id="myToggleGroup"/>
+ <RadioButton fx:id="testRadio" text="D"/>
+ </fx:define>
+
+ <children>
+ <RadioButton text="A" toggleGroup="$myToggleGroup"/>
+ <RadioButton text="B" toggleGroup="$myToggleGroup"/>
+ <RadioButton text="C" toggleGroup="$myToggleGroup"/>
+ <fx:reference source="testRadio" />
+ </children>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxgraph
new file mode 100755
index 000000000..30703f48f
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxgraph
@@ -0,0 +1,10 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.GridPane
+
+component EnumAutoComplete {
+ GridPane {
+ hgap : 5,
+ alignment : "BASELINE_CENTER"
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxml
new file mode 100755
index 000000000..3118d8d4b
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/EnumAutoComplete.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.layout.GridPane?>
+
+<GridPane xmlns:fx="http://javafx.com/fxml" hgap="5" alignment="BASELINE_CENTER">
+
+</GridPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxgraph
new file mode 100755
index 000000000..9ff36bff5
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxgraph
@@ -0,0 +1,28 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.ChoiceBox
+import javafx.collections.*
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+
+component FactoryExample {
+ HBox {
+ children : [
+ ChoiceBox {
+ preview items : FXCollections createdby observableArrayList {
+ "Hello World",
+ "Hello World extra long",
+ "Hello World extra extra long"
+ }
+ },
+ ChoiceBox {
+ preview items : FXCollections createdby observableArrayList {
+ String("Hello World"),
+ String("Hello World extra long"),
+ String("Hello World extra extra long")
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxml
new file mode 100755
index 000000000..1956379c2
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/FactoryExample.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.ChoiceBox?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <ChoiceBox/>
+ <ChoiceBox/>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxgraph
new file mode 100755
index 000000000..fccb3c312
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxgraph
@@ -0,0 +1,19 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+import javafx.scene.transform.Scale
+
+component FloatingProperties {
+ HBox {
+ Label {
+ text: "Shrink me",
+ transforms : [
+ Scale {
+ x : 0.5,
+ y : 0.75
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxml
new file mode 100755
index 000000000..6ad81d724
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/FloatingProperties.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.layout.HBox?>
+<?import javafx.scene.transform.Scale?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <Label text="Shrink me">
+ <transforms>
+ <Scale x="0.5" y="0.75"/>
+ </transforms>
+ </Label>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxgraph
new file mode 100755
index 000000000..05bbb68b7
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.Button
+
+component IdExample {
+ BorderPane {
+ top : Button id test_me {
+ text : "Hello World"
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxml
new file mode 100755
index 000000000..84a90d18e
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IdExample.fxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/IdExample.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <top>
+ <Button fx:id="test_me" text="Hello World"/>
+ </top>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxgraph
new file mode 100755
index 000000000..3b98a45ef
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxgraph
@@ -0,0 +1,28 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.Label
+import javafx.scene.image.ImageView
+import javafx.scene.image.Image
+import javafx.scene.layout.HBox
+
+component ImageTest {
+ HBox {
+ children : [
+ Label {
+ graphic : ImageView {
+ image : Image {
+ url : location "efxclipse2_120.png"
+ }
+ }
+ },
+ Label {
+ graphic : ImageView {
+ image : Image {
+ url : location "/icons/efxclipse2_120.png"
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxml
new file mode 100755
index 000000000..aef41e83c
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ImageTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.image.Image?>
+<?import javafx.scene.image.ImageView?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Label>
+ <graphic>
+ <ImageView>
+ <image>
+ <Image url="@efxclipse2_120.png"/>
+ </image>
+ </ImageView>
+ </graphic>
+ </Label>
+ <Label>
+ <graphic>
+ <ImageView>
+ <image>
+ <Image url="@/icons/efxclipse2_120.png"/>
+ </image>
+ </ImageView>
+ </graphic>
+ </Label>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxgraph
new file mode 100755
index 000000000..d891ee75d
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxgraph
@@ -0,0 +1,21 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import org.eclipse.fx.testcases.fxgraph.*
+import org.eclipse.fx.testcases.fxgraph.inc.*
+import javafx.scene.control.Button
+
+component IncludeTest {
+ define Button id testButton {
+ text : "Hello Define"
+ },
+ define include ImageTest as imageInc
+ VBox {
+ children : [
+ include Controller as test1,
+ include TestInc as myTest,
+ idref testButton,
+ idref imageInc
+ ]
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxml
new file mode 100755
index 000000000..c6fa517b1
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/IncludeTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.VBox?>
+
+<VBox xmlns:fx="http://javafx.com/fxml">
+ <fx:define>
+ <Button fx:id="testButton" text="Hello Define"/>
+ <fx:include fx:id="imageInc" source="/org/eclipse/fx/testcases/fxgraph/ImageTest.fxml" />
+ </fx:define>
+
+ <children>
+ <fx:include fx:id="test1" source="/org/eclipse/fx/testcases/fxgraph/Controller.fxml" />
+ <fx:include fx:id="myTest" source="/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxml" />
+ <fx:reference source="testButton" />
+ <fx:reference source="imageInc" />
+ </children>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxgraph
new file mode 100755
index 000000000..c2195799e
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxgraph
@@ -0,0 +1,24 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.MenuBar
+import javafx.scene.control.Menu
+import javafx.scene.control.MenuItem
+
+component KeyCombinationExample {
+ BorderPane {
+ top : MenuBar {
+ menus : [
+ Menu {
+ text : "File",
+ items : [
+ MenuItem {
+ text : "Open",
+ accelerator : "CTRL+O"
+ }
+ ]
+ }
+ ]
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxml
new file mode 100755
index 000000000..d56ffb913
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/KeyCombinationExample.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Menu?>
+<?import javafx.scene.control.MenuBar?>
+<?import javafx.scene.control.MenuItem?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <top>
+ <MenuBar>
+ <menus>
+ <Menu text="File">
+ <items>
+ <MenuItem text="Open" accelerator="CTRL+O"/>
+ </items>
+ </Menu>
+ </menus>
+ </MenuBar>
+ </top>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Launcher.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Launcher.java
new file mode 100755
index 000000000..1fb8c2eda
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Launcher.java
@@ -0,0 +1,22 @@
+package org.eclipse.fx.testcases.fxgraph;
+
+import javafx.application.Application;
+import javafx.fxml.FXMLLoader;
+import javafx.scene.Parent;
+import javafx.scene.Scene;
+import javafx.stage.Stage;
+
+
+public class Launcher extends Application {
+ public static void main(String[] args) {
+ Application.launch(args);
+ }
+
+ @Override
+ public void start(Stage primaryStage) throws Exception {
+ Parent p = FXMLLoader.load(Launcher.class.getResource("IncludeTest.fxml"));
+ Scene s = new Scene(p);
+ primaryStage.setScene(s);
+ primaryStage.show();
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxgraph
new file mode 100755
index 000000000..f2d8043f1
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxgraph
@@ -0,0 +1,21 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.AnchorPane
+import javafx.scene.layout.HBox
+import javafx.scene.control.Button
+import javafx.scene.image.ImageView
+import javafx.scene.image.Image
+
+component LocationTest {
+ HBox {
+ children : [
+ Button id buttonSettings {
+ graphic : ImageView {
+ image : Image {
+ url : location "icons/document-save.png"
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxml
new file mode 100755
index 000000000..c2b315f88
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/LocationTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.image.Image?>
+<?import javafx.scene.image.ImageView?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Button fx:id="buttonSettings">
+ <graphic>
+ <ImageView>
+ <image>
+ <Image url="@icons/document-save.png"/>
+ </image>
+ </ImageView>
+ </graphic>
+ </Button>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxgraph
new file mode 100755
index 000000000..aec7924bb
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component MessageTest styledwith ["test.css"] resourcefile "/translations/messages.properties" {
+ BorderPane {
+ center : Button {
+ text : rstring "buttonlabel"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxml
new file mode 100755
index 000000000..1bf19a1fc
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/MessageTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-preview-i18n-resource /translations/messages.properties?>
+<?scenebuilder-stylesheet test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="%buttonlabel"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxgraph
new file mode 100755
index 000000000..2c8cd7ec7
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component MessageTest2 styledwith ["test.css"] resourcefile "messages.properties" {
+ BorderPane {
+ center : Button {
+ text : rstring "buttonlabel"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxml
new file mode 100755
index 000000000..22048da50
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/MessageTest2.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-preview-i18n-resource messages.properties?>
+<?scenebuilder-stylesheet test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="%buttonlabel"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxgraph
new file mode 100755
index 000000000..cceda0c5d
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxgraph
@@ -0,0 +1,14 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+
+component MessageTest3 styledwith [ "test.css" ] resourcefile
+"platform:/resource/org.eclipse.fx.testcases.fxgraph/translations/messages.properties" {
+ BorderPane {
+ center :
+ Button {
+ text : rstring "buttonlabel"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxml
new file mode 100755
index 000000000..02a9cd777
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/MessageTest3.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.BorderPane?>
+<?scenebuilder-preview-i18n-resource platform:/resource/org.eclipse.fx.testcases.fxgraph/translations/messages.properties?>
+<?scenebuilder-stylesheet test.css?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Button text="%buttonlabel"/>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyButton.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyButton.java
new file mode 100755
index 000000000..d3975afa0
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyButton.java
@@ -0,0 +1,25 @@
+package org.eclipse.fx.testcases.fxgraph;
+
+import javafx.beans.property.SimpleDoubleProperty;
+import javafx.scene.control.Button;
+
+public class MyButton extends Button {
+ private SimpleDoubleProperty scaleFactor = new SimpleDoubleProperty(this,
+ "scaleFactor", 1.0);
+
+ public MyButton() {
+ setText("This is my bu");
+ }
+
+ public final SimpleDoubleProperty scaleFactorProperty() {
+ return scaleFactor;
+ }
+
+ public double getScaleFactor() {
+ return scaleFactor.get();
+ }
+
+ public void setScaleFactor(double scale) {
+ scaleFactor.set(scale);
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyController.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyController.java
new file mode 100755
index 000000000..b2d028d9a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/MyController.java
@@ -0,0 +1,48 @@
+package org.eclipse.fx.testcases.fxgraph;
+
+import java.net.URL;
+import java.util.ResourceBundle;
+
+import javafx.event.ActionEvent;
+import javafx.fxml.FXML;
+import javafx.fxml.Initializable;
+
+public class MyController implements Initializable {
+
+ @Override
+ public void initialize(URL location, ResourceBundle resources) {
+ System.err.println("The controller is created!!!");
+ }
+
+ /**
+ * This the click 1 method
+ *
+ * @param event
+ * the event
+ */
+ @FXML
+ public void clicked(ActionEvent event) {
+
+ }
+
+ /**
+ * This is the click 2 method
+ *
+ * @param event
+ * the event
+ */
+ @FXML
+ public void clicked2(ActionEvent event) {
+
+ }
+
+// @FXML
+// public void clicked(String event) {
+//
+// }
+//
+// @FXML
+// public void clicked() {
+//
+// }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxgraph
new file mode 100755
index 000000000..58b162e6f
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxgraph
@@ -0,0 +1,34 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.VBox
+import javafx.scene.shape.Polygon
+import javafx.scene.layout.Pane
+import javafx.scene.shape.Rectangle
+import javafx.scene.layout.Region
+
+component PolygonePoints {
+ Pane {
+ children : [
+ Polygon {
+ layoutX : 10,
+ layoutY : 10,
+ stroke : "BLUE",
+ points: "0,20,20,40,30,0",
+ fill : "RED"
+ },
+ Polygon {
+ layoutX : 60,
+ layoutY : 10,
+ stroke : "BLUE",
+ points: [0,20,20,40,30,0],
+ fill : "RED"
+ },
+ Rectangle {
+ x : 10,
+ y : 100,
+ width : 100,
+ height : 100
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxml
new file mode 100755
index 000000000..ceb013f94
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/PolygonePoints.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.layout.Pane?>
+<?import javafx.scene.shape.Polygon?>
+<?import javafx.scene.shape.Rectangle?>
+
+<Pane xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Polygon layoutX="10" layoutY="10" stroke="BLUE" points="0,20,20,40,30,0" fill="RED"/>
+ <Polygon layoutX="60" layoutY="10" stroke="BLUE" fill="RED">
+ <points>
+ <Double fx:value="0" />
+ <Double fx:value="20" />
+ <Double fx:value="20" />
+ <Double fx:value="40" />
+ <Double fx:value="30" />
+ <Double fx:value="0" />
+ </points>
+ </Polygon>
+ <Rectangle x="10" y="100" width="100" height="100"/>
+ </children>
+</Pane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxgraph
new file mode 100755
index 000000000..2b260b5c8
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxgraph
@@ -0,0 +1,17 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.Scene
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.Label
+
+component PreviewScene {
+ Scene {
+ root : BorderPane id previewcontainer {
+ userData : "bottom",
+ top : Label {
+ text : "I'm a custom scene"
+ }
+ },
+ fill : "LIGHTBLUE"
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxml
new file mode 100755
index 000000000..a02174108
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/PreviewScene.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.Scene?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.layout.BorderPane?>
+
+<Scene xmlns:fx="http://javafx.com/fxml" fill="LIGHTBLUE">
+
+ <root>
+ <BorderPane fx:id="previewcontainer" userData="bottom">
+ <top>
+ <Label text="I'm a custom scene"/>
+ </top>
+ </BorderPane>
+ </root>
+</Scene>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxgraph
new file mode 100755
index 000000000..1a72a2b53
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxgraph
@@ -0,0 +1,21 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.HBox
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+import javafx.scene.control.ChoiceBox
+import javafx.collections.FXCollections
+
+component PreviewTest {
+ HBox {
+ children : [
+ ChoiceBox {
+ preview items : FXCollections createdby observableArrayList {
+ "Hello World",
+ "Hello World extra long",
+ "Hello World extra extra long"
+ }
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxml
new file mode 100755
index 000000000..2a4b5518a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/PreviewTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.ChoiceBox?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <ChoiceBox/>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxgraph
new file mode 100755
index 000000000..33b34de12
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxgraph
@@ -0,0 +1,29 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.*
+import javafx.scene.shape.*
+import javafx.scene.layout.*
+
+component ReadOnlyList styledwith "test.css" {
+ Pane {
+ children : [
+ Rectangle id rectangle {
+ x : 10,
+ y : 10,
+ width : 320,
+ height : 240,
+ fill : "#ff0000"
+ },
+ Rectangle id rectangle {
+ x : 340,
+ y : 10,
+ width : 320,
+ height : 240,
+ fill : "#00ff00"
+ }
+ ],
+ styleClass : [
+ "test"
+ ]
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxml
new file mode 100755
index 000000000..622c69fc0
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ReadOnlyList.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.layout.Pane?>
+<?import javafx.scene.shape.Rectangle?>
+<?scenebuilder-stylesheet test.css?>
+
+<Pane xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Rectangle fx:id="rectangle" x="10" y="10" width="320" height="240" fill="#ff0000"/>
+ <Rectangle fx:id="rectangle" x="340" y="10" width="320" height="240" fill="#00ff00"/>
+ </children>
+ <styleClass>
+ <String fx:value="test" />
+ </styleClass>
+</Pane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxgraph
new file mode 100755
index 000000000..b1ba802d2
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxgraph
@@ -0,0 +1,19 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.*
+import javafx.scene.paint.*
+
+component ReadOnlyMap {
+ Button {
+ properties : {
+ foo : Color {
+ red : 0.1,
+ green : 0.1,
+ blue : 0.2
+ },
+ bar : 456,
+ test : "Hello"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxml
new file mode 100755
index 000000000..dc76fb740
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ReadOnlyMap.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.paint.Color?>
+
+<Button xmlns:fx="http://javafx.com/fxml">
+
+ <properties>
+ <foo>
+ <Color red="0.1" green="0.1" blue="0.2"/>
+ </foo>
+ <bar>456</bar>
+ <test>Hello</test>
+ </properties>
+</Button>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxgraph
new file mode 100755
index 000000000..5b87f98de
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxgraph
@@ -0,0 +1,21 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.HBox
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+import javafx.scene.control.ChoiceBox
+import javafx.collections.FXCollections
+
+component PreviewTest {
+ HBox {
+ children : [
+ ChoiceBox {
+ runtime-only items : FXCollections createdby observableArrayList {
+ "Hello World",
+ "Hello World extra long",
+ "Hello World extra extra long"
+ }
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxml
new file mode 100755
index 000000000..196e91610
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/RuntimeOnlyTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.collections.FXCollections?>
+<?import javafx.scene.control.ChoiceBox?>
+<?import javafx.scene.layout.HBox?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <ChoiceBox>
+ <items>
+ <FXCollections fx:factory="observableArrayList">
+ <String fx:value="Hello World" />
+ <String fx:value="Hello World extra long" />
+ <String fx:value="Hello World extra extra long" />
+ </FXCollections>
+ </items>
+ </ChoiceBox>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxgraph
new file mode 100755
index 000000000..ae17d005b
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxgraph
@@ -0,0 +1,39 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.Group
+import org.eclipse.fx.testcases.fxgraph.shape.Cube
+import javafx.scene.transform.Rotate
+import javafx.geometry.Point3D
+
+component Scene3D {
+ Group {
+ children : [
+ Cube {
+ size : 50,
+ color : "RED",
+ shade : 1
+ },
+ Cube {
+ translateX : 100,
+ size : 50,
+ color : "GREEN",
+ shade : 1
+ },
+ Cube {
+ translateX : -100,
+ size : 50,
+ color : "ORANGE",
+ shade : 1
+ }
+ ],
+ transforms : [
+ Rotate {
+ angle : 180,
+ axis : Point3D {
+ x : 1.0
+ }
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxml
new file mode 100644
index 000000000..0a0b7ab43
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/Scene3D.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.geometry.Point3D?>
+<?import javafx.scene.Group?>
+<?import javafx.scene.transform.Rotate?>
+<?import org.eclipse.fx.testcases.fxgraph.shape.Cube?>
+
+<Group xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Cube size="50" color="RED" shade="1"/>
+ <Cube translateX="100" size="50" color="GREEN" shade="1"/>
+ <Cube translateX="-100" size="50" color="ORANGE" shade="1"/>
+ </children>
+ <transforms>
+ <Rotate angle="180">
+ <axis>
+ <Point3D x="1.0"/>
+ </axis>
+ </Rotate>
+ </transforms>
+</Group>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxgraph
new file mode 100755
index 000000000..3b44aac12
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxgraph
@@ -0,0 +1,16 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.Scene
+import javafx.scene.layout.AnchorPane
+import javafx.scene.layout.BorderPane
+import javafx.scene.control.Label
+
+component SceneExample {
+ Scene {
+ root : BorderPane {
+ center : Label {
+ text : "Hello My Scene"
+ }
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxml
new file mode 100755
index 000000000..012bb4a29
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/SceneExample.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.Scene?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.layout.BorderPane?>
+
+<Scene xmlns:fx="http://javafx.com/fxml">
+
+ <root>
+ <BorderPane>
+ <center>
+ <Label text="Hello My Scene"/>
+ </center>
+ </BorderPane>
+ </root>
+</Scene>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxgraph
new file mode 100755
index 000000000..a7f8f07ab
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxgraph
@@ -0,0 +1,19 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import java.lang.Double
+import javafx.scene.layout.AnchorPane
+import javafx.scene.layout.HBox
+import javafx.scene.control.Button
+
+component ScriptTest {
+ script javascript #{
+ var test = "Hello World!"
+ }#
+ HBox {
+ children : [
+ Button {
+ text : scriptvalue test
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxml
new file mode 100755
index 000000000..2c2d343b5
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/ScriptTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.HBox?>
+<?language javascript?>
+
+<HBox xmlns:fx="http://javafx.com/fxml">
+ <fx:script>
+ var test = "Hello World!"
+ </fx:script>
+
+ <children>
+ <Button text="$test"/>
+ </children>
+</HBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph
new file mode 100755
index 000000000..3b55eb271
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph
@@ -0,0 +1,30 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+
+component StaticProperties {
+ GridPane {
+ children: [
+ Label {
+ text: "Firstname:",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 0
+ },
+ TextField {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 0
+ },
+ Label {
+ text: "Lastname:",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 1
+ },
+ TextField {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 1
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxml
new file mode 100755
index 000000000..86f3051aa
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.TextField?>
+<?import javafx.scene.layout.GridPane?>
+
+<GridPane xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Label text="Firstname:" GridPane.columnIndex="0" GridPane.rowIndex="0"/>
+ <TextField GridPane.columnIndex="1" GridPane.rowIndex="0"/>
+ <Label text="Lastname:" GridPane.columnIndex="0" GridPane.rowIndex="1"/>
+ <TextField GridPane.columnIndex="1" GridPane.rowIndex="1"/>
+ </children>
+</GridPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxgraph
new file mode 100755
index 000000000..f52e29120
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.HBox
+import javafx.scene.control.Button
+
+dynamic component TestDynamic {
+ HBox {
+ Button {
+ text : "Hello World"
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxml
new file mode 100755
index 000000000..3066e6843
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/TestDynamic.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.HBox?>
+
+<fx:root xmlns:fx="http://javafx.com/fxml" type="HBox">
+
+ <Button text="Hello World"/>
+</fx:root>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxgraph
new file mode 100755
index 000000000..3c24f6e2d
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxgraph
@@ -0,0 +1,25 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.BorderPane
+import javafx.scene.shape.Polyline
+import javafx.scene.paint.Color
+import javafx.scene.control.Label
+
+component TestPolyline {
+ BorderPane {
+ center : Polyline {
+ fill : "BLUE",
+ points : [
+ Double(10),
+ Double(10),
+ Double(90),
+ Double(30),
+ Double(70),
+ Double(90),
+ 100,
+ 170,
+ 100
+ ]
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxml
new file mode 100755
index 000000000..46203abcf
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/TestPolyline.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.layout.BorderPane?>
+<?import javafx.scene.shape.Polyline?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+ <center>
+ <Polyline fill="BLUE">
+ <points>
+ <Double fx:value="10"/>
+ <Double fx:value="10"/>
+ <Double fx:value="90"/>
+ <Double fx:value="30"/>
+ <Double fx:value="70"/>
+ <Double fx:value="90"/>
+ <Double fx:value="100" />
+ <Double fx:value="170" />
+ <Double fx:value="100" />
+ </points>
+ </Polyline>
+ </center>
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxgraph
new file mode 100755
index 000000000..3b4c87105
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxgraph
@@ -0,0 +1,18 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.VBox
+import javafx.scene.control.Button
+import javafx.scene.control.Tooltip
+
+component TooltipTest {
+ VBox {
+ children : [
+ Button {
+ text : "Hello Tooltip",
+ tooltip : Tooltip {
+ text : "Click me"
+ }
+ }
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxml
new file mode 100755
index 000000000..345db1ae2
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/TooltipTest.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.control.Tooltip?>
+<?import javafx.scene.layout.VBox?>
+
+<VBox xmlns:fx="http://javafx.com/fxml">
+
+ <children>
+ <Button text="Hello Tooltip">
+ <tooltip>
+ <Tooltip text="Click me"/>
+ </tooltip>
+ </Button>
+ </children>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/address.css b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/address.css
new file mode 100755
index 000000000..a9aa308a5
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/address.css
@@ -0,0 +1,73 @@
+.root {
+ -fx-base: rgb(50, 50, 50);
+ -fx-background: rgb(50, 50, 50);
+ -fx-control-inner-background: rgb(200, 200, 200);
+}
+
+.tab {
+ -fx-background-color: linear-gradient(to top, -fx-base, derive(-fx-base,30%));
+}
+
+.menu-bar {
+ -fx-background-color: linear-gradient(to bottom, -fx-base, derive(-fx-base,30%));
+}
+
+.tool-bar:horizontal {
+ -fx-background-color:
+linear-gradient(to bottom, derive(-fx-base,+50%), derive(-fx-base,-40%), derive(-fx-base,-20%));
+}
+
+.button {
+ -fx-background-color: transparent;
+}
+
+.button:hover {
+ -fx-background-color: -fx-shadow-highlight-color, -fx-outer-border, -fx-inner-border, -fx-body-color;
+ -fx-color: -fx-hover-base;
+}
+
+.table-view {
+ -fx-table-cell-border-color:derive(-fx-base,+10%);
+ -fx-table-header-border-color:derive(-fx-base,+20%);
+}
+
+.split-pane:horizontal > * > .split-pane-divider {
+ -fx-border-color: transparent -fx-base transparent -fx-base;
+ -fx-background-color: transparent, derive(-fx-base,20%);
+ -fx-background-insets: 0, 0 1 0 1;
+}
+
+.my-gridpane {
+ -fx-background-color: radial-gradient(radius 100%, derive(-fx-base,20%), derive(-fx-base,-20%));
+}
+
+.separator-label {
+ -fx-text-fill: orange;
+}
+
+#DetailPane {
+ -fx-padding: 10px;
+ -fx-hgap: 30px;
+ -fx-vgap: 5px;
+}
+
+#NewPersonButtonImage {
+ -fx-image: url("icons/list-add-user.png");
+}
+
+#RemovePersonButtonImage {
+ -fx-image: url("icons/list-remove-user.png");
+}
+
+#SaveButtonImage {
+ -fx-image: url("icons/document-save.png");
+}
+
+
+#ListViewTabImage {
+ -fx-image: url("icons/view-list-tree.png");
+}
+
+#DetailViewTabImage {
+ -fx-image: url("icons/view-form.png");
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/efxclipse2_120.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/efxclipse2_120.png
new file mode 100755
index 000000000..e532a16a0
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/efxclipse2_120.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/document-save.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/document-save.png
new file mode 100755
index 000000000..99d532e8b
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/document-save.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-add-user.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-add-user.png
new file mode 100755
index 000000000..deae99bcf
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-add-user.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-remove-user.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-remove-user.png
new file mode 100755
index 000000000..acbb5630e
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/list-remove-user.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-form.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-form.png
new file mode 100755
index 000000000..784e8fa48
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-form.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-list-tree.png b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-list-tree.png
new file mode 100755
index 000000000..7766edd74
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/icons/view-list-tree.png
Binary files differ
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxgraph
new file mode 100755
index 000000000..398a7c4cb
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxgraph
@@ -0,0 +1,12 @@
+package org.eclipse.fx.testcases.fxgraph.inc
+
+import javafx.scene.layout.*
+import javafx.scene.control.Button
+
+component TestInc {
+ VBox {
+ Button {
+ text : "Inc 1"
+ }
+ }
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxml
new file mode 100755
index 000000000..5be6d9d7a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/inc/TestInc.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.control.Button?>
+<?import javafx.scene.layout.VBox?>
+
+<VBox xmlns:fx="http://javafx.com/fxml">
+
+ <Button text="Inc 1"/>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/messages.properties b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/messages.properties
new file mode 100755
index 000000000..216d4c805
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/messages.properties
@@ -0,0 +1 @@
+buttonlabel=Hello World from Property \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxgraph
new file mode 100755
index 000000000..69d84cf4f
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxgraph
@@ -0,0 +1,33 @@
+package org.eclipse.fx.testcases.fxgraph.realworld
+
+import javafx.scene.layout.VBox
+import javafx.geometry.Insets
+import javafx.scene.layout.HBox
+import javafx.scene.control.Label
+import javafx.scene.control.PasswordField
+import org.eclipse.fx.testcases.fxgraph.realworld.GoogleGroupSample
+
+component GoogleGroupSample controlledby GoogleGroupSample {
+ VBox {
+ padding : Insets {
+ top : 10,
+ left : 0,
+ right : 0,
+ bottom : 10
+ },
+ spacing : 10,
+ children : [
+ HBox {
+ children : [
+ Label {
+ text : "Password"
+ },
+ PasswordField id pb {
+ onAction : controllermethod onAction
+ }
+ ]
+ },
+ Label id message
+ ]
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxml
new file mode 100755
index 000000000..804b1a3aa
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.geometry.Insets?>
+<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.PasswordField?>
+<?import javafx.scene.layout.HBox?>
+<?import javafx.scene.layout.VBox?>
+
+<VBox xmlns:fx="http://javafx.com/fxml" fx:controller="org.eclipse.fx.testcases.fxgraph.realworld.GoogleGroupSample" spacing="10">
+
+ <padding>
+ <Insets top="10" left="0" right="0" bottom="10"/>
+ </padding>
+ <children>
+ <HBox>
+ <children>
+ <Label text="Password"/>
+ <PasswordField fx:id="pb" onAction="#onAction"/>
+ </children>
+ </HBox>
+ <Label fx:id="message"/>
+ </children>
+</VBox>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.java
new file mode 100755
index 000000000..8110642ec
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/GoogleGroupSample.java
@@ -0,0 +1,27 @@
+package org.eclipse.fx.testcases.fxgraph.realworld;
+
+import javafx.event.ActionEvent;
+import javafx.fxml.FXML;
+import javafx.scene.control.Label;
+import javafx.scene.control.PasswordField;
+import javafx.scene.paint.Color;
+
+public class GoogleGroupSample {
+ @FXML
+ private Label message;
+
+ @FXML
+ private PasswordField pb;
+
+ @FXML
+ public void onAction(ActionEvent event) {
+ if (!pb.getText().equals("T2f$Ay!")) {
+ message.setText("Your password is incorrect!");
+ message.setTextFill(Color.rgb(210, 39, 30));
+ } else {
+ message.setText("Your password has been confirmed");
+ message.setTextFill(Color.rgb(21, 117, 84));
+ }
+ pb.setText("");
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxgraph
new file mode 100755
index 000000000..153c40a77
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxgraph
@@ -0,0 +1,9 @@
+package org.eclipse.fx.testcases.fxgraph.realworld
+
+import javafx.scene.layout.BorderPane
+
+component SegmentedButton {
+ BorderPane {
+ //TODO Add Nodes
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxml b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxml
new file mode 100755
index 000000000..004f9275a
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Do not edit this file it is generated by e(fx)clipse from ../src/org/eclipse/fx/testcases/fxgraph/realworld/SegmentedButton.fxgraph
+-->
+
+<?import java.lang.*?>
+<?import javafx.scene.layout.BorderPane?>
+
+<BorderPane xmlns:fx="http://javafx.com/fxml">
+
+</BorderPane>
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/Cube.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/Cube.java
new file mode 100755
index 000000000..c6b34f3ed
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/Cube.java
@@ -0,0 +1,146 @@
+package org.eclipse.fx.testcases.fxgraph.shape;
+
+import javafx.beans.property.ReadOnlyDoubleWrapper;
+import javafx.beans.property.SimpleDoubleProperty;
+import javafx.beans.property.SimpleObjectProperty;
+import javafx.scene.Group;
+import javafx.scene.paint.Color;
+import javafx.scene.shape.Rectangle;
+import javafx.scene.transform.Rotate;
+
+public class Cube extends Group {
+ final Rotate rx = new Rotate(45,Rotate.X_AXIS);
+ final Rotate ry = new Rotate(45,Rotate.Y_AXIS);
+ final Rotate rz = new Rotate(45,Rotate.Z_AXIS);
+
+ final SimpleObjectProperty<Color> color = new SimpleObjectProperty<Color>(this, "color");
+ final SimpleDoubleProperty size = new SimpleDoubleProperty(this, "size");
+ final SimpleDoubleProperty shade = new SimpleDoubleProperty(this,"shade");
+
+ public Color getColor() {
+ return color.get();
+ }
+
+ public double getSize() {
+ return size.get();
+ }
+
+ public double getShade() {
+ return shade.get();
+ }
+
+ public Cube(double paramSize, Color paramColor, double paramShade) {
+ getTransforms().addAll(rz, ry, rx);
+
+ this.size.set(paramSize);
+ this.color.set(paramColor);
+ this.shade.set(1);
+
+ {
+ Rectangle r = new Rectangle();
+ r.widthProperty().bind(this.size);
+ r.heightProperty().bind(this.size);
+ r.fillProperty().bind(
+ DeriveColorBinding.create(
+ color,
+ new ReadOnlyDoubleWrapper(0.0),
+ new ReadOnlyDoubleWrapper(1.0),
+ new ReadOnlyDoubleWrapper(1).subtract(shade.multiply(0.5)),
+ new ReadOnlyDoubleWrapper(1.0)));
+ r.translateXProperty().bind(size.multiply(-0.5));
+ r.translateYProperty().bind(size.multiply(-0.5));
+ r.translateZProperty().bind(size.multiply(0.5));
+
+ getChildren().add(r);
+ }
+
+ {
+ Rectangle r = new Rectangle();
+ r.widthProperty().bind(this.size);
+ r.heightProperty().bind(this.size);
+ r.fillProperty().bind(
+ DeriveColorBinding.create(
+ color,
+ new ReadOnlyDoubleWrapper(0.0),
+ new ReadOnlyDoubleWrapper(1.0),
+ new ReadOnlyDoubleWrapper(1).subtract(shade.multiply(0.4)),
+ new ReadOnlyDoubleWrapper(1.0)));
+ r.translateXProperty().bind(size.multiply(-0.5));
+ r.setTranslateY(0);
+ r.setRotationAxis(Rotate.X_AXIS);
+ r.setRotate(90);
+
+ getChildren().add(r);
+ }
+
+ {
+ Rectangle r = new Rectangle();
+ r.widthProperty().bind(this.size);
+ r.heightProperty().bind(this.size);
+ r.fillProperty().bind(
+ DeriveColorBinding.create(
+ color,
+ new ReadOnlyDoubleWrapper(0.0),
+ new ReadOnlyDoubleWrapper(1.0),
+ new ReadOnlyDoubleWrapper(1).subtract(shade.multiply(0.3)),
+ new ReadOnlyDoubleWrapper(1.0)));
+ r.translateXProperty().bind(size.multiply(-1));
+ r.translateYProperty().bind(size.multiply(-0.5));
+ r.setRotationAxis(Rotate.Y_AXIS);
+ r.setRotate(90);
+
+ getChildren().add(r);
+ }
+
+ {
+ Rectangle r = new Rectangle();
+ r.widthProperty().bind(this.size);
+ r.heightProperty().bind(this.size);
+ r.fillProperty().bind(
+ DeriveColorBinding.create(
+ color,
+ new ReadOnlyDoubleWrapper(0.0),
+ new ReadOnlyDoubleWrapper(1.0),
+ new ReadOnlyDoubleWrapper(1).subtract(shade.multiply(0.2)),
+ new ReadOnlyDoubleWrapper(1.0)));
+ r.setTranslateX(0);
+ r.translateYProperty().bind(size.multiply(-0.5));
+ r.setRotationAxis(Rotate.Y_AXIS);
+ r.setRotate(90);
+
+ getChildren().add(r);
+ }
+
+ {
+ Rectangle r = new Rectangle();
+ r.widthProperty().bind(this.size);
+ r.heightProperty().bind(this.size);
+ r.fillProperty().bind(
+ DeriveColorBinding.create(
+ color,
+ new ReadOnlyDoubleWrapper(0.0),
+ new ReadOnlyDoubleWrapper(1.0),
+ new ReadOnlyDoubleWrapper(1).subtract(shade.multiply(0.1)),
+ new ReadOnlyDoubleWrapper(1.0)));
+ r.translateXProperty().bind(size.multiply(-0.5));
+ r.translateYProperty().bind(size.multiply(-1));
+ r.setRotationAxis(Rotate.X_AXIS);
+ r.setRotate(90);
+
+ getChildren().add(r);
+ }
+
+ {
+ Rectangle r = new Rectangle();
+ r.widthProperty().bind(this.size);
+ r.heightProperty().bind(this.size);
+ r.fillProperty().bind(color);
+ r.translateXProperty().bind(size.multiply(-0.5));
+ r.translateYProperty().bind(size.multiply(-0.5));
+ r.translateZProperty().bind(size.multiply(-0.5));
+ r.setRotate(90);
+
+ getChildren().add(r);
+ }
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/CubeBuilder.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/CubeBuilder.java
new file mode 100755
index 000000000..e4f8b54dc
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/CubeBuilder.java
@@ -0,0 +1,41 @@
+package org.eclipse.fx.testcases.fxgraph.shape;
+
+import javafx.scene.Group;
+import javafx.scene.GroupBuilder;
+import javafx.scene.paint.Color;
+
+public class CubeBuilder<B extends GroupBuilder<B>> extends GroupBuilder<B> {
+ private Color color = Color.GREEN;
+ private double size;
+ private double shade;
+
+ @SuppressWarnings("unchecked")
+ public B color(Color color) {
+ this.color = color;
+ return (B) this;
+ }
+
+ @SuppressWarnings("unchecked")
+ public B size(double size) {
+ this.size = size;
+ return (B) this;
+ }
+
+ @SuppressWarnings("unchecked")
+ public B shade(double shade) {
+ this.shade = shade;
+ return (B) this;
+ }
+
+ @Override
+ public Group build() {
+ Cube c = new Cube(size, color, shade);
+ applyTo(c);
+ return c;
+ }
+
+ @SuppressWarnings("rawtypes")
+ public static CubeBuilder<?> create() {
+ return new CubeBuilder();
+ }
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/DeriveColorBinding.java b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/DeriveColorBinding.java
new file mode 100755
index 000000000..fead24288
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/shape/DeriveColorBinding.java
@@ -0,0 +1,51 @@
+package org.eclipse.fx.testcases.fxgraph.shape;
+
+import javafx.beans.binding.ObjectBinding;
+import javafx.beans.value.ObservableDoubleValue;
+import javafx.beans.value.ObservableValue;
+import javafx.scene.paint.Color;
+
+public class DeriveColorBinding extends ObjectBinding<Color> {
+
+ private ObservableValue<Color> sourceColor;
+ private ObservableDoubleValue hueShift;
+ private ObservableDoubleValue saturationFactor;
+ private ObservableDoubleValue brightnessFactor;
+ private ObservableDoubleValue opacityFactor;
+
+ public DeriveColorBinding(
+ ObservableValue<Color> sourceColor,
+ ObservableDoubleValue hueShift,
+ ObservableDoubleValue saturationFactor,
+ ObservableDoubleValue brightnessFactor,
+ ObservableDoubleValue opacityFactor
+ ) {
+ this.sourceColor = sourceColor;
+ this.hueShift = hueShift;
+ this.saturationFactor = saturationFactor;
+ this.brightnessFactor = brightnessFactor;
+ this.opacityFactor = opacityFactor;
+ bind(sourceColor, hueShift, saturationFactor, brightnessFactor, opacityFactor);
+ }
+
+ @Override
+ protected Color computeValue() {
+ Color c = sourceColor.getValue().deriveColor(
+ hueShift.getValue().doubleValue(),
+ saturationFactor.getValue().doubleValue(),
+ brightnessFactor.getValue().doubleValue(), opacityFactor.getValue().doubleValue());
+ return c;
+ }
+
+ public static DeriveColorBinding create(
+ ObservableValue<Color> sourceColor,
+ ObservableDoubleValue hueShift,
+ ObservableDoubleValue saturationFactor,
+ ObservableDoubleValue brightnessFactor,
+ ObservableDoubleValue opacityFactor) {
+ return new DeriveColorBinding(sourceColor,hueShift,saturationFactor,brightnessFactor,opacityFactor);
+ }
+
+
+
+}
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/test.css b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/test.css
new file mode 100755
index 000000000..ed703c603
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/test.css
@@ -0,0 +1,8 @@
+BorderPane {
+ -fx-background-color: green;
+ -fx-padding: 10px;
+}
+
+.test {
+ -fx-background-color: yellow;
+} \ No newline at end of file
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/translations/messages.properties b/testcases/org.eclipse.fx.testcases.fxgraph/translations/messages.properties
new file mode 100755
index 000000000..216d4c805
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/translations/messages.properties
@@ -0,0 +1 @@
+buttonlabel=Hello World from Property \ No newline at end of file

Back to the top