IntelliJ IDEA 14.0.0 Web Help

Creating Node Elements and Members

You can populate your model with node elements  (classes, interfaces and enumerations),  and delete them from diagram, or from your project. When a node element is created in a UML Class diagram, the corresponding stub file is created in the current package.

In a similar way, IntelliJ IDEA helps create members  (fields, methods, or constructors)  in the node elements.

It is also possible to clarify the contents of diagrams with notes, which are created same way.

To create a node element in a UML class diagram

  1. Do one of the following:
    • Right-click the diagram background, or a package where a new node element should be created. Next, on the context menu, point to New , and choose element type from the submenu.
    • Press Alt+Insert, and choose element type from the pop-up frame.
  2. Specify the element name, or type the contents of a note, and click OK.

To create a member in a node element

  1. Select a node element in a diagram.
  2. Do one of the following:
    • On the context menu of the selection, point to New , and then choose the member type on the submenu.
    • Press Alt+Insert, and choose member type from the pop-up frame.
  3. Depending on the selected member type  (field, constant, method, or constructor),  specify the member name and the other parameters. See preliminary results in the Preview pane of each dialog.

See Also

Last modified: 4 December 2014
comments powered by Disqus