aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Migrate vaadin-server build to mavenTeemu Suo-Anttila2016-03-1416-3750/+0
| | | | Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
* Make project Java 8 compatibleArtur Signell2016-02-031-2/+3
| | | | Change-Id: I875e152b8851d7b962be47f369c1f6b483193260
* Write true boolean attibutes without ='' (#17583)Leif Åstrand2015-10-091-9/+13
| | | | | | Also add missing test for GridLayout alignments Change-Id: If553c9e254fb754cb020a63013bfcc9ecae3a056
* Update/add @since tags in javadocHenri Sara2015-10-071-1/+1
| | | | Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
* Rename DesignFormatter.unencodeFromTextNode to decodeFromTextNodeTeemu Suo-Anttila2015-10-071-2/+2
| | | | Change-Id: I9e20fa21ae2f503a8d34740fcef860c66b369c7b
* Add @since for 7.5.7 changesHenri Sara2015-10-042-3/+3
| | | | Change-Id: I253c6074167bae60149a5f2f0d22c6de160978d4
* Do not use getters/setters when mapping designer fields (#17388)Artur Signell2015-10-011-11/+12
| | | | Change-Id: I5c03beca2b5f00c6efb32980e5e5ddf36cc4f16a
* Clean up compiler warnings in Design.javaLeif Åstrand2015-09-291-64/+31
| | | | | | | | | * Remove unused code * Properly close streams * Avoid unsafe casts * Fix inconsistent javadocs Change-Id: I20e3664ab8b0fc9e3a8037fc05a469a4f8a633ec
* Use "vaadin-" as default prefix for Design (#18957)Henri Sara2015-09-282-18/+78
| | | | Change-Id: Ic9e0650e5c8e305258cbce033c4ef3f33307bf0f
* Support HTML entities when reading/writing declarative format #18882Maciej Przepióra2015-09-241-0/+51
| | | | Change-Id: I08099673c5dd0d688d3243e5fd169edb05f046f3
* Always use charset for String.getBytes() method (#18863).Denis Anisimov2015-09-151-2/+5
| | | | Change-Id: I15ce5a7922aebffc1a05ac55663033f7e5134d0c
* Write true as attribute="" (#17519)Leif Åstrand2015-06-221-1/+5
| | | Change-Id: I49287cc38605abb75059cb553e3baed2a8359067
* Fix font icon codepoint formatting in DesignResourceConverter (#17970)Maciej Przepióra2015-05-251-8/+5
| | | | | ResourceReference.getURL() is now used to ensure consistency. Change-Id: Ic204a826c093fc34af2be1e0e4e8a8dd4f820e09
* Report identifier if field binding fails (#17837)Artur Signell2015-05-131-3/+6
| | | | Change-Id: Ie3787792ab508adbf570d1a913ab49ec86924fbb
* Add missing @since for 7.5Leif Åstrand2015-05-121-1/+5
| | | | Change-Id: Id8f78c9ef7670c5413d3b7d28eef732dd1b7512d
* Updated all empty @since tags to be published in 7.5.0Pekka Hyvönen2015-05-113-12/+12
| | | | | | Removed invalid @since from MarginInfo. Change-Id: I7ad0dee47e8686c5cbca05ca1363ae8741642be8
* Fix for declarative FontIcon support (#17275)Johannes Dahlström2015-05-062-26/+168
| | | Change-Id: I5d61ed7003811f95bba4ded71937bb08742936c5
* Add getter for local id #17444John Ahlroos2015-04-131-0/+13
| | | | Change-Id: I0007bdf111bf516cb9e2f244b63fde42213f5c98
* Add DesignerAttributeHelper.readAttribute with default value (#17416)Teemu Suo-Anttila2015-04-081-29/+51
| | | | Change-Id: Ic746e761942c3d801c8e1c71bd5866bbd5daeaf4
* Allow setting local id via DesignContext (#16584).Mika Murtojarvi2015-04-081-5/+5
| | | | Change-Id: Ie599e8517823ca431d2d9e9232217db53444d7aa
* Fix declarative support for Window (#17314)Johannes Dahlström2015-04-071-22/+27
| | | | Change-Id: If89a46a4c08ec1491eb00a2f2b8580fb3ef785fc
* Add selective data write support to AbstractSelect (#17148)Leif Åstrand2015-04-072-0/+109
| | | | Change-Id: I06f82fe05f3b370af85538c0a85f2e60ee28d72d
* Allow customizing declarative tag names (#16933)Leif Åstrand2015-03-312-95/+247
| | | Change-Id: Icadaaab9166763e8e2086c6c114efd799ab580d6
* Fix declarative support for AbstractMedia (#16330 #16331 #16332)Miki2015-03-261-1/+2
| | | | | | | Also fixes HTTPS resource handling (#17267) Contains tests for both Audio and Video. Change-Id: Id4a7325f0d29f6857ff2236757b28b9eb911e39a
* Fix declarative support for MenuBar (#16328)Miki2015-03-261-3/+2
| | | Change-Id: Icd70a02aa8ffef9d1aca4b833ac23aeff5813771
* Fix Declarative support for BigDecimal properties (#17205)Johannes Dahlström2015-03-201-2/+13
| | | | Change-Id: I766172c125b7e771b4bc8e2db1f39d1ae828fea6
* Fix Declarative support for primitive float and double properties (#17204)Johannes Dahlström2015-03-202-11/+19
| | | | | | Also improve tests. Change-Id: I99e064c931770fb8af511ea5c8e2c7fc2da2464e
* Using ComponentFactory in DesignContext.getDefaultInstance() (#16990)Alexey Fansky2015-03-101-10/+11
| | | | Change-Id: I0bb3e7975f2b48cdc589de740cb07ac893b13461
* Add pluggable mechanism for loading classes for a design (#16583)Leif Åstrand2015-02-262-40/+124
| | | | Change-Id: I2ac17e3c5a7c36492567238af8f4cf6723b0ec69
* Declarative support for ProgressBar (#16316)Artur Signell2015-02-052-82/+15
| | | | Change-Id: I8c13b19218e0da936abdb0860d492a3d5a096aa7
* Declarative support for AbstractSelect (#15545)Artur Signell2015-02-052-0/+68
| | | | Change-Id: Ie66ee3f2b02ce7b6aa2edb66176bfbf5bdcd6c33
* Simplified declarative convertersArtur Signell2015-02-054-53/+233
| | | | | | | | * Removed shortcut interface * Moved TimeZone converter to a separate class * Moved Enum converter to a separate class Change-Id: I2b959e3a002e6319912212df4a62a3bd05677f80
* Use cache when reading declarative format (#16572)Artur Signell2015-02-041-2/+2
| | | | Change-Id: I313ff4e88e13a9c160a4717a40cb13352a30bd6b
* Use non-blocking Map implementation for caches (#16582)Leif Åstrand2015-02-044-19/+11
| | | | Change-Id: Id2d3bc317f6763480b2ef5ce71244f048c5cfc26
* Declarative for DateFields (and related) with ISO8601 (#16313)Miki2015-02-038-345/+1024
| | | | | | | | | | DesignAttributeHandler supports method names that contains some words in uppercase DesignAttributeHandler and other components now use extensible Formatter with Converters rather than static methods Change-Id: I9f68414bd4821f47ff37a26375091d154cae9a93
* Do not loop infinitely when encountering an invalid tag name (#16522)Artur Signell2015-01-291-19/+11
| | | | | | Also do not write to sysout Change-Id: Idae318a851323cd27b3363d12e8080101e996d9c
* Allow reading and writing empty designs (#7749).Mika Murtojarvi2014-12-182-12/+23
| | | | Change-Id: Id66201d040d07f0e0d731418624c9b702b2d0d3b
* Minor declarative API improvement (#7749)Artur Signell2014-12-181-26/+12
| | | Change-Id: Id5b11b27e7750085d30d2fa592b124ae474d6e9a
* API refactoring (#7749)declarativeArtur Signell2014-12-173-47/+41
| | | | Change-Id: I835756b240bc9ece885acdc8f43ec6a1599bb7c5
* Update the javadocs in declarative (#7749).Mika Murtojarvi2014-12-173-28/+39
| | | | Change-Id: If4fd1f0434c1c6d78e47fc503b49781c35494f84
* Add namespace element for custom components (#7749)Matti Hosio2014-12-171-1/+1
| | | | Change-Id: Iea7e4057df5a61805ba2f6c087fbb3bcd23f68c7
* Do not throw exception when trying to bind a preinitialized instance field ↵Matti Hosio2014-12-172-11/+13
| | | | | | (#7749) Change-Id: I8b40e667d03b63e05f006e7cedf108345591d118
* Updates for the javadocs of declarative (#7749).Mika Murtojarvi2014-12-175-88/+85
| | | | Change-Id: I623ba0c17673144f0886556937d25f80ea1f3ffd
* Generic cleanup (#7749)Artur Signell2014-12-161-0/+15
| | | Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a
* createNode -> createElementArtur Signell2014-12-152-2/+2
| | | | Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f
* Fix writing issues (#7749)Artur Signell2014-12-151-9/+54
| | | | | | | | | | | | | | | | * A root component with @DesignRoot must always use its superclass for default values. Otherwise the written design will be empty as the design is read in the constructor. * A component which is not the root must not write its component tree if the component tree is generated in the constructor. This is a simplification which should be good enough for most cases (can't add children in constructor and also using addComponent - in this case the component added with addComponent will not be written). * Test cases for nested templates Change-Id: I3a384d1d8654b9865a3a790ebeb055a300a62135
* Do not create default instances while reading designs (#7749)Artur Signell2014-12-151-15/+8
| | | | Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd
* SynchronizeFrom/ToDesign -> read/writeDesign (#7749)Artur Signell2014-12-151-13/+12
| | | | Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11
* Add public API for loading design based on @DesignRoot (#7749)Artur Signell2014-12-153-19/+152
| | | | Change-Id: Ic6f201a45d66aefe9ec93ba3be5a75b6532bf014
* Refactored API for loading designs (#7749)Artur Signell2014-12-152-65/+166
| | | | | | | | | | | | | Now contains read methods * Component read(InputStream design) * DesignContext read(InputStream design, Component rootComponent) * DesignContext read(String filename, Component rootComponent) and write methods * write(Component component, OutputStream outputStream) * write(DesignContext designContext, OutputStream outputStream) Change-Id: I9d6862240c5b2018ec39a164a54e7c047a00971b