Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -8,6 +8,7 @@
8 8 import org.litesoft.core.util.*;
9 9 import org.litesoft.uispecification.*;
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.*;
  @@ -51,7 +52,7 @@
51 52 {
52 53 @Override public void onFocus( FocusEvent event )
53 54 {
54 - DeferredCommand.addCommand( new Command()
55 + Scheduler.get().scheduleDeferred( new Command()
55 56 {
56 57 @Override
57 58 public void execute()
  @@ -86,7 +87,7 @@
86 87 public boolean isSuggestionListShowing()
87 88 {
88 89 Widget zWidget = getInjectedInputWidget();
89 - return ((SuggestBoxChangeListenable) zWidget).isSuggestionListShowing();
90 + return ((SuggestBoxChangeListenable) zWidget).isSuggestionListShowing(); // use: DefaultSuggestionDisplay.isSuggestionListShowing()
90 91 }
91 92
92 93 public void showSuggestionList()