litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/Upload/src/org/litesoft/sandbox/csapp/client/widgets/MyPanel.java
|
@@ -5,26 +5,22 @@ |
5 |
5 |
|
import com.google.gwt.uibinder.client.*; |
6 |
6 |
|
import com.google.gwt.user.client.ui.*; |
7 |
7 |
|
|
8 |
|
- |
public class MyPanel extends Composite implements IsWidget |
9 |
|
- |
{ |
|
8 |
+ |
public class MyPanel extends Composite implements IsWidget { |
10 |
9 |
|
|
11 |
10 |
|
private static MyPanelUIBinder uiBinder = GWT.create( MyPanelUIBinder.class ); |
12 |
11 |
|
|
13 |
|
- |
interface MyPanelUIBinder extends UiBinder<Widget, MyPanel> |
14 |
|
- |
{ |
|
12 |
+ |
interface MyPanelUIBinder extends UiBinder<Widget, MyPanel> { |
15 |
13 |
|
} |
16 |
14 |
|
|
17 |
15 |
|
@UiField CertUploadWidget uploadWidget; |
18 |
16 |
|
@UiField Button buttonTest; |
19 |
17 |
|
|
20 |
|
- |
public MyPanel() |
21 |
|
- |
{ |
|
18 |
+ |
public MyPanel() { |
22 |
19 |
|
initWidget( uiBinder.createAndBindUi( this ) ); |
23 |
20 |
|
} |
24 |
21 |
|
|
25 |
22 |
|
@UiHandler("buttonTest") |
26 |
|
- |
protected void doClose( ClickEvent event ) |
27 |
|
- |
{ |
|
23 |
+ |
protected void doClose( ClickEvent event ) { |
28 |
24 |
|
uploadWidget.showBusy(); |
29 |
25 |
|
} |
30 |
26 |
|
} |