Multi-user atomic units
Adding elements
When adding elements, you must carry out a check-out on the embedding element.
To save the new element, you should simply carry out a check-in on the embedding element. The check-in on the new element may be directly accepted, but an "Undo check-out" without import on the parent is forbidden.
Deleting elements
To delete model elements, the standard Objecteering delete command should be used.
Warning! This deletion can only be run on an element that has been reserved through a check-out, or on element whose embedding element has been reserved through a check-out.
Destroying a referenced element
With regard to element references, the behavior of the teamwork MDAC being used differs from that of the explorer. We therefore recommend against the use of MDAC commands on references. The sequences below should be respected according to their context.
To delete a referenced element, both the element itself and its parent must be in read-write mode.
1. First run the check-out command on the package to which a reference is associated.
2. Delete the referenced element using the classic Objecteering "Delete" command (available through the "Edit/Delete" menu or via the "Delete" keyboard key).
3. Run the check-in command on the package to which a reference was associated.
Renaming elements
The renaming of elements is an operation that is carried out on reserved elements (elements in check-out).
After a renaming operation, we recommend that all those involved carry out an "Import element using current mode" on a package encompassing all impacted elements, on the first level package or on the entire project, in order to update all the local model's links.
When "circular" renaming is to be carried out (for example, if you have two classes, C1 and C2, and you wish to change the names of these classes from C1 to C2 and from C2 to C1), the following operations should be carried out:
· Check-out C1 and C2.
· Change the name of C2 to xC2.
· Change the name of C1 to C2.
· Change the name of xC2 to C1.
· Check-in C2 and xC2.
Moving elements
When an element is moved, the embedding origin and destination element must be reserved. To retain references to the element that is moved, the drag & drop operation should be used, and not the cut/paste or the copy/paste operations.
After moving an element, we recommend that all those involved carry out an "Import element using current mode" on a package encompassing all impacted elements, on the first level package or on the entire project, in order to update all the local model's links.
Adding and modifying diagrams
Bearing in mind that diagrams are associated with model elements, the element in question must be reserved (check-out) before the creation or modification of any diagram.