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.
