I want to make sure we don't overlook important issues, so we try to engage people on most every topic on this list. However, the way you have chosen to try to make your point here is likely to have the opposite of your intended effect -- you are flinging criticism in a unconstructive manner and failing to give useful examples of why the change would actually help you. Strident posts like this make me seriously consider muting the thread and filtering future emails, and encouraging the rest of the team to ignore them, too. To make your points now and in the future, consider Fred's tone in his original description of 1112 and his and follow-up comments by others; they explain *why* this is a useful change. Your hyperbole is not helpful.
On Sat, Aug 8, 2009 at 5:04 AM, Ed <[email protected]> wrote: > > Why is issue 1112 not planned for GWT 2.0?? > http://code.google.com/p/google-web-toolkit/issues/detail?id=1112 > > This suprises me a lot. > Now I need to have 3 methods to deal with the insert method from > FlowPanel/HorizontalPanel/VerticalPanel... This is very poor OO > programing :(... > > Example (just one of them): > Like explained in issue 3867 (http://code.google.com/p/google-web- > toolkit/issues/detail?id=3867) I use a InsertPanelWrapper interface to > wrap the above panels that have CRUD panel actions. I use the wrapper > to add functionality like animations and listener stuff if needed and > to have a clear api to the outside world (developer). The base > abstract class that implements this interface contains another > interface that is called ModifyPanelWrapper that is used to perform > the actual CRUD actions (his implementation contains the actual > animations). His interface is: > ---- > void add(HasWidgets panel, Widget widget); > void insert(HorizontalPanel panel, Widget widget, int beforeIndex); > void insert(VerticalPanel panel, Widget widget, int beforeIndex); > void insert(FlowPanel panel, Widget widget, int beforeIndex); > <IPan extends IndexedPanel & HasWidgets> boolean remove(final IPan > panel, int index); > boolean remove(HasWidgets panel, Widget widget); > ---- > > The interface is very ugly and poor like I am programming in the > stoneage... > Why? I need 3 insert methods for every GWT panel supporting this as > GWT doesn't use a single interface for this kind of action. > > Please let me understand why this isn't planned for gwt 2.0 ? As I > think if you call yourself 2.0, things like these must be present (And > I don't even talk about primitive Widget interfaces) ! > > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
