" For more control of the PlaceHistoryMapper, you can use the @Prefix annotation on a PlaceTokenizer to change the first part of the URL associated with the Place. For even more control, you can instead implement PlaceHistoryMapperWithFactory and provide a TokenizerFactory that, in turn, provides individual PlaceTokenizers."That says I can use @Prefix, but it doesn't say why I would want to,
Why: "to change the first part of the URL associated with the Place" so you can replace GWTs default prefix.
how I would use it,
How: "you can use the @Prefix annotation on a PlaceTokenizer". Its an annotation so it should be clear you need to put it on the PlaceTokenizer class of your place. Also the annotation has JavaDoc.
or how it gives me more control of the PlaceHistoryMapper.
The above is the control you get: Changing the default prefix of a place.
And you're right, it does say I can call PlaceHistoryMapper.getToken() to get a token for a Hyperlink, but my Hyperlinks are laid out in UI Binder.
Yeah and because you can't "call" it in UiBinder XML you would just do it in the corresponding java file.
Please don't take me offensive. I just have the opinion that most information is available in your case but if you feel like to improve documentation you can do so, as all content is open source. Everyone will be happy if GWT documentation improves :)
-- 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+unsubscribe@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/d/optout.
No comments:
Post a Comment