From d29ef5553ef2541a2597c4a699cd1d9f5c3ac1c4 Mon Sep 17 00:00:00 2001 From: Julien Dramaix Date: Sat, 5 Mar 2011 20:16:49 +0000 Subject: [PATCH] remove enableAnimation ... This option is not needed to construct the widget and can be set in init function --- .../plugins/widgets/DisclosurePanelWidgetFactory.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/DisclosurePanelWidgetFactory.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/DisclosurePanelWidgetFactory.java index f66b6c42..7692cd2b 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/DisclosurePanelWidgetFactory.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/DisclosurePanelWidgetFactory.java @@ -19,7 +19,6 @@ public class DisclosurePanelWidgetFactory implements private String headerSelector; private String headerTitle; - boolean enableAnimation; public DisclosurePanelOptions() { initDefault(); @@ -33,14 +32,6 @@ public class DisclosurePanelWidgetFactory implements return headerTitle; } - public boolean isEnableAnimation() { - return enableAnimation; - } - - public void setEnableAnimation(boolean enableAnimation) { - this.enableAnimation = enableAnimation; - } - public void setHeaderSelector(String headerSelector) { this.headerSelector = headerSelector; } @@ -52,7 +43,6 @@ public class DisclosurePanelWidgetFactory implements private void initDefault() { headerTitle = null; headerSelector = "h3"; - enableAnimation = true; } } @@ -85,7 +75,6 @@ public class DisclosurePanelWidgetFactory implements disclosurePanel.setHeader(new Label(headerValue)); disclosurePanel.add(new HTMLPanel(e.getString())); - disclosurePanel.setAnimationEnabled(options.isEnableAnimation()); WidgetsUtils.replace(e, widget); } -- 2.39.5