GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by ashouric » Thu Dec 28, 2006 5:49 am
Dear All,
It seems that GWT Designer forces .client package to use only GWT emulation packages, that's really nice.
Just wanted to provide some feedback, as there seems to be more steps, mainly:
1 - Type "new java.util.<Ctrl+Space>", the TreeSet for instance is available in code assist.
2 - Java 1.5 features are not prevented, e.g. parametrized classes in "new ArrayList<Ctrl+Space>". I am not sure if you should do this at the moment, but if it is simple enough, it is fine till being allowed in GWT.
Many thanks.
-
ashouric
-
- Posts: 75
- Joined: Sat Sep 30, 2006 9:13 pm
by Konstantin.Scheglov » Fri Jan 05, 2007 12:48 am
I've tried to implement this feature, but Eclipse does not allow content assist filtering, at least on separate package level, so GWT Designer can not show different classes in content assist in client and server packages.
-
Konstantin.Scheglov
- Moderator
-
- Posts: 186
- Joined: Tue Oct 18, 2005 8:11 pm
- Location: Russian Federation, Lipetsk
-
by ashouric » Fri Jan 05, 2007 2:57 am
I see, that's fine.
Another thing, methods outside Emulation library are not prevented, e.g.
- Code: Select all
new ArrayList().toArray( null );
It would be good to block this as well.
Many thanks.
-
ashouric
-
- Posts: 75
- Joined: Sat Sep 30, 2006 9:13 pm
by Eric Clayberg » Fri Jan 05, 2007 5:02 am
ashouric wrote:Another thing, methods outside Emulation library are not prevented...It would be good to block this as well.
Unfortunately, the same issue applies. Eclipse does not allow code assists from other plugins (in this case the JDT) to be filtered out.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by ashouric » Fri Jan 05, 2007 9:39 am
Eric Clayberg wrote:Eclipse does not allow code assists from other plugins (in this case the JDT) to be filtered out.
Dear Eric,
I am not commenting about code assist, but about complidation instead.
For instace typing "new TreeSet()" give compilation error, what would be nice to have is compilation error for "myArrayList.toArray( new Object[0] );"
-
ashouric
-
- Posts: 75
- Joined: Sat Sep 30, 2006 9:13 pm
Return to GWT Designer
Who is online
Users browsing this forum: No registered users and 3 guests