This section details the necessary steps to delete an object. You can delete a module, interface, operation, parameter, struct, or element. After deletion, the object is gone. There is not a recycle bin in the Contract Repository, so if you inadvertently delete an object you must create a new one to replace it.
You cannot automatically delete an object that is dependent on (or used by) another object. If you attempt to delete an object that is in use in the Contract Repository, you receive an Alert message. The Alert message shows where the object is being used. When you click OK, the Alert window closes. So, before you close the Alert window, you may want to note where the object is being used. You cannot delete the object until you remove the dependency.
A module is the only object that does not have any dependencies.
To delete an object:
Or
Click on the Delete toolbar button.
Figure 3-27 Delete Module Window
Figure 3-28 Alert Window with Dependency Information
ADDRESS
element, cannot be deleted because it is
referenced by (or is dependent on) the OPEN_ACCT
operation. If you wish to
delete the object, you must remove the dependency by modifying the OPEN_ACCT
operation. In this case, you would need to remove the ADDRESS
element from
OPEN_ACCT
before proceeding with the delete. If you have to remove a
parameter, modify the operation and delete it using the Modify Operation
window.
For additional information, refer to the Modifying Objects section in this chapter.