Shortcuts.java missing code

0 views
Skip to first unread message

Igor Ganapolsky

unread,
Jan 5, 2010, 5:18:41 PM1/5/10
to Google Web Toolkit
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<StackLayoutPanel, Shortcuts> { }
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??

Trevor Skaife

unread,
Jan 6, 2010, 2:47:45 PM1/6/10
to Google Web Toolkit
The problem is your reading a getting started guide for GWT 1.6 but
looking at GWT 2.0 examples.
Reply all
Reply to author
Forward
0 new messages