# Component view

A component view may contains components and component diagrams in any order :

## Menus

The menu appearing with a right mouse click on a component view in the browser is something like this, supposing it is not read-only nor deleted :

### Menu : edit

The stereotype of a component view doesn't have a special meaning for BOUML.

The editor button visible above and associated here to the description, allows to edit the description in an other window, or to call an external editor (for instance Xcoral) specified through the environment variable BOUML_EDITOR. Note that this external editor have to create an own window, its parameter is the pathname of the file containing the description, its execution is done in parallel with BOUML which looks each second at the file contents to get the new definition until the dialog is closed (I do not like very much this polling but this works even QT isn't compiled with the thread support).

### Menu : edit drawing settings

This dialog allows to specify how the component diagrams must be drawn by default.

### Menu : delete

The menu entry delete is only present when the class view is not read-only.

Delete the component view and all its children, and all the representation of them in the opened diagrams. After that it is possible to undelete them (from the browser) until you close the project : obviously the deleted items are not saved !

### Menu : mark

See mark

### Menu : tools

The menu entry tool not present above is present in case at least a plug-out may be applied on the component view.

Previous : class view

Next : deployment view