Agreed with you. Is there any bugreport\proposal this feature?
It was extremely useful to have something like this:

public abstract class PersonListEditor<T> implements HasRequestContext<T>, 
... {
   private RequestContext reqCtx;
   //used internaly 
   private void createNewEntity() {
      T clazz = (Class<T>) ((ParameterizedType) 
getClass().getGenericSuperclass()).getActualTypeArguments()[0];
        reqCtx.create( clazz ); //it is impossible without reflection just 
as other trics that let you reuse code
   } 

   @Override
   public void setRequestContext(RequestContext reqCtx) {
      this.reqCtx = reqCtx;
   }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/aHBUNFh3Y3ZocXNK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to