summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/DefaultWidgetSet.gwt.xml
blob: 77e3127745d1bf117ef3492958eb9929065cbd80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<module>
	<!-- This GWT module defines the Vaadin DefaultWidgetSet. This is the module 
		you want to extend when creating an extended widget set, or when creating 
		a specialized widget set with a subset of the components. -->

	<!-- Hint for WidgetSetBuilder not to automatically update the file -->
	<!-- WS Compiler: manually edited -->

	<inherits name="com.google.gwt.user.User" />

	<inherits name="com.google.gwt.http.HTTP" />

	<inherits name="com.google.gwt.json.JSON" />

	<inherits
		name="com.vaadin.terminal.gwt.DefaultWidgetSetBrowserSpecificOverrides" />

	<source path="client" />
	
	<!-- TODO only for development -->
	<replace-with class="com.vaadin.terminal.gwt.client.ui.VerticalBoxLayoutConnector">
		<when-type-is class="com.vaadin.terminal.gwt.client.ui.orderedlayout.VerticalLayoutConnector" />
	</replace-with>
	<replace-with class="com.vaadin.terminal.gwt.client.ui.HorizontalBoxLayoutConnector">
		<when-type-is class="com.vaadin.terminal.gwt.client.ui.orderedlayout.HorizontalLayoutConnector" />
	</replace-with>
	
	<!-- Use own Scheduler implementation to be able to track if commands are 
		running -->
	<replace-with class="com.vaadin.terminal.gwt.client.VSchedulerImpl">
		<when-type-is class="com.google.gwt.core.client.impl.SchedulerImpl" />
	</replace-with>


	<!-- Generators for serializators for classes used in communication between 
		server and client -->
	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.SerializerMapGenerator">
		<when-type-is
			class="com.vaadin.terminal.gwt.client.communication.SerializerMap" />
	</generate-with>

	<replace-with class="com.vaadin.terminal.gwt.client.VDebugConsole">
		<when-type-is class="com.vaadin.terminal.gwt.client.Console" />
	</replace-with>

	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.EagerWidgetMapGenerator">
		<when-type-is class="com.vaadin.terminal.gwt.client.WidgetMap" />
	</generate-with>

	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.AcceptCriteriaFactoryGenerator">
		<when-type-is
			class="com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory" />
	</generate-with>

	<!-- Generate client side proxies for client to server RPC interfaces -->
	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.RpcProxyGenerator">
		<when-type-assignable
			class="com.vaadin.terminal.gwt.client.communication.ServerRpc" />
	</generate-with>

	<!-- Generate client side proxies for client to server RPC interfaces -->
	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.RpcProxyCreatorGenerator">
		<when-type-assignable
			class="com.vaadin.terminal.gwt.client.communication.RpcProxy.RpcProxyCreator" />
	</generate-with>

	<!-- Generate client side RPC manager for server to client RPC -->
	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.GeneratedRpcMethodProviderGenerator">
		<when-type-assignable
			class="com.vaadin.terminal.gwt.client.communication.GeneratedRpcMethodProvider" />
	</generate-with>

	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.ConnectorWidgetFactoryGenerator">
		<when-type-assignable
			class="com.vaadin.terminal.gwt.client.ui.ConnectorWidgetFactory" />
	</generate-with>

	<generate-with
		class="com.vaadin.terminal.gwt.widgetsetutils.ConnectorStateFactoryGenerator">
		<when-type-assignable
			class="com.vaadin.terminal.gwt.client.ui.ConnectorStateFactory" />
	</generate-with>

	<entry-point class="com.vaadin.terminal.gwt.client.ApplicationConfiguration" />

	<!-- Use the new cross site linker to get a nocache.js without document.write -->
	<add-linker name="xsiframe" />


</module>