aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/MenuBar.java
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range (#12507)Anna Koskinen2022-01-111-1/+1
|
* Update copyright year range. (#12215)Anna Koskinen2021-03-041-1/+1
| | | | * Update copyright year range.
* Update release note and since tag (#11386)Sun Zhe2018-12-201-2/+2
| | | | * Some formatting changes
* Improve VMenuBar click handling logic (#11356)Anastasia Smirnova2018-12-171-0/+22
| | | | | | | | | | | | | | | * Improve VMenuBar click handling logic During `updateFromUIDL` inside MenuBarConnector we empty and re-instantiate the components of MenuBar. When we are modifying the Menubar from the BlurEventListener of another component, we ,by this, remove widgets, therefore clickEvent is not fired and the action of the MenuItem is not proceed as a result. (The BlurEvent is fired before the click event in the chain of events. ) To improve the situation, we catch onMouseDown event , which is fired before BlurEvent,by assigning mouseDown flag to true. Then if no click event has yet happened, we delay the execution of update inside `updateFromUIDL` by default 500 ms. Then if click event occurs, it proceeds normally. The time can be increased/decreased using setter. There is no delay, if we are clicking on the MenuBar as usual or no Blur listener is set. This change allows setting descriptions * Remove accidentally committed comment * Don't update the state on the getDelayMs call
* Enable Maven plugin for Eclipse formatting (#10829)Ilia Motornyi2018-04-191-6/+10
|
* Update empty since tags for 8.4 and 8.3.3 (#10786)Ilia Motornyi2018-04-041-3/+3
|
* Support starting downloads and opening URLs from a menu item (#10478)Artur2018-03-281-1/+56
|
* Update copyright year (#10761)Ilia Motornyi2018-03-271-1/+1
|
* Rename contentMode to descriptionContentMode in MenuItem (#10494)Leif Åstrand2018-01-081-13/+15
|
* Add missing since tags and JavaDocs (#10487)8.3.0.alpha1Teemu Suo-Anttila2018-01-031-2/+2
|
* Add ContentMode for the description of MenuItems (#9984)Jonas Zipprick2017-12-291-4/+65
| | | | | Adds the ability to set the content mode for the description of a menu item that is part of a menu bar. This functionality was already available for every AbstractComponent but missing for the menu items of menu bars. If no content mode is specified it defaults to the PREFORMATED content mode.
* First sentence of javadoc should end with a period (#10114)Ahmed Ashour2017-10-021-5/+5
| | | Also includes minor other javadoc and formatting fixes.
* Use enhanced for loop instead of Iterator. (#10100)Ahmed Ashour2017-09-291-7/+4
|
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-211-4/+4
| | | Also includes some other minor cleanup.
* Use String.isEmpty() (#10045)Ahmed Ashour2017-09-211-1/+1
|
* Partial javadocs fix for vaadin-serverIlia Motornyi2017-01-021-2/+1
|
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-201-2/+2
|
* Add @FunctionalInterface annotation to interfaces where applicable (#7954)Aleksi Hietanen2016-12-121-0/+1
| | | Closes vaadin/framework8-issues#548
* Replace Stack with DequePer-Åke Minborg2016-11-051-6/+7
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722a
* Remove JavaDoc mentions of RepaintRequestEvent (#19953)Leif Åstrand2016-10-281-2/+1
| | | | Change-Id: Ief1191b34018e6049c8d20d341150c0b9804f621
* Introduce "shouldWriteDefaultValues" property to DesignContext.Denis Anisimov2016-10-261-12/+14
| | | | Change-Id: I979448e5af032333a6a2f7b99b11ab16c41d7b18
* Use diamond operator where it can be usedArtur Signell2016-09-051-5/+5
| | | | | | Does not modify compatibility packages to keep to closer to Vaadin 7.7 Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
* Update copyright year to 2016Artur Signell2016-08-181-1/+1
| | | | Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
* Remove trailing whitespace from code and javadocArtur Signell2016-08-181-51/+51
| | | | Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
* Format using Eclipse NeonArtur Signell2016-08-181-19/+21
| | | | Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
* Migrate vaadin-server build to mavenTeemu Suo-Anttila2016-03-141-0/+1090
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e