Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 154 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/command/CommandHandlerAdaptor.java

Diff revisions: vs.
  @@ -1,6 +1,7 @@
1 1 // This Source Code is in the Public Domain per: http://litesoft.org/License.txt
2 2 package org.litesoft.GWT.client.command;
3 3
4 + import com.google.gwt.core.client.*;
4 5 import com.google.gwt.event.dom.client.*;
5 6 import com.google.gwt.user.client.*;
6 7
  @@ -14,7 +15,7 @@
14 15 * Defer so that button can reset to unpressed state. Makes long
15 16 * operations more tolerable.
16 17 */
17 - DeferredCommand.addCommand( this );
18 + Scheduler.get().scheduleDeferred( this );
18 19 }
19 20
20 21 @Override