blob: c701f4a84a39ee58e221237be349c9a0edb103bc [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='mobilewebapp'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.activity.Activity'/>
<inherits name='com.google.gwt.place.Place'/>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.clean.Clean'/>
<inherits name='com.google.gwt.editor.Editor'/>
<inherits name='com.google.gwt.sample.mobilewebapp.FormFactor'/>
<inherits name='com.google.web.bindery.requestfactory.RequestFactory'/>
<!-- Use GWT's java.util.logging emulation -->
<inherits name="com.google.gwt.logging.Logging"/>
<!-- Turn off the popup log handler, which is on by default to make sure
people are very aware that they are including the logging code -->
<set-property name="gwt.logging.popupHandler" value="DISABLED" />
<inherits name='com.google.gwt.sample.gaerequest.GaeRequest'/>
<inherits name='com.google.gwt.sample.core.Core'/>
<inherits name='com.google.gwt.sample.ui.UI'/>
<inherits name="com.google.gwt.logging.Logging"/>
<!-- Specify the app entry point class. -->
<entry-point class='com.google.gwt.sample.mobilewebapp.client.MobileWebApp'/>
<!-- Use ClientFactoryImpl by default -->
<replace-with class="com.google.gwt.sample.mobilewebapp.client.ClientFactoryImpl">
<when-type-is class="com.google.gwt.sample.mobilewebapp.client.ClientFactory"/>
</replace-with>
<!-- Use ClientFactoryImplMobile for mobile form factor. -->
<replace-with class="com.google.gwt.sample.mobilewebapp.client.ClientFactoryImplMobile">
<when-type-is class="com.google.gwt.sample.mobilewebapp.client.ClientFactory"/>
<when-property-is name="formfactor" value="mobile"/>
</replace-with>
<!-- Use ClientFactoryImplTablet for tablet form factor. -->
<replace-with class="com.google.gwt.sample.mobilewebapp.client.ClientFactoryImplTablet">
<when-type-is class="com.google.gwt.sample.mobilewebapp.client.ClientFactory"/>
<when-property-is name="formfactor" value="tablet"/>
</replace-with>
<define-linker name="appcachelinker" class="com.google.gwt.sample.mobilewebapp.linker.AppCacheLinker" />
<add-linker name="appcachelinker" />
<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='presenter'/>
<source path='shared'/>
</module>