Friday, March 17, 2017

Re: Editors and inheritance

Seem not to be possible as you get error :
The interface Editor cannot be implemented more than once with different arguments: Editor<B> and Editor<A>

Any idea to share code ?



Le jeudi 16 mars 2017 10:39:03 UTC+1, 129pierre a écrit :
Hi,

I have a bean of class A and an editor AEditor based on uibinder
AEditor extends Composite implements Editor<A>

Now, I have a new class B extending A 

can I extends AEditor  like this for creating a BEditor ? :

BEditor  extends AEditor implements Editor<B>


How can I reuse the AEditor ui.xml ?

Thanks in advance for any hint
Pierre


--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment