Re: Determining dependencies for split points

2013-11-03 Thread Ben Klein
The solution that worked for me was to move the code from the runAsync 
method of split point 1 out of the runAsync call (next to it). This put the 
relevant code into the initial download part, where I could trace the 
dependency.

On Monday, October 14, 2013 1:00:41 PM UTC-4, Ben Klein wrote:

 In my GWT application, I have several split points. In the compile report, 
 it says that a certain class has some code loaded in split point 1 and some 
 code loaded in split point 5. How do I find out what is causing the code to 
 load from split point 5?
  

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-11-03 Thread Ben Klein
Correction: split point 5, not 1

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determining dependencies for split points

2013-10-14 Thread Ben Klein
Actually, these are initial fragments, loading in the order 5,1,2,3,4. 
There are no exclusive fragments in this application.

On Monday, October 14, 2013 1:37:46 PM UTC-4, Jens wrote:

 You have only used that specific code in split point 5 and never in split 
 point 1. Thats why the code ends up in split point 5. If you would use the 
 same code in both split points it would end up in the left over fragment 
 because its not unique anymore to a single split point.

 The compile report should show you a method call stack which the GWT 
 compiler has been used to determine if a code fragment should end up in the 
 split point you currently investigate.


 -- J. 


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: add timer on panel......

2012-06-04 Thread Ben Klein
If I recall correctly, System.currentTimeMillis() still works in GWT. In 
your timer code, this can be called; end_time + start_time - current_time 
will give you how much time is left.

On Tuesday, May 29, 2012 7:59:43 AM UTC-4, Harshal Patil wrote:

 Hello

 Can anyone plz help me to create timer and how to add it on the panel?


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/eCENtNNtlvwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Tree HTML item loses focus

2012-03-07 Thread Ben Klein
I have a Tree serving as a navigation pane, in which almost all of the
items are HTML links. Often, when tabbing through the tree, the Tree
itself will take back the focus from whichever link was selected. Is
there any way that I can prevent this from happening?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.