I was wondering if there is a way to retrieve the prefix corresponding to
a place ???
For example lets say I have the following Place class:
public class HomePlace extends Place {
@Prefix("/home")
public static class Tokenizer implements PlaceTokenizer {
@Override
public HomePlace getPlace(String token) {
return new HomePlace ();
}
@Override
public String getToken(HomePlace place) {
return "home";
}
}
}
Now, lets say I want to retrieve the Prefix corresponding to HomePlace, in
some other part of my code(say some Activity class) . Is there a way to do
it ??? I know I could retrieve the token but am kinda clueless about being
able to retrieve the prefix.
Any thoughts/pointers are much appreciated.
--
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.