Wednesday, December 29, 2010

how to convert Class types to Instance types ? Are GWT Places Singleton ?!

I have custom places in my app:
HomePlace extends ApplicationPlace {}
MailPlace extends ApplicationPlacfe {}

I keep a reference of all my places in an array, in some other class

class AppPlaces {

Place[] places = {


how can I convert from "HomePlace.class" to HomePlace instance,
preferrably using Gin and avoiding "new keyword"?

are GWT Places Singleton ?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment