Subversion Repository Public Repository

litesoft

Diff Revisions 151 vs 154 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/impls/input/FormImageSelectOptions.java

Diff revisions: vs.
  @@ -7,6 +7,8 @@
7 7 import org.litesoft.core.util.*;
8 8 import org.litesoft.uispecification.*;
9 9
10 + import com.google.gwt.core.client.*;
11 + import com.google.gwt.event.dom.client.*;
10 12 import com.google.gwt.user.client.*;
11 13 import com.google.gwt.user.client.ui.Button;
12 14 import com.google.gwt.user.client.ui.*;
  @@ -61,10 +63,10 @@
61 63 private Widget buildButtonPanel()
62 64 {
63 65 Button zCancel = new Button( "Cancel" );
64 - zCancel.addClickListener( new ClickListener()
66 + zCancel.addClickHandler( new ClickHandler()
65 67 {
66 68 @Override
67 - public void onClick( Widget sender )
69 + public void onClick( ClickEvent event )
68 70 {
69 71 mPicker.hide();
70 72 }
  @@ -238,7 +240,7 @@
238 240 mPicker.hide();
239 241 mRowFormatter.removeStyleName( zIndx, "ItemRow-Mouseover" );
240 242 final ResourceKeyNameURL zResource = getResource( zIndx );
241 - DeferredCommand.addCommand( new Command()
243 + Scheduler.get().scheduleDeferred( new Command()
242 244 {
243 245 @Override
244 246 public void execute()