This chapter provides instructions for developing the graphical user interface of Vaadin components with the Vaadin Plugin for the Eclipse IDE.

The visual designer feature in the Vaadin Plugin for Eclipse allows you to design the user interface of an entire application or of specific composite components. The plugin generates the actual Java code, which is designed to be reusable, so you can design the basic layout of the user interface with the visual designer and build the user interaction logic on top of the generated code. You can use inheritance and composition to modify the components further.

The designer works with classes that extend the CustomComponent class, which is the basic technique in Vaadin for creating composite components. Component composition is described in Section 5.23, “Component Composition with CustomComponent. Any CustomComponent will not do for the visual designer; you need to create a new one as instructed below.

For instructions on installing the Eclipse plugin, see Section 2.2.1, “Vaadin Plugin for Eclipse”.