yugalatea / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Remove 'final' from classes and move the 'final' to the methods in Gears #290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
gears 1.2.1

Detailed description:
When you declare one of these classes final, it makes it difficult for 
developers to add new features that might have been release in the JS api 
after gwt-gears was released.

Workaround if you have one:
None.

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by galgwt.reviews@gmail.com on 9 Jul 2009 at 11:00

GoogleCodeExporter commented 9 years ago
Actually not "difficult", just less straightforward: you'd still have to cast 
the gwt-
gears class into your own which adds the new API support, it's just that either 
your 
new class have to duplicate the gwt-gears class functionality (copy/paste 
instead of 
"extends") or your user code will have to cast back and forth between the two 
classes 
(cast to MyDesktop to have getDragData/setDropEffect, cast to Desktop to have 
openFiles, etc. because MyDesktop doesn't extends Desktop).

Original comment by t.broyer on 10 Jul 2009 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by zundel@google.com on 21 Dec 2009 at 1:32

GoogleCodeExporter commented 9 years ago
Gears API is now deprecated

Original comment by zundel@google.com on 28 Oct 2011 at 3:47