Before you ask a question.
If you don´t mind, show me a class that implements the interface Columns,
and the corresponding call GWT.create ("class that implements Columns");My specific question is I don´t know the form to assign the genereic type to the interface [interface colums<T>] How can I specify that <T> is Car.class or Bus.car (for example)??. Thanks! 2011/6/7 Magno Machado <[email protected]> > Check out what I did here > > https://bitbucket.org/magnomp/gwtpower/src/76014ca46007/src/main/java/org/gwtpower/celltable/columns/rebind/ColumnsGenerator.java > > > <https://bitbucket.org/magnomp/gwtpower/src/76014ca46007/src/main/java/org/gwtpower/celltable/columns/rebind/ColumnsGenerator.java>I > think what you want is lines 43/44 > > > On Tue, Jun 7, 2011 at 4:52 AM, Adolfo Panizo Touzon < > [email protected]> wrote: > >> Hi Magno, thank you very much foir your answer. >> >> So, ohter quickly question. >> >> Do you (or anybody) know any form to use generics in deferred binding? >> >> Thanks. >> >> 2011/6/6 Magno Machado <[email protected]> >> >>> The class that your generator return doesn't exist in the project, it is >>> always created on the fly during devmode or at compile-time >>> >>> You must have, however, a "marker" class/interface which is what will >>> trigger the generator (it's the type that you will pass to GWT.create) >>> >>> >>> >>> >>> On Mon, Jun 6, 2011 at 7:53 AM, Adolfo Panizo Touzon < >>> [email protected]> wrote: >>> >>>> Hi Magno, >>>> >>>> but, that subclass I must have created previously, no? >>>> That is, in my project I have to have one *nameOfSubClass*.java with >>>> the name of this subclass, no? >>>> >>>> >>>> >>>> 2011/6/6 Magno Machado <[email protected]> >>>> >>>>> You can't modify a class, but your generator can generate a subclass >>>>> and override some method if they're not final >>>>> >>>>> On Mon, Jun 6, 2011 at 7:04 AM, Adolfo Panizo Touzon < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> there any way to add code to an existing class when I'm working on a >>>>>> Generator? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -- >>>>>> El precio es lo que pagas. El valor es lo que recibes. >>>>>> Warren Buffet >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Google Web Toolkit" group. >>>>>> 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. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Magno Machado Paulo >>>>> http://blog.magnomachado.com.br >>>>> http://code.google.com/p/emballo/ >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Google Web Toolkit" group. >>>>> 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. >>>>> >>>> >>>> >>>> >>>> -- >>>> El precio es lo que pagas. El valor es lo que recibes. >>>> Warren Buffet >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google Web Toolkit" group. >>>> 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. >>>> >>> >>> >>> >>> -- >>> Magno Machado Paulo >>> http://blog.magnomachado.com.br >>> http://code.google.com/p/emballo/ >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Web Toolkit" group. >>> 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. >>> >> >> >> >> -- >> El precio es lo que pagas. El valor es lo que recibes. >> Warren Buffet >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> 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. >> > > > > -- > Magno Machado Paulo > http://blog.magnomachado.com.br > http://code.google.com/p/emballo/ > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > 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. > -- El precio es lo que pagas. El valor es lo que recibes. Warren Buffet -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
