Re: Shortcuts.java missing code

2010-01-06 Thread Trevor Skaife
The problem is your reading a getting started guide for GWT 1.6 but
looking at GWT 2.0 examples.

On Jan 5, 4:18 pm, Igor Ganapolsky  wrote:
> I am following the GWT Getting Started guide 
> at:http://code.google.com/webtoolkit/doc/1.6/gettingstarted.html#Install
> It states about Shortcuts.java:
> "Line 54 of the file is the line that constructs the "Mail" tab.
> add(images, new Mailboxes(images), images.mailgroup(), "Mail");"
>
> However, Shortcuts.java doesn't have this code.  In fact, here is the
> entire class definition:
> public class Shortcuts extends ResizeComposite {
>   interface Binder extends UiBinder { }
>   private static final Binder binder = GWT.create(Binder.class);
>   @UiField Mailboxes mailboxes;
>   @UiField Tasks tasks;
>   @UiField Contacts contacts;
>   /**
>    * Constructs a new shortcuts widget using the specified images.
>    *
>    * @param images a bundle that provides the images for this widget
>    */
>   public Shortcuts() {
>     initWidget(binder.createAndBindUi(this));
>   }
>
> }
>
> Any ideas??
-- 
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-tool...@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.




Shortcuts.java missing code

2010-01-06 Thread Igor Ganapolsky
I am following the GWT Getting Started guide at:
http://code.google.com/webtoolkit/doc/1.6/gettingstarted.html#Install
It states about Shortcuts.java:
"Line 54 of the file is the line that constructs the "Mail" tab.
add(images, new Mailboxes(images), images.mailgroup(), "Mail");"

However, Shortcuts.java doesn't have this code.  In fact, here is the
entire class definition:
public class Shortcuts extends ResizeComposite {
  interface Binder extends UiBinder { }
  private static final Binder binder = GWT.create(Binder.class);
  @UiField Mailboxes mailboxes;
  @UiField Tasks tasks;
  @UiField Contacts contacts;
  /**
   * Constructs a new shortcuts widget using the specified images.
   *
   * @param images a bundle that provides the images for this widget
   */
  public Shortcuts() {
initWidget(binder.createAndBindUi(this));
  }
}

Any ideas??
-- 
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-tool...@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.