From: Manuel Carrasco MoƱino Date: Mon, 26 Nov 2012 10:55:52 +0000 (+0100) Subject: Removing GqUi to WidgetsUtils so as gquery doesnt have anything out of its namespace... X-Git-Tag: release-1.3.2~37^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=52686757c3977731c97f94597ac943e0c292ff47;p=gwtquery.git Removing GqUi to WidgetsUtils so as gquery doesnt have anything out of its namespace (access protected methods using jsni) --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index e0655c91..098dcc96 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -59,11 +59,11 @@ import com.google.gwt.query.client.plugins.ajax.Ajax; import com.google.gwt.query.client.plugins.ajax.Ajax.Settings; import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.Easing; import com.google.gwt.query.client.plugins.events.EventsListener; +import com.google.gwt.query.client.plugins.widgets.WidgetsUtils; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.EventListener; import com.google.gwt.user.client.Window; -import com.google.gwt.user.client.ui.GqUi; import com.google.gwt.user.client.ui.IsWidget; import com.google.gwt.user.client.ui.Widget; @@ -2045,7 +2045,7 @@ public class GQuery implements Lazy { Node c = e.getFirstChild(); while (c != null) { removeData(c. cast(), null); - GqUi.detachWidget(getAssociatedWidget(e)); + WidgetsUtils.detachWidget(getAssociatedWidget(e)); EventsListener.clean(c. cast()); e.removeChild(c); c = e.getFirstChild(); diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java index 3c0cbf19..9986d6eb 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java @@ -60,7 +60,6 @@ import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.EventListener; import com.google.gwt.user.client.Window; -import com.google.gwt.user.client.ui.GqUi; import com.google.gwt.user.client.ui.Widget; import com.google.gwt.query.client.LazyBase; diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java index 657e72f9..aaee7227 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java @@ -194,5 +194,4 @@ public class Widgets extends QueuePlugin { public Widgets textArea(WidgetInitializer