Editing Packages

To edit packages:

  1. From the menubar, select Window > Show View > Properties.


  2. Select the element from either the UML Navigator or Diagram view.


  3. Edit the fields in the Properties view as necessary.

Showing Dependencies Between Packages

You can use a dependency link to show a dependency relationship between two packages.

For instructions on drawing dependency links see, Using Dependency Links.

Renaming Packages

To rename a package, choose one of the following methods:

Using in-place editing:

  1. In the Diagram view, double click the element's name to enable in-place editing.


  2. Enter the new name.


  3. Click Enter or click in the diagram to apply the changes.

NB: In-place editing quickly renames the package. This type of renaming is particularly useful for the Analysis and Design stages of a project.

Using the context menu:

  1. Right click on the element in either the UML Navigator or Diagram view.


  2. Select Rename from the context menu.


  3. Enter the new name.


  4. Click Enter or click in the diagram to apply the changes.

NB: The Rename dialog renames the package and refactors the change throughout the project. This type of renaming is useful for the Implementation stage of a project, when a package name change can often break code in other parts of the project.

Using the Properties view:

  1. From the menubar, select Window > Show View > Properties.


  2. Select the element in either the UML Navigator or Diagram view.


  3. Edit the name field in the Properties view.


  4. Press Enter or click in the UI to apply the changes.