Linking UML model elements to external files

In a UML model, you can link a model element to an external file, such as a document or an image file. This link is useful if you want to provide more information about a model element.

About this task

To link a model element to an external file:

Procedure

  1. In the Project Explorer view, right-click a model element; then click Add UML > URL.
  2. In the URL Input Dialog window, specify the file or URL that you want to link to the model element, or click Browse and select the file.
  3. Optional: To ensure that the external file is accessible in a team environment, select the Use relative path representation check box. You can also select Use workspace path to convert the URL of a local file (such as ../myProject/myFile.txt) to a workspace path URL (such as platform:/resource/myProject/myFIle.txt).
  4. Click OK.

What to do next

Tip: To open the linked file, in the Project Explorer view, double-click the URL.

Feedback