From e2be509b76e56c7b38a6feea9a31e527a025984f Mon Sep 17 00:00:00 2001 From: Sebastien Bordes Date: Sat, 6 Oct 2012 19:48:02 +0200 Subject: [PATCH] Update to JRebirth 0.7.0 snapshot --- .../JFX Presentation.launch | 18 ++++++++++++++++++ org.jrebirth.presentation.javafx2/pom.xml | 4 ++-- .../presentation/javafx/JfxColors.java | 8 ++++---- .../jrebirth/presentation/javafx/JfxFonts.java | 10 +++++----- 4 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 org.jrebirth.presentation.javafx2/JFX Presentation.launch diff --git a/org.jrebirth.presentation.javafx2/JFX Presentation.launch b/org.jrebirth.presentation.javafx2/JFX Presentation.launch new file mode 100644 index 0000000..a4593d4 --- /dev/null +++ b/org.jrebirth.presentation.javafx2/JFX Presentation.launch @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/org.jrebirth.presentation.javafx2/pom.xml b/org.jrebirth.presentation.javafx2/pom.xml index 38db830..dec7830 100644 --- a/org.jrebirth.presentation.javafx2/pom.xml +++ b/org.jrebirth.presentation.javafx2/pom.xml @@ -217,13 +217,13 @@ org.jrebirth core - 0.6.0-SNAPSHOT + 0.7.0-SNAPSHOT org.jrebirth presentation - 0.6.0-SNAPSHOT + 0.7.0-SNAPSHOT diff --git a/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxColors.java b/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxColors.java index 1da1349..b66b1a7 100644 --- a/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxColors.java +++ b/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxColors.java @@ -2,9 +2,9 @@ import javafx.scene.paint.Color; -import org.jrebirth.core.resource.ResourceFactories; +import org.jrebirth.core.resource.ResourceBuilders; +import org.jrebirth.core.resource.color.ColorBuilder; import org.jrebirth.core.resource.color.ColorEnum; -import org.jrebirth.core.resource.color.ColorFactory; import org.jrebirth.core.resource.color.ColorParams; import org.jrebirth.core.resource.color.RGB255Color; import org.jrebirth.core.resource.color.WebColor; @@ -51,7 +51,7 @@ public Color get() { * {@inheritDoc} */ @Override - public ColorFactory factory() { - return (ColorFactory) ResourceFactories.COLOR_FACTORY.use(); + public ColorBuilder factory() { + return (ColorBuilder) ResourceBuilders.COLOR_BUILDER.use(); } } diff --git a/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxFonts.java b/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxFonts.java index 5817cab..ac9f23c 100644 --- a/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxFonts.java +++ b/org.jrebirth.presentation.javafx2/src/main/java/org/jrebirth/presentation/javafx/JfxFonts.java @@ -2,9 +2,9 @@ import javafx.scene.text.Font; -import org.jrebirth.core.resource.ResourceFactories; +import org.jrebirth.core.resource.ResourceBuilders; +import org.jrebirth.core.resource.font.FontBuilder; import org.jrebirth.core.resource.font.FontEnum; -import org.jrebirth.core.resource.font.FontFactory; import org.jrebirth.core.resource.font.FontParams; import org.jrebirth.core.resource.font.RealFont; import org.jrebirth.presentation.FontsLoader; @@ -28,7 +28,7 @@ public enum JfxFonts implements FontEnum { /** The typewriter font. */ TYPEWRITER(new RealFont(FontsLoader.Report_1942, 72)), - + /** The typewriter font. */ TYPEWRITER2(new RealFont(FontsLoader.OliJo, 72)), @@ -56,8 +56,8 @@ public Font get() { * {@inheritDoc} */ @Override - public FontFactory factory() { - return (FontFactory) ResourceFactories.FONT_FACTORY.use(); + public FontBuilder factory() { + return (FontBuilder) ResourceBuilders.FONT_BUILDER.use(); } }