Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2013-12-17 09:10:25 -0500
committerTom Schindl2013-12-17 09:10:25 -0500
commit9987475880df488989dbe229e1af8157deecfb50 (patch)
tree36830f276114425c011400802d050402923426ff
parent7b3f5f597ac6ba12d2abea5f8cce6fde1307969b (diff)
downloadorg.eclipse.efxclipse-9987475880df488989dbe229e1af8157deecfb50.tar.gz
org.eclipse.efxclipse-9987475880df488989dbe229e1af8157deecfb50.tar.xz
org.eclipse.efxclipse-9987475880df488989dbe229e1af8157deecfb50.zip
cleanup work in progress
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/.settings/org.eclipse.jdt.core.prefs113
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/build.properties2
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/CenterSwitchAnimation.java59
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FadeAnimation.java17
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java61
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/RotateOutAnimation.java35
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/ZoomSlideAnimation.java5
7 files changed, 200 insertions, 92 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/.settings/org.eclipse.jdt.core.prefs b/bundles/runtime/org.eclipse.fx.ui.animation/.settings/org.eclipse.jdt.core.prefs
index f42de363a..5671530f4 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/.settings/org.eclipse.jdt.core.prefs
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/.settings/org.eclipse.jdt.core.prefs
@@ -1,7 +1,114 @@
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
-org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.8
+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.doc.comment.support=enabled
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=warning
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.7
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
+org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=error
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=error
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/build.properties b/bundles/runtime/org.eclipse.fx.ui.animation/build.properties
index 17daa5b49..add37ce1d 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/build.properties
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/build.properties
@@ -3,3 +3,5 @@ output.. = bin/
bin.includes = META-INF/,\
.,\
about.html
+additional.bundles = org.eclipse.jdt.annotation
+jars.extra.classpath = platform:/plugin/org.eclipse.jdt.annotation \ No newline at end of file
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/CenterSwitchAnimation.java b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/CenterSwitchAnimation.java
index 972c9ccac..6fa9560fb 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/CenterSwitchAnimation.java
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/CenterSwitchAnimation.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.fx.ui.animation.pagetransition;
+import org.eclipse.jdt.annotation.NonNull;
+
import javafx.animation.Animation;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
@@ -18,47 +20,62 @@ import javafx.scene.Node;
import javafx.scene.image.ImageView;
import javafx.scene.layout.BorderPane;
+/**
+ * Basic animation API
+ */
public abstract class CenterSwitchAnimation {
- protected ImageView imageView = null;
-
+ /**
+ * The image view
+ */
+ public ImageView imageView = null;
+
+ /**
+ * Animate to the new node
+ *
+ * @param pane
+ * the pane the animation is happening on
+ * @param newNode
+ * the new node
+ */
public void animate(final BorderPane pane, final Node newNode) {
-
+
final Node curNode = pane.getCenter();
-
+
pane.setCenter(null);
-
+
Bounds b = curNode.getBoundsInParent();
newNode.resizeRelocate(b.getMinX(), b.getMinY(), b.getWidth(), b.getHeight());
- pane.getChildren().add(0,newNode);
- pane.getChildren().add(1,curNode);
-
- if (imageView != null) {
- pane.getChildren().add(0,imageView);
+ pane.getChildren().add(0, newNode);
+ pane.getChildren().add(1, curNode);
+
+ if (this.imageView != null) {
+ pane.getChildren().add(0, this.imageView);
}
-
+
Animation animation = createAndPrepareAnimation(curNode, newNode);
-
+
animation.onFinishedProperty().set(new EventHandler<ActionEvent>() {
-
+
@Override
public void handle(ActionEvent event) {
pane.getChildren().remove(curNode);
pane.getChildren().remove(newNode);
pane.setCenter(newNode);
resetProperties(curNode, newNode);
-
- if (imageView != null) {
- pane.getChildren().remove(imageView);
+
+ if (CenterSwitchAnimation.this.imageView != null) {
+ pane.getChildren().remove(CenterSwitchAnimation.this.imageView);
}
}
});
-
+
animation.play();
-
+
}
-
- protected abstract Animation createAndPrepareAnimation(Node curNode, Node newNode);
- protected abstract void resetProperties(Node curNode, Node newNode);
+
+ protected abstract Animation createAndPrepareAnimation(@NonNull Node curNode, @NonNull Node newNode);
+
+ protected abstract void resetProperties(@NonNull Node curNode, @NonNull Node newNode);
}
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FadeAnimation.java b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FadeAnimation.java
index c2876e9db..3dcf1b59f 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FadeAnimation.java
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FadeAnimation.java
@@ -14,22 +14,23 @@ package org.eclipse.fx.ui.animation.pagetransition.animation;
import org.eclipse.fx.ui.animation.pagetransition.CenterSwitchAnimation;
import javafx.animation.Animation;
-import javafx.animation.FadeTransitionBuilder;
+import javafx.animation.FadeTransition;
import javafx.animation.Interpolator;
import javafx.scene.Node;
import javafx.util.Duration;
+/**
+ * Animation which fades between 2 nodes
+ */
public class FadeAnimation extends CenterSwitchAnimation {
@Override
protected Animation createAndPrepareAnimation(Node curNode, Node newNode) {
- return FadeTransitionBuilder.create()
- .node(curNode)
- .interpolator(Interpolator.EASE_BOTH)
- .fromValue(1.0)
- .toValue(0.0)
- .duration(new Duration(1000))
- .build();
+ FadeTransition t = new FadeTransition(Duration.millis(1000),curNode);
+ t.setInterpolator(Interpolator.EASE_BOTH);
+ t.setFromValue(1.0);
+ t.setToValue(0.0);
+ return t;
}
@Override
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java
index 117ff3ad6..26216e5df 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java
@@ -13,9 +13,9 @@ package org.eclipse.fx.ui.animation.pagetransition.animation;
import javafx.animation.Animation;
import javafx.animation.Interpolator;
-import javafx.animation.RotateTransitionBuilder;
-import javafx.animation.ScaleTransitionBuilder;
-import javafx.animation.SequentialTransitionBuilder;
+import javafx.animation.RotateTransition;
+import javafx.animation.ScaleTransition;
+import javafx.animation.SequentialTransition;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Bounds;
@@ -28,6 +28,9 @@ import javafx.util.Duration;
import org.eclipse.fx.ui.animation.pagetransition.CenterSwitchAnimation;
+/**
+ * Flip between 2 nodes
+ */
public class FlipAnimation extends CenterSwitchAnimation {
@Override
@@ -52,8 +55,8 @@ public class FlipAnimation extends CenterSwitchAnimation {
pane.setCenter(area);
- if (imageView != null) {
- pane.getChildren().add(0,imageView);
+ if (this.imageView != null) {
+ pane.getChildren().add(0,this.imageView);
}
Animation animation = createAndPrepareAnimation(area, null);
@@ -67,8 +70,8 @@ public class FlipAnimation extends CenterSwitchAnimation {
pane.setCenter(newNode);
resetProperties(curNode, newNode);
- if (imageView != null) {
- pane.getChildren().remove(imageView);
+ if (FlipAnimation.this.imageView != null) {
+ pane.getChildren().remove(FlipAnimation.this.imageView);
}
}
});
@@ -78,34 +81,22 @@ public class FlipAnimation extends CenterSwitchAnimation {
@Override
protected Animation createAndPrepareAnimation(Node area, Node newNode) {
- ScaleTransitionBuilder zoomOut = ScaleTransitionBuilder.create()
- .duration(new Duration(300))
- .toX(0.7)
- .toY(0.7)
- .interpolator(Interpolator.EASE_BOTH);
- ScaleTransitionBuilder zoomIn = ScaleTransitionBuilder.create()
- .duration(new Duration(300))
- .toX(1)
- .toY(1)
- .interpolator(Interpolator.EASE_BOTH);
- return SequentialTransitionBuilder.create()
- .children(
- zoomOut.node(area).build(),
- RotateTransitionBuilder.create()
- .axis(Rotate.Y_AXIS)
- .node(area)
- .byAngle(180)
- .duration(new Duration(8000))
- .interpolator(Interpolator.EASE_BOTH).build(),
- zoomIn.node(area).build()
- )
- .build();
-// return RotateTransitionBuilder.create()
-// .axis(Rotate.Y_AXIS)
-// .node(area)
-// .byAngle(180)
-// .duration(new Duration(4000))
-// .interpolator(Interpolator.EASE_BOTH).build();
+ ScaleTransition zoomOut = new ScaleTransition(Duration.millis(300));
+ zoomOut.setToX(0.7);
+ zoomOut.setToY(0.7);
+ zoomOut.setInterpolator(Interpolator.EASE_BOTH);
+
+ ScaleTransition zoomIn = new ScaleTransition(Duration.millis(300));
+ zoomIn.setToX(1);
+ zoomIn.setToY(1);
+ zoomIn.setInterpolator(Interpolator.EASE_BOTH);
+
+ RotateTransition rt = new RotateTransition(Duration.millis(8000));
+ rt.setAxis(Rotate.Y_AXIS);
+ rt.setByAngle(180);
+ rt.setInterpolator(Interpolator.EASE_BOTH);
+
+ return new SequentialTransition(area, zoomOut, rt, zoomIn);
}
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/RotateOutAnimation.java b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/RotateOutAnimation.java
index ec4680992..bea9ec97c 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/RotateOutAnimation.java
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/RotateOutAnimation.java
@@ -11,35 +11,30 @@
package org.eclipse.fx.ui.animation.pagetransition.animation;
-import org.eclipse.fx.ui.animation.pagetransition.CenterSwitchAnimation;
-
import javafx.animation.Animation;
-import javafx.animation.ParallelTransitionBuilder;
-import javafx.animation.RotateTransitionBuilder;
-import javafx.animation.ScaleTransitionBuilder;
+import javafx.animation.ParallelTransition;
+import javafx.animation.RotateTransition;
+import javafx.animation.ScaleTransition;
import javafx.scene.Node;
import javafx.util.Duration;
+import org.eclipse.fx.ui.animation.pagetransition.CenterSwitchAnimation;
+
+/**
+ * Rotated animation
+ */
public class RotateOutAnimation extends CenterSwitchAnimation {
@Override
protected Animation createAndPrepareAnimation(Node curNode, Node newNode) {
+ RotateTransition rt = new RotateTransition(Duration.millis(600), curNode);
+ rt.setByAngle(360);
+
+ ScaleTransition sc = new ScaleTransition(Duration.millis(600), curNode);
+ sc.setToX(0);
+ sc.setToY(0);
- return ParallelTransitionBuilder.create()
- .children(
- RotateTransitionBuilder.create()
- .node(curNode)
- .byAngle(360)
- .duration(new Duration(600))
- .build(),
- ScaleTransitionBuilder.create()
- .node(curNode)
- .toX(0)
- .toY(0)
- .duration(new Duration(600))
- .build()
- )
- .build();
+ return new ParallelTransition(rt, sc);
}
@Override
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/ZoomSlideAnimation.java b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/ZoomSlideAnimation.java
index 726186479..31cbf37a9 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/ZoomSlideAnimation.java
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/ZoomSlideAnimation.java
@@ -24,11 +24,6 @@ import org.eclipse.fx.ui.animation.pagetransition.CenterSwitchAnimation;
public class ZoomSlideAnimation extends CenterSwitchAnimation {
- public ZoomSlideAnimation() {
-
-
- }
-
@Override
protected Animation createAndPrepareAnimation(Node curNode, Node newNode) {
double deltaX = -curNode.getBoundsInLocal().getWidth();

Back to the top