litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/user/client/ui/WidgetAdaptorImpl.java
|
@@ -20,21 +20,17 @@ |
20 |
20 |
|
* Implementation class (i.e. DO NOT USE) meant to allow incubator base widget |
21 |
21 |
|
* classes to access widget package protected fields. |
22 |
22 |
|
*/ |
23 |
|
- |
public class WidgetAdaptorImpl |
24 |
|
- |
{ |
|
23 |
+ |
public class WidgetAdaptorImpl { |
25 |
24 |
|
|
26 |
|
- |
public static void onAttach( Widget widget ) |
27 |
|
- |
{ |
|
25 |
+ |
public static void onAttach( Widget widget ) { |
28 |
26 |
|
widget.onAttach(); |
29 |
27 |
|
} |
30 |
28 |
|
|
31 |
|
- |
public static void onDetach( Widget widget ) |
32 |
|
- |
{ |
|
29 |
+ |
public static void onDetach( Widget widget ) { |
33 |
30 |
|
widget.onDetach(); |
34 |
31 |
|
} |
35 |
32 |
|
|
36 |
|
- |
public static void setParent( Widget widget, Widget parent ) |
37 |
|
- |
{ |
|
33 |
+ |
public static void setParent( Widget widget, Widget parent ) { |
38 |
34 |
|
widget.setParent( parent ); |
39 |
35 |
|
} |
40 |
36 |
|
} |