How to modify an association
If the association is 1-to-1 and is owner:
- If the type of the target semel is "expression", "initializer", or "type", then you can click "Copy". A duplicate of the target semel will be added to the respective clipboard.
- If the target semel is delete-able (i.e. is not used), then you can click "Delete". This will delete every semel owned directly or indirectly by the target semel. The target semel will be set to nullptr.
- If there is a target semel (i.e. it is not nullptr), then you can click "Navigate". The target semel will be displayed on the screen.
- If you click "New", then a popup menu will give you all of the available choices. If there is already a target semel, then it will be deleted.
- If the type of the target semel is "expression", "initializer", or "type", then you can click "Paste". A popup menu will give you all of the available choices in the clipboard. If there is already a target semel, then it will be deleted.
If the association is 1-to-1 and is non-owner:
- You can click "Change". A popup menu will give you all of the available choices.
- You can click "Navigate". The target semel will be displayed on the screen.
- You can click "Remove". The target semel will not be deleted. The target semel will be set to nullptr.
If the association is 1-to-many and is owner:
- Select a target semel. If the type of the target semel is "expression", "initializer", or "type", then you can click "Copy". A duplicate of the target semel will be added to the respective clipboard.
- Select a target semel. If you click "Clone", then a duplicate of the target semel will be added at the end (i.e. the highest index) of the association.
- Select a target semel. If the target semel is delete-able (i.e. is not used), then you can click "Delete". This will delete every semel owned directly or indirectly by the target semel. Every target semel after that will have its index decremented by 1. The multiplicity of the association will be decremented by 1.
- Select a target semel. If you click "Move", then a popup will ask you to input an index. The target semel will move to that index. Every target semel after that will have its index incremented by 1.
- Select a target semel. If you click "Navigate", then the target semel will be displayed on the screen.
- If you click "New", then a popup menu will give you all of the available choices. The new target semel will be added at the end (i.e. the highest index) of the association.
- If the type of the target semel is "expression", "initializer", or "type", then you can click "Paste". A popup menu will give you all of the available choices in the clipboard. The new target semel will be added at the end (i.e. the highest index) of the association.
If the association is 1-to-many and is non-owner:
- You can click "Add". A popup menu will give you all of the available choices. The new target semel will be added to the end (i.e. the highest index) of the association.
- Select a target semel. If you click "Move", then a popup will ask you to input an index. The target semel will move to that index. Every target semel after that will have its index incremented by 1.
- Select a target semel. If you click "Navigate", then the target semel will be displayed on the screen.
- Select a target semel. If you click "Remove", then the target semel will not be deleted, and every target semel after that will have its index decremented by 1. The multiplicity of the association will be decremented by 1.