Author: [email protected]
Date: Thu Mar 19 14:18:42 2009
New Revision: 5049
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/UIObject.java
Log:
This patch makes UIObject.DebugIdImpl and DebugIdImplEnabled public. The
impl classes were public originally so people could override the default
behavior using a deferred binding. In the next GWT release (after 1.6), we
will add a DebugIdSetter class that allows users to do this
programmatically instead of using a deferred binding.
Patch by: jlabanca
Review by: bruce (desk)
Modified: releases/1.6/user/src/com/google/gwt/user/client/ui/UIObject.java
==============================================================================
--- releases/1.6/user/src/com/google/gwt/user/client/ui/UIObject.java
(original)
+++ releases/1.6/user/src/com/google/gwt/user/client/ui/UIObject.java Thu
Mar 19 14:18:42 2009
@@ -97,7 +97,7 @@
* The implementation of the set debug id method, which does nothing by
* default.
*/
- private static class DebugIdImpl {
+ public static class DebugIdImpl {
@SuppressWarnings("unused")
// parameters
public void ensureDebugId(UIObject uiObject, String id) {
@@ -114,7 +114,7 @@
* {...@link Element}s in this {...@link UIObject}.
*/
@SuppressWarnings("unused")
- private static class DebugIdImplEnabled extends DebugIdImpl {
+ public static class DebugIdImplEnabled extends DebugIdImpl {
@Override
public void ensureDebugId(UIObject uiObject, String id) {
uiObject.onEnsureDebugId(id);
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---