10.6. Context Sensitive Menu

Button 2 Click over any selected artifact in the main area of the explorer will cause a pop-up menu to appear.

10.6.1. Add to Diagram

This entry on the pop-up menu appears for any artifact that could be added to the diagram in the editing pane. Usually, this would be the diagram currently displayed in editing pane, or it could be a diagram in a “spawned” window (see Section 11.2.2, “Button 1 Double Click” for an explantion of how to do this).

The item can be placed in a diagram by moving the cursor to the editing pane or a spawned editing pane window (where it will appear as a cross) and clicking button 1.

[Caution]Caution

This menu entry only appears as not grayed out, when the artifact is not present in the diagram in the editor pane, while it is allowed to be put there. Hence, it is only possible to place an artifact on a spawned diagram, if the Add to Diagram function would also work on the diagram in the editor pane.

[Caution]Caution

A separate known limitation is that the V0.14 release of ArgoUML will not let you place more than one copy of any particular artifact on a diagram.

10.6.2.  Delete From Model

This entry on the pop-up menu appears for any artifact that could be deleted from the model.

[Warning]Warning

This deletes the artifact from the model completely, not just from the diagram. To remove the artifact just from the diagram, use the edit menu (see Section 9.4.5, “Remove From Diagram”).

[Caution]Caution

You can delete a diagram from the model. Depending on the type of diagram, that might delete all artifacts shown on the diagram. To illustrate the differences, consider the following examples:

  • Deleting a class diagram does not delete any artifact drawn on it. All artifacts that were shown on the diagram remain present in the model.

  • Deleting a statechart diagram also deletes the statemachine it represents, and hence also all the artifacts owned by the statemachine.

10.6.3. Set Source Path… (To be written)

This entry on the pop-up menu ...

10.6.4. Add Package

This entry on the pop-up menu is available whenever an artifact is selected that may contain a package, e.g. a package. After activating this menu the artifact will own a new package.

10.6.5. Properties

This entry on the pop-up menu causes the properties tab of the selected artifact or diagram to be displayed in the details pane.

The use of this function is limited , since the same effect can be obtained by clicking on the tab for the properties in the details pane directly. Besides, ArgoUML V0.14 always downlights this menu-item.