aboutsummaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin/Vaadin.gwt.xml
blob: 5a9909a29c5864280095aa1249aa2b4023e8b203 (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
<module>
	<!-- This GWT module inherits all Vaadin client side functionality modules. 
		This is the module you want to inherit in your client side project to be 
		able to use com.vaadin.* classes. -->

	<!-- 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.VaadinBrowserSpecificOverrides" />

	<source path="terminal/gwt/client" />
	<source path="shared" />

	<!-- 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.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.shared.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>
	
	<generate-with class="com.vaadin.terminal.gwt.widgetsetutils.ConnectorBundleLoaderFactory">
		<when-type-assignable class="com.vaadin.terminal.gwt.client.metadata.ConnectorBundleLoader" />
	</generate-with>

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

</module>