A URL is a stereotyped comment object that you can use
to navigate to a specified URL, file system element, or an element
in the workspace. A URL has a type property as a further specialization
of the URL. The traceability feature treats URLs as specifications.
Procedure
- In the Project Explorer view, right-click an element; then
click . You can add a URL from in the Palette, under UML Common, click URL and click in the diagram editor.
- Specify a URL by typing one, browsing to a file, or browsing
the workspace.
- Optional: Type a display name for the URL.
Tip: By default, URL image is displayed in the UML
link on a diagram. To display the name of the URL instead of the image,
go to , and then select Show URL link. Now, you can create a URL link on the
diagram, set the URL path to local image file, and show the display
name on the diagram.
- Optional: Specify a type for the URL.
- Optional: Specify an icon for the URL.
- Click OK.
Tip: To navigate to a link from an element, in the diagram editor, right-click
the element and click . The element that was
referenced in the element link is selected in the Project Explorer
view.
What to do next
To add URLs to elements from the Properties window, on the
Documentation page, click the
Add Link icon
(

).