Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Code Generated with Visual Designer
I would like to add some custom annotations to any component created with the visual designer (eclipse plugin).
But the problem is that if I add any annotation to the component an go to the design tab of the designer an return again to the source tab, my annotation disappeared, the designer regenerate all the components with the @Autogenerated annotation again but i lost my annotations.
Is posible to control this visual designer generation code??
Best regards
The current Eclipse back-end of the visual editor first removes all fields and methods marked with @AutoGenerated and then recreates them.
To change this behavior, you would need to modify the source code of the visual editor (the Eclipse integration part of the visual designer is here) and rebuild the plug-in.