Google Web Toolkit Eclipse Plugin Release Notes
Release Notes for 1.0.1.v200905131156
Features
- Wizards
- New GWT Project: Creates a new GWT project (wraps the projectCreator/applicationCreator scripts)
- New GWT Module: Creates a new GWT module
- New GWT Host Page: Creates an HTML host page for a GWT module
- New GWT Entry Point Class: Creates a new entry-point class for a GWT module.
- Customized editing of JSNI methods
- Syntax coloring for JavaScript idioms and references to Java entities
- Validation of JavaScript syntax (using the Rhino parser)
- Marks errors on unresolved Java references (can be disabled for a particular method with @SuppressWarnings("jsni"))
- Open Declaration (F3) action works on Java references
- Java Search includes references inside JSNI methods
- Refactoring Java types (move/rename) and members (rename) affects references in JSNI
- Auto-completion of JSNI method bodies based on the method's Java signature while also accounting for Bean-style properties.
For example, if the java method's signature is native int getFoo(int x)
, the proposed completions would be:
/*-{ }-*/
/*-{ return this.getFoo(x); }*-/
/*-{ return this.foo(x) }*-/
/*-{ return this.foo[x] }*-/
- GWT Runtimes
- Can point to GWT jars or imported source projects (gwt-user, gwt-dev-<platform>)
- Can be easily switched via the Project Properties page (e.g., change a GWT project to use 1.5 jars instead of 1.4.6 jars)
- Added to project classpath as a library (similar to Java JRE)
- Runtimes can be defined via Preferences -> Google Web Toolkit -> Installed Runtimes
- Launch configurations
- Can launch hosted mode sessions or JUnit tests
- Context menu -> Run As... shortcuts on GWT modules, HTML host pages, and GWTTestCases
- Settings tab for specifying GWTShell arguments (log level, compiler output obfuscation, etc.)
- GWT Runtime selection for overriding the GWT runtime library used in build classpath
- Module editor
- Auto-completion of module elements, attributes
- Structural and element-wise validation of module files
- XML syntax validation of module files
- Auto-update
- Checks for updates automatically, and notifies user when new version is available to install
- Can be disabled via Preferences -> Google Web Toolkit