IntelliJ IDEA 15.0 Help

EJB ER diagram

An EJB ER diagram opens on a separate editor tab when you select ER Diagram in the context menu for a module in the EJB tool window.

Use this diagram to view entity beans defined in your module, and also to create and change relationships between them.


erDiagramIconShowGrid Click this button to show grid in the diagram background.
erDiagramIconSnapToGrid Click this button to align elements against the grid.
erDiagramIconZoomIn Click this button to increase the scale of the diagram.
erDiagramIconZoomOut Click this button to decrease the scale of the diagram.
erDiagramIconActualSize Click this button to restore the actual size of the diagram.
erDiagramIconFitContent Click this button to change the scale to make the contents fit into the current diagram size.
erDiagramIconApplyLayout Click this button to apply the current layout, selected on the context menu of the diagram.
exportToTextFile Click this button to save the diagram in an image file with the specified name and path. The possible formats are: jpeg, png and gif.
print Click this button to print the diagram.
printPreview Click this button to open the diagram preview in a separate frame, where you can configure the page layout, scale, and headings information.

Context menu

NewUse this node to add new EJBs to a module with the EJB facet and configure relationships between CMP Entity Beans.
LayoutChoose this command to select the desired layout from the list.
Show edge labelsChoose this command to show multiplicities of the relationship links in diagram.

See Also

Last modified: 5 November 2015