How to listen to a self defined Event

Hi there, i just don’t get it. in one layout I fire A save Event and in another one i want to listen to it. The SaveEvent is always fired but how do i implement a listener to a generic event in the otheer layout?

The tutorial shows how to use events to listen events happening in its form. Maybe this helps? Create a form in Vaadin with data binding and validation.