Prev Next

Create Element From Document

Whilst you can set up hyperlinks from the linked document to existing elements and diagrams in the Project Browser, you can also create new elements to illustrate and support information written in the linked document. You can create and link to any type of element or diagram, but the facility has specific options for these element types:

  • Class
  • Requirement
  • Issue

The element or diagram is created in the same Package as the element for which the linked document was created. A hyperlink is automatically created in the document to the new object. When you click on the hyperlink, the element or diagram is highlighted in the Project Browser.

Create element or diagram

Step

Action

See also

1

Open the linked document in the model element or Document Artifact element.

Document Artifacts Create Linked Document on an Element

2

Enter or select the appropriate text to act as the hyperlink text (such as the element or diagram name).

Highlight this text and right-click on it; the 'Editor' context menu displays.

3

Select the 'Create | New' menu option, and one of the submenu options. If you select the:

  • 'Class', 'Requirement' or 'Issue' option, the corresponding element is immediately created in the Project Browser
  • 'Other' option, the 'New Element' dialog displays; specify the element type and - if appropriate - stereotype, and click on the Create button
  • 'Diagram' option, the 'New Diagram' dialog displays; specify the diagram type and click on the OK button
New Elements New Diagrams

4

The highlighted text is now a hyperlink to the new object in the Project Browser. Click on the link to highlight the object.

You can now edit or expand the element or diagram as required.

Learn more