The functionality that you are looking for is in 2.0. The compiler simply figures it out, so there's no need for an explicit annotation.
- Chris On Wed, Nov 18, 2009 at 3:25 PM, MonkeyMike <[email protected]> wrote: > Dear GWT 2.0 developers, > > I noticed the latest announcement about GWT 2.0, Milestone 2, > here... > > > http://groups.google.com/group/google-web-toolkit/browse_thread/thread/15f20608f0a73b73 > > ...and I noticed that it does not make any mention of the > @SingleJsoImpl feature, which is described here... > > http://code.google.com/p/google-web-toolkit/wiki/OverlayTypes > > Can we still expect this feature in GWT 2.0? > > > To provide a little more detail: I have been creating a GWT > Overlay Type library for Dojo's GFX library, and I have encountered > the difficulty of creating access to an overlay type without an > intermediate type. My solution, for now, is to create public access > to all of the overlay types and have a "delegate" library of types > that use the overlay types. The pur;pose of the "delegate" types are > to offer a more acceptable Java API, since they are not subclasses of > JavaScriptObject and therefore do not have the JavaScriptObject > restrictions. So, for example, where an overlay type can only provide > a "final" method, the corresponding "delegate" type can provide a non- > final method, which calls the overlay type's final method. However, > these "delegate" types are problematic because they involve a lot of > extra object creation that does not occur when using the overlay types > directly. So it seems like I can resolve some of this with the use of > @SingleJsoImpl, and I am wondering whether or not I can surely expect > this in GWT 2.0. > > -- > > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- 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.
