IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

In this section:

Basics

You can invoke UML class diagram from different places:

  • From the various tool windows.
  • From the Navigation bar.
  • From the Structure tool window.
  • From the editor.

IntelliJ IDEA displays UML diagrams in two modes:

  • In a pop-up window.
  • In a separate editor tab.

Opening diagram

To open a UML class diagram
  1. Select the desired item, or open it in the editor.
  2. Do one of the following:
    • On the context menu of the selection, click Diagram, and on the submenu, select the way you want to view the model: Show Diagram or Show Diagram Pop-up.
    • Press Ctrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UCtrl+Shift+Alt+UShift Alt Command UShift Alt Command UShift Alt Command U or Ctrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UAlt Command UAlt Command UAlt Command U.

The diagram is displayed in the editor tab or in the pop-up window:

umlClassDiagram.png
Click thumbnail to view larger image.

Tip

You can open UML class diagram without using your pointing device. Consider such workflow: press Alt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeCommand Up or Alt HomeAlt HomeAlt Command B, then press Ctrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UAlt Command UAlt Command UAlt Command U.

Tip

It is possible to view a UML class diagram of a Java package. Just select a Java package in the Project tool window, and press Ctrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UCtrl+Alt+UAlt Command UAlt Command UAlt Command U:

package_diagram

See Also

Language and Framework-Specific Guidelines:

Reference:

Web Resources: