ike it wants
> to be a subclass.
>
> Le 9 novembre 2010 01:56, cokol a écrit :
>
> > why is com.google.gwt.user.client.ui.Widget.addHandler(H, Type)
> > protected? in case I want to fire a custom event on a widget so that
> > the widget is not aware of custom event hand
why is com.google.gwt.user.client.ui.Widget.addHandler(H, Type)
protected? in case I want to fire a custom event on a widget so that
the widget is not aware of custom event handler, it makes it difficult
to manage.
thanks
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Webber wrote:
> Specific examples might be helpful here. I can see how this might be useful
> in some specific cases, but wrapping every new in a template method sounds
> like a horribly contorting way to have to write all one's code.
>
> Le 13 octobre 2010 05:19, cokol a écri
many other developers, including me, would appreciate if you'd use
protected factory methods in non-final classes (even if the class is
not abstract), like:
a no-go:
void func() {
A = new A();
A.doSomething();
}
instead, a better pattern:
---
protected A createA() {
return
hello all,
currently there is an issue, that rpc consideres any possible subclass
of the type intended for serialization, i.e.
class MyTO {
List args;
}
causes all ArrayList, LinkedList etc. to be considered into
serialization, even though never using in the code.
during a compile run the comp