com.smartgwt.client.docs
Interface LoadingOptionalModules


public interface LoadingOptionalModules

Loading Optional Modules

If your Smart GWT install includes an optional module, it must be added as an <inherits> tag in your moduleName.gwt.xml module file for it to be used. Some optional modules require an additional .jar file (eg analytics.jar), whereas some are bundled in smartgwt.jar automatically. Where applicable, additional module .jar files are included in Evaluation SDKs but are separate downloads when using an Optional Module with Power or Enterprise. The table below describes what <inherits> to add for each module.

Module Add this to your .gwt.xml file
Drawing (included in smartgwt.jar)
Required for DrawPane and DrawItem.
<inherits name="com.smartgwt.Drawing"/>
PluginBridges (included in smartgwt.jar)
Required for all BrowserPlugin derivatives (such as Applet and Flashlet) and also for FusionChart support.
<inherits name="com.smartgwt.PluginBridgesWidgets"/>
Charts (included in smartgwt.jar)
Required for FacetChart and FusionChart. Note that FacetChart also requires the Drawing module to be loaded before this module. Note that FusionChart also requires the PluginBridges module to be loaded before this module.
<inherits name="com.smartgwt.Charts"/>
Analytics (requires analytics.jar)
See CubeGrid. Note that if charting is also required, the Charts module should be loaded before this one.
<inherits name="com.smartgwt.Analytics"/>
RealTimeMessaging (requires messaging.jar)
<inherits name="com.smartgwt.RealtimeMessaging"/>