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 <
adolfo.pan...@gmail.com> 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 <magn...@gmail.com>
>
>> 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 <
>> adolfo.pan...@gmail.com> 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 <magn...@gmail.com>
>>>
>>>> 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 <
>>>> adolfo.pan...@gmail.com> 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
>>>>> google-web-toolkit@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>>> 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
>>>> google-web-toolkit@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> 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 google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> 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 google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> 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 google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to