usecase: Delete network

public usecase: Delete network
Author: Lukáš Civín
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 5.12.2005 14:11:31; Modified: 5.12.2005 15:55:05;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {989F50CB-9835-47df-AE04-34D705846483}
Menu: BP network>Delete

Goto: Constraints, Scenarios

Extends: Memory operations

See also: Memory operations

Appears in: UC Network Administration

Delete network Constraint
Constraint Type Status Detail
Network is selected Pre-condition Approved
Delete network Scenarios
Scenario Type Detail
Confirm deleting Basic Path If deleting is available, the user have to confirm it by clicking "yes" in the dialog asking before deleting.
Delete network Basic Path To delete network from the memory, there are two necessary steps :
1. Delete the correct one (selected) from the linked list
2. Select the new one network as active one

1. - user has already selected a network (if there is none, this process does not start). So program has an index of network in the linked list. This network is separated from the list. Pointers are relinked.
2. - if there is a net available, program selects automatically the new one - at the same place in the list(index) or the last one.

Function Form1.MI_Delete_Click(...) and the functions among changing the selected item in the list of networks.