litesoft
Diff Revisions
141
vs
154
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/LogoutSuspendDialog.java
|
@@ -8,6 +8,7 @@ |
8 |
8 |
|
import org.litesoft.core.delayed.*; |
9 |
9 |
|
import org.litesoft.core.util.*; |
10 |
10 |
|
|
|
11 |
+ |
import com.google.gwt.core.client.*; |
11 |
12 |
|
import com.google.gwt.event.dom.client.*; |
12 |
13 |
|
import com.google.gwt.user.client.*; |
13 |
14 |
|
import com.google.gwt.user.client.ui.*; |
|
@@ -119,7 +120,7 @@ |
119 |
120 |
|
private void logoutConfirmed() |
120 |
121 |
|
{ |
121 |
122 |
|
hide(); |
122 |
|
- |
DeferredCommand.addCommand( new Command() |
|
123 |
+ |
Scheduler.get().scheduleDeferred( new Command() |
123 |
124 |
|
{ |
124 |
125 |
|
@Override |
125 |
126 |
|
public void execute() |
|
@@ -132,7 +133,7 @@ |
132 |
133 |
|
private void suspendRequested() |
133 |
134 |
|
{ |
134 |
135 |
|
hide(); |
135 |
|
- |
DeferredCommand.addCommand( new Command() |
|
136 |
+ |
Scheduler.get().scheduleDeferred( new Command() |
136 |
137 |
|
{ |
137 |
138 |
|
@Override |
138 |
139 |
|
public void execute() |