The Designer team is pleased to announce the availability of the Designer 2.2 for Framework 8 and Designer 1.4 for Framework 7 for Eclipse and Intellij.
Provide a way to access exported component through a getter
Often you find yourself in a situation where you’d like to have access to an exported component from different package or another project module. In previous versions, it could be done only by extending the companion class and providing explicit access to its components, since by default they have protected access.
In the new version it’s possible to enable a project-wide preference, which will enable getters generation for exported components in all newly created designs. By default this setting is disabled.
In case you would like to change it later you can configure getters generation per design file by pressing cogwheel button in the editor toolbar.
For more information about companion class and components export the Vaadin Designer documentation about wiring is a great places to start.
Feedback welcome
Any feedback suggestions and bug reports are more than welcome at Vaadin Designer Github. You can also send feedback to the team through the feedback button in the Designer toolbar.
If you still haven't, get started with Vaadin Designer today!