Ahmed Ashour
01c93a6aef
Use lambda with Listeners (#10222)
Also use "event" as the name for events
6 years ago
Ahmed Ashour
0f4702c6d1
Add spaces after 'if' and 'for' in JavaScript (#10199)
* Add spaces after 'if' and 'for' in JavaScript
* Revert to old format
* Remove whitespaces
6 years ago
Ahmed Ashour
7065740d6d
Use interface instead of implementation (#10073)
6 years ago
Ahmed Ashour
867006d2f8
Use String.isEmpty() (#10045)
6 years ago
Ahmed Ashour
5558b8768b
Use interface not Implementation, as method parameter
6 years ago
Teemu Suo-Anttila
ff52c42738
Fix ComponentLocator with inherited classes without custom connector (#9176)
Logic for finding elements corresponding a server-side classname does
not work with inherited classes. For example making MyGrid extends Grid,
you could not find the specific MyGrid, but only the common Grid.
In most cases this is not a problem since these components are usually
the only instance of said superclass, but the Composite introduced in
the same UI, which makes testing them impossible.
This patch adds the specific classname information for ServerConnectors
that can be used to find the correct connector instance.
7 years ago
Leif Åstrand
c21c5526b1
Fix js state partial updates (#8695)
* Fix partial state change handling of JavaScript components
In ace0e324b6
(Use diffstate for JS connectors)
partial state change handling for JavaScript components was introduced, but the
setNativeState method in JavaScriptConnectorHelper was not adjusted.
By removing the cleanup code from the updateNativeState method it can
be ensured that the non-changed properties are still present on the state object.
* Add test for preserving untouched JS state fields
7 years ago
Artur
8fca887996
Support for defining the root element for Javascript components (#8143)
Fixes #7005
7 years ago
Leif Åstrand
95d016c085
Global java code cleanup using Eclipse Neon.1
7 years ago
Artur Signell
504b3c4c65
Use diamond operator where it can be used
Does not modify compatibility packages to keep to closer to Vaadin 7.7
Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
7 years ago
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 years ago
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 years ago
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 years ago
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
8 years ago
Artur Signell
2e8d06f89b
Separate server message handling to its own class (#11733)
Change-Id: Ic4342171ecbdae4b6e6075fa9ed6d4eebe399a87
9 years ago
Artur Signell
bd2c31d14c
Separate server RPC queue to its own class (#11733)
Change-Id: Ib810406801305cd23a943a4e468610896d166958
9 years ago
Teemu Suo-Anttila
7278279b09
Make public getLogger functions private (#17645)
Change-Id: Ic5cb52a522039fbcbcbf0349cedd81e8eae2f6a1
9 years ago
Artur Signell
718eb3e49a
VConsole logging -> java.util.logging
Change-Id: Id1b04e1335f0906f8de2d514ff11bc744dc14c49
9 years ago
Leif Åstrand
61430e669b
Update JS renderer to work with latest grid branch (#15485)
* Cope with createRenderer not being run deferred
* Update test to not assume there's a selection column
Change-Id: Ic6f053d2ef76d7227eb9ca00b960629e34ae380c
9 years ago
Leif Åstrand
5102cc98c2
Implement JavaScript renderer support (#15485)
Change-Id: Ifeac12d4124a4a7e5d0c143ff5c0590a2c98509d
9 years ago
Artur Signell
44d34f59c0
Move elemental json dependency to DWS (#15544)
Change-Id: I1b525e4d8df60f8e36bad9e5054d948da5b34813
9 years ago
Artur Signell
bf8836bb56
Separate pure client side util methods to a new class (#15553, #15544)
* Deprecated old methods in Util for backwards compatibility
Change-Id: I9de5e6b930d9f2c0268967dc7b1cf465e6310280
9 years ago
Leif Åstrand
fd62b6efe8
replace com.google.gwt.json.* usages with elemental.json.* (#8942)
Change-Id: I745b12685be4696fd8f1158005bf731f35ae8a81
9 years ago
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
10 years ago
Leif Åstrand
e7201fd308
Allow using element resize listeners from javascript connectors (#11996)
Change-Id: I97b280c2e260752be87ce85d2eda81ec4f14d4fe
11 years ago
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 years ago
Leif Åstrand
098eec1de7
Use JavaScriptMethodInvocation to detect js invocations (#10549)
Change-Id: Ib5c1f5c55f101ef51418b44dcfc9b4278f3ec313
11 years ago
Leif Åstrand
62eff6b816
Allow JavaScriptConnectors to get unRegister events (#9292)
Change-Id: Ie9e11810df6484e34d3895be175d6a180911252f
11 years ago
Artur Signell
bfbfdd51a0
Renamed com.vaadin.terminal.gwt.client to com.vaadin.client (#9432)
11 years ago
Leif Åstrand
890356e6ab
Support @Delayable and change window size update to use it (#8421)
11 years ago
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
12 years ago
Artur Signell
14dd4d0b28
Moved client files to a client src folder (#9299)
12 years ago
Leif Åstrand
454f44738b
Revert "Run JavaScript RPC with this pointing to the connector wrapper (#9096)"
This reverts commit ab2846641b
.
This fixes #9280
12 years ago
Leif Åstrand
20af2f5623
Support getting translated urls in javascript (#9209)
12 years ago
Leif Åstrand
7f75d0f4cf
Move classes common to client and server to com.vaadin.shared.* (#8934)
12 years ago
Leif Åstrand
3604bf01de
Add Java 6 @Override annotations to all methods from interfaces
12 years ago
Leif Åstrand
ab2846641b
Run JavaScript RPC with this pointing to the connector wrapper (#9096)
12 years ago
Leif Åstrand
b9b9c2dcd6
Rename getWidgetElement() -> getElement() (#8888)
12 years ago
Artur Signell
a90ab25c53
Formatted all source files
12 years ago
Leif Åstrand
ae2a42dd03
Add API for getting the parent connector's id (#8888)
12 years ago
Leif Åstrand
1cf98eca5d
Add support for getting the dom element for any connector id (#8888)
12 years ago
Leif Åstrand
cbf51da8e7
Properly pass arguments from the server to the callbacks (#8888)
12 years ago
Leif Åstrand
45dc5a3ae9
Add StateChangeHandler in init to come after component handler (#8888)
12 years ago
Leif Åstrand
4525595697
Add missing $entry
12 years ago
Leif Åstrand
51ce4a2535
Implement js rpc proxy objects and wildcard rpc support (#8888)
12 years ago
Leif Åstrand
72c0f66e2a
Use callbacks directly as fields in connector object (#8888)
12 years ago
Leif Åstrand
755adc2731
Rename Javascript -> JavaScript
12 years ago
Leif Åstrand
d44e06fc50
JavascriptManager -> JavaScript and changes based on review (#6730)
12 years ago
Leif Åstrand
8c60fbdc78
Fix typo
12 years ago
Leif Åstrand
12b3fde4e0
Change api to use callback instead or rpc for js callbacks (#8888)
Also change JavascriptCallback.call to throw JSONException
12 years ago