Re: Inheriting a class within a package
After a little bit more time beating my head on the table, I noticed I had a typo. For others, I went with this format: Thanks for your response, Pat On Jun 7, 5:45 pm, Thomas Broyer wrote: > On Jun 7, 11:32 pm, Patrick Tucker wrote: > > > > > > > I'm trying to inherit 1 class file that is in a particular package. > > The problem is the package has other classes that inherit from java > > classes that GWT has not emulated. Because of this I can not use > > something like "" in my GWT module. The > > class iself can be emulated byt GWT as I have pulled it out just to > > test. > > > The goal is to not move the class file into another package because it > > is being used by other applications using the same class file. > > Basically I am trying to avoid maintaining 2 version of the same exact > > code. > > > I stumbled across these > > writeups:http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec.. > > > Which say you can do pattern based filtering on a source element, but > > I can't seem to get it to work. > > > Has anyone been able to do this? > > I haven't checked it myself but this should work: > - Hide quoted text - > > - Show quoted text - -- 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-tool...@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.
Re: Inheriting a class within a package
On Jun 7, 11:32 pm, Patrick Tucker wrote: > I'm trying to inherit 1 class file that is in a particular package. > The problem is the package has other classes that inherit from java > classes that GWT has not emulated. Because of this I can not use > something like "" in my GWT module. The > class iself can be emulated byt GWT as I have pulled it out just to > test. > > The goal is to not move the class file into another package because it > is being used by other applications using the same class file. > Basically I am trying to avoid maintaining 2 version of the same exact > code. > > I stumbled across these > writeups:http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec...http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... > > Which say you can do pattern based filtering on a source element, but > I can't seem to get it to work. > > Has anyone been able to do this? I haven't checked it myself but this should work: -- 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-tool...@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.
Inheriting a class within a package
I'm trying to inherit 1 class file that is in a particular package. The problem is the package has other classes that inherit from java classes that GWT has not emulated. Because of this I can not use something like "" in my GWT module. The class iself can be emulated byt GWT as I have pulled it out just to test. The goal is to not move the class file into another package because it is being used by other applications using the same class file. Basically I am trying to avoid maintaining 2 version of the same exact code. I stumbled across these writeups: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuidePathFiltering Which say you can do pattern based filtering on a source element, but I can't seem to get it to work. Has anyone been able to do this? Thanks for any help, Pat -- 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-tool...@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.