]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed method name collision with new GWT Timer method (#12710)
authorArtur Signell <artur@vaadin.com>
Mon, 7 Oct 2013 14:00:47 +0000 (17:00 +0300)
committerArtur Signell <artur@vaadin.com>
Mon, 7 Oct 2013 14:00:47 +0000 (17:00 +0300)
Change-Id: I71c62bb0c7fde101ad7b1315c277a2727bbc9e2b

client/src/com/vaadin/client/ui/VScrollTable.java

index 492730259a0bb89595160350594958733b24090e..318a4a5f8f099ab1e251d52a82ff10ecd9b7ff6b 100644 (file)
@@ -2261,7 +2261,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
 
         private int reqFirstRow = 0;
         private int reqRows = 0;
-        private boolean isRunning = false;
+        private boolean isRequestHandlerRunning = false;
 
         public void triggerRowFetch(int first, int rows) {
             setReqFirstRow(first);
@@ -2279,12 +2279,12 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
             deferRowFetch(250);
         }
 
-        public boolean isRunning() {
-            return isRunning;
+        public boolean isRequestHandlerRunning() {
+            return isRequestHandlerRunning;
         }
 
         public void deferRowFetch(int msec) {
-            isRunning = true;
+            isRequestHandlerRunning = true;
             if (reqRows > 0 && reqFirstRow < totalRows) {
                 schedule(msec);
 
@@ -2426,7 +2426,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
                     unSyncedselectionsBeforeRowFetch = new HashSet<Object>(
                             selectedRowKeys);
                 }
-                isRunning = false;
+                isRequestHandlerRunning = false;
             }
         }
 
@@ -2434,7 +2434,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
          * Sends request to refresh content at this position.
          */
         public void refreshContent() {
-            isRunning = true;
+            isRequestHandlerRunning = true;
             int first = (int) (firstRowInViewPort - pageLength * cache_rate);
             int reqRows = (int) (2 * pageLength * cache_rate + pageLength);
             if (first < 0) {