Child pages
  • GWT Support

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

GWT Support

The language jetbrains.mps.gwt.client provides basic support for creating and editing of GWT Module XML files. Module manifests are represented as root nodes interlinked with source code and other manifests, including ones from .jar files. The jar files for gwt-dev.jar and gwt-user.jar are included with the language.

Supported GWT SDK versions are 2.0 onward.

GWT Module root

Supported elements. Please refer to GWT SDK documentation for details.

Table of Content Zone
printablefalse
maxLevel6
minLevel3
locationtop
includePagestrue
typelist

inherits

Specify the module to inherit settings from. In order to inherit from a GWT module contained in another model, that model must be imported first.

Code Block
GWT module test   {                
                                   
  inherits com.google.gwt.core.Core
                                   
  inherits com.google.gwt.user.User
                                   
}                                  

entry-point

Specify a class that will be used as the entry point. Must implement com.google.gwt.core.client.EntryPoint.

Code Block
entry-point Sample

Filtering paths

The following three elements support following features, analogous to GWT module XML file's elements.

  • excludes and includes parameters
  • casesensitive parameter
  • defaultexcludes parameter
  • include and exclude sub-elements

If no path is explicitly specified, the current model is assumed.

Code Block
source model   {
                
}               

public

Define a path with public resources.

Code Block
public path = " resources "   {
                               
}                              

source

Define a source path (package).

Code Block
source model casesensitive = false {
  exclude " **/internal* "          
}                                   

super-source

Define a source path stripping off the prefix.

Code Block
super-source path = " java.util "   {
                                     
}                                    

Previous Next