# Menu Reference

This Chapter is a quick reference of the commands found in Umbrello's menus.

## The File Menu

### New

Creates a new Model (new Document). If you have made changes to your current Model you will be asked if these should be saved before creating the new document.

### Open

Opens an existing file. If your current file has been modified, you will have the option of saving your document before opening the new file.

### Open Recent

Opens one of the most recently used documents. If there are any changes that need to be saved before loading the new document, you will have the option to do so.

### Save

Saves the current document to disk. If the file has not been saved before, you will have to specify a name and a path for the file.

### Save As...

Saves the current document under a different name or in a different location

### Close

Closes the current document. If the file needs to be saved you will have the option to do so before closing the document. When you close the current document Umbrello will automatically create a new, empty document

### Print

Prints the current diagram

### Quit

Exits the application. If the current document has been modified you have the option of saving your changes before terminating Umbrello

## The Edit Menu

### Cut

Cuts the currently selected objects and puts them into the clipboard.

### Copy

Copies the selected objects to the clipboard.

### Paste

Pastes the contents of the application clipboard

### Select All

Selects all the items in the current diagram

### Delete Selected

Removes the currently selected items from the Diagram.

## The Diagram Menu

### New

The New submenu allows you to create the different types of diagrams.

### Show

The Show submenu allows you to select one of your diagrams and makes it the active diagram.

### Clear Diagram

Clears (deletes) the contents of the active diagram.

### Snap to Grid

Aligns the elements in the active diagram to the grid.

### Show Grid

Shows the grid for the current diagram.

### Delete

Deletes the active diagram.

### Export as Picture...

Exports the active diagram as a PNG picture.

### Properties...

Shows the properties dialog for the active diagram.

## The Code Menu

### Import Classes...

Allows you to import classes from programming source code into your Model.

### Code Generation Wizard...

Shows a wizard to guide you through the process of Code Generation.

### Generate All Code

Immediately generates code for all classes in your Model, using the parameters configured in the Code Generation settings.

### Class Wizard...

Shows a wizard to guide you through the creation of new classes in your Model. The new classes will be added to your Model into the Tree View, but not to any diagram.

### Active Language

Allows you to select the active language, which will be used as default for Code Generation.

### Add/Remove Generation Languages...

Shows a dialog to add or remove languages found in your Code Generation plug-ins.

## The Settings Menu

### Show Toolbar

Shows or Hides the toolbar.

### Show Statusbar

Shows or Hides the statusbar.

### Show Documentation

Shows or hides the documentation window.

### Configure Umbrello...

Allows you configure many aspects of the application.

## The Help Menu

### Umbrello UML Modeller Handbook

Shows this user manual for Umbrello.

### What's this

Sets the mouse cursor to the What's this tool, with which you can get information of some elements in the user interface.

### Report bug

Gives you information about how to report a bug found in Umbrello.

### About Umbrello UML Modeller

Displays About information on Umbrello, including copying information.

### About KDE

Displays About information on KDE, the desktop environment Umbrello is designed for.