1111import com .smartgwt .client .util .SC ;
1212import com .smartgwt .client .widgets .IButton ;
1313import com .smartgwt .client .widgets .Window ;
14- import com .smartgwt .client .widgets .events .CloseClickEvent ;
1514import com .smartgwt .client .widgets .form .fields .events .ChangedHandler ;
1615import com .smartgwt .client .widgets .layout .HLayout ;
1716import com .smartgwt .client .widgets .layout .VLayout ;
@@ -45,10 +44,10 @@ public FolderImageUploader(GUIFolder folder, ChangedHandler changedHandler) {
4544 this .changedHandler = changedHandler ;
4645
4746 save = new IButton (I18N .message ("save" ));
48- save .addClickHandler (( com . smartgwt . client . widgets . events . ClickEvent event ) -> onUpload ());
47+ save .addClickHandler (click -> onUpload ());
4948
5049 IButton delete = new IButton (I18N .message ("ddelete" ));
51- delete .addClickHandler (( com . smartgwt . client . widgets . events . ClickEvent event ) -> onDelete ());
50+ delete .addClickHandler (click -> onDelete ());
5251
5352 uploader = new Upload (save );
5453
@@ -63,7 +62,7 @@ public FolderImageUploader(GUIFolder folder, ChangedHandler changedHandler) {
6362 layout .addMember (buttons );
6463 addItem (layout );
6564
66- addCloseClickHandler (( CloseClickEvent event ) -> cleanUploads ());
65+ addCloseClickHandler (click -> cleanUploads ());
6766 }
6867
6968 private void cleanUploads () {
@@ -102,7 +101,7 @@ public void onSuccess(String content) {
102101
103102 });
104103 }
105-
104+
106105 @ Override
107106 public boolean equals (Object other ) {
108107 return super .equals (other );
0 commit comments