diff options
author | Anastasia Smirnova <anasmi@utu.fi> | 2018-12-17 14:01:33 +0200 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-12-17 14:01:33 +0200 |
commit | febddda0578c8185e0c4c0f613f250490e0503a2 (patch) | |
tree | 333aefdf833d365f35df1cd7300c3739b86f81a5 /documentation/gwt/gwt-extension.asciidoc | |
parent | ccb1c45a6a85e1fe6d0497d8b9bafc130a01ca92 (diff) | |
download | vaadin-framework-febddda0578c8185e0c4c0f613f250490e0503a2.tar.gz vaadin-framework-febddda0578c8185e0c4c0f613f250490e0503a2.zip |
Add missing [source, java] to the java code blocks in documentation (#11381)
* Update clientsideapp-entrypoint.asciidoc
Adding missing ```[source, java]```
Diffstat (limited to 'documentation/gwt/gwt-extension.asciidoc')
-rw-r--r-- | documentation/gwt/gwt-extension.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/gwt/gwt-extension.asciidoc b/documentation/gwt/gwt-extension.asciidoc index cf3162fa39..4e9fdec48a 100644 --- a/documentation/gwt/gwt-extension.asciidoc +++ b/documentation/gwt/gwt-extension.asciidoc @@ -34,7 +34,7 @@ extended component or UI as a parameter and passes it to __super.extend()__. For example, let us have a trivial example with an extension that takes no special parameters, and illustrates the three alternative APIs: - +[source,java] ---- public class CapsLockWarning extends AbstractExtension { // You could pass it in the constructor @@ -56,7 +56,7 @@ public class CapsLockWarning extends AbstractExtension { The extension could then be added to a component as follows: - +[source,java] ---- PasswordField password = new PasswordField("Give it"); @@ -96,7 +96,7 @@ In the following example, we implement a "Caps Lock warning" extension. It listens for changes in Caps Lock state and displays a floating warning element over the extended component if the Caps Lock is on. - +[source,java] ---- @Connect(CapsLockWarning.class) public class CapsLockWarningConnector |