Hi there,
I have an easy question regarding the GWT syntax in bald below, as I have never seen one anywhere :)
I hope someone can help me a bit here.
/**
* Get a {@link Hyperlink} to a section based on the name of the
* {@link ContentWidget} example.
*
* @param cwClass the {@link ContentWidget} class
* @param name the name to display for the link
* @return a {@link Hyperlink}
*/
@IndexSource
private <C extends ContentWidget> Hyperlink getHyperlink(Class<C> cwClass, String name) {
Hyperlink link = new Hyperlink(name, Index.getContentWidgetToken(cwClass));
link.ensureDebugId("cwHyperlink-" + cwClass.getName());
return link;
}
}
Thank you.
-- I have an easy question regarding the GWT syntax in bald below, as I have never seen one anywhere :)
I hope someone can help me a bit here.
/**
* Get a {@link Hyperlink} to a section based on the name of the
* {@link ContentWidget} example.
*
* @param cwClass the {@link ContentWidget} class
* @param name the name to display for the link
* @return a {@link Hyperlink}
*/
@IndexSource
private <C extends ContentWidget> Hyperlink getHyperlink(Class<C> cwClass, String name) {
Hyperlink link = new Hyperlink(name, Index.getContentWidgetToken(cwClass));
link.ensureDebugId("cwHyperlink-" + cwClass.getName());
return link;
}
}
Thank you.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment