Sunday, October 26, 2014

Re: Modify the property of an object via Deferred Binding

Ignacio is right. Use a Generator that generates an implementation of your interface and implements the interface methods based on some property value (generators have access to properties). If your implementation is generally the same except some small changes then you can also create an abstract class that implements your interface and then generate a sub class which only implements the property specific changes.

Since properties only exist at compile time you need to generate property specific code. You can not do that at runtime.

-- J.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment