I can understand your frustration, but moving most implementation
details of library to its interface would put a chokehold on the
library's development.  Most of the implementation would become locked
down for fear of breaking client code.

I know its painful, but if you need access to a field or a private
method of a class, first reconsider your design.  You are attempting
to use the class in a way the designer of the class didn't intend.
After reconsidering your design.  If you still think the class's
interface needs to be extended, put in a change request.  Then the
designer of the class can see if it makes sense to have in the
internal functionality exposed through the class's interface.

On Thu, Feb 16, 2012 at 07:28, Bob Lacatena <[email protected]> wrote:
> I invariably find that GWT doesn't do exactly what I need.  Too often,
> however, I'm frustrated in my efforts to extend a class because too
> many elements or methods are private (rather than protected) and such
> private fields are not even exposed by getters and setters.
>
> Please go through all of your code and change "private" to
> "protected".  In the rare case where you really don't want someone
> touching something (e.g. deprecated methods) that's fine, but think
> ten times about having a private field without a getter/setter, or a
> private method of any sort.  Such a situation should be very, very
> rare in a toolkit that's meant to be extensible, and is obviously
> limited in functionality and absolutely will require that the
> programmer roll up his sleeves.
>
> --
> 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.
>



-- 
Tony Edgin
Software Architecture and Design Leader
LBT Observatory
933 N. Cherry Ave., Tucson AZ 85721-0065
p:520-626-8951, c:520-419-8821, f:520-626-9333

-- 
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.

Reply via email to