When you have finished defining the Vegetable class, you click right > save in the lower half of the class-hierarchy browser.
Vegetable