您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <module>
  2. <!-- This GWT module inherits all Vaadin client side functionality modules.
  3. This is the module you want to inherit in your client side project to be
  4. able to use com.vaadin.* classes. -->
  5. <!-- Hint for WidgetSetBuilder not to automatically update the file -->
  6. <!-- WS Compiler: manually edited -->
  7. <inherits name="com.google.gwt.user.User" />
  8. <inherits name="com.google.gwt.http.HTTP" />
  9. <inherits name="com.google.gwt.logging.Logging" />
  10. <set-property name="gwt.logging.enabled" value="TRUE" />
  11. <inherits name="com.vaadin.VaadinBrowserSpecificOverrides" />
  12. <source path="client" />
  13. <source path="shared" />
  14. <!-- Use own Scheduler implementation to be able to track if commands
  15. are running -->
  16. <replace-with class="com.vaadin.client.VSchedulerImpl">
  17. <when-type-is class="com.google.gwt.core.client.impl.SchedulerImpl" />
  18. </replace-with>
  19. <replace-with
  20. class="com.vaadin.client.communication.AtmospherePushConnection">
  21. <when-type-is class="com.vaadin.client.communication.PushConnection" />
  22. </replace-with>
  23. <!-- Set vaadin.profiler to true to include profiling support in the
  24. module -->
  25. <define-property name="vaadin.profiler" values="true,false" />
  26. <set-property name="vaadin.profiler" value="false" />
  27. <replace-with class="com.vaadin.client.Profiler.EnabledProfiler">
  28. <when-type-is class="com.vaadin.client.Profiler" />
  29. <when-property-is name="vaadin.profiler" value="true" />
  30. </replace-with>
  31. <!-- Use the new cross site linker to get a nocache.js without document.write -->
  32. <add-linker name="xsiframe" />
  33. <!-- Remove IE6/IE7 permutation as they are not supported -->
  34. <set-property name="user.agent" value="ie8,ie9,ie10,gecko1_8,safari" />
  35. <!-- Pointer event support -->
  36. <define-property name="modernie" values="none,yes" />
  37. <property-provider name="modernie"><![CDATA[
  38. {
  39. var ua = $wnd.navigator.userAgent;
  40. if (ua.indexOf('MSIE') == -1 && ua.indexOf('Trident') != -1) { return 'yes'; }
  41. return 'none';
  42. }
  43. ]]></property-provider>
  44. <set-property name="modernie" value="none">
  45. <none>
  46. <when-property-is name="user.agent" value="gecko1_8" />
  47. </none>
  48. </set-property>
  49. <!-- Fall through to this rule when the browser doesn't support pointer
  50. event -->
  51. <replace-with class="com.vaadin.client.event.PointerEventSupportImpl">
  52. <when-type-is class="com.vaadin.client.event.PointerEventSupportImpl" />
  53. </replace-with>
  54. <replace-with
  55. class="com.vaadin.client.event.PointerEventSupportImplModernIE">
  56. <when-type-is class="com.vaadin.client.event.PointerEventSupportImpl" />
  57. <none>
  58. <when-property-is value="none" name="modernie" />
  59. </none>
  60. </replace-with>
  61. <replace-with class="com.vaadin.client.event.PointerEventSupportImplIE10">
  62. <when-type-is class="com.vaadin.client.event.PointerEventSupportImpl" />
  63. <when-property-is value="ie10" name="user.agent" />
  64. </replace-with>
  65. <!-- Make Sass linking available -->
  66. <define-linker name="sass"
  67. class="com.vaadin.sass.linker.SassLinker" />
  68. </module>