Removing an Interface
The Remove command from the Interfaces menu enables you to remove (delete) an interface selected in the Interface List of the Interface Browser.
To remove an interface
-
In the Interface List of the Interface Browser, select the interface that you want to physically delete from the JADE database.
-
Select the Remove command from the Interfaces menu. If the interface has sub-interfaces, property references, or it is exported, an error message box is then displayed, advising you why you cannot delete the interface.
The Remove command is disabled when a method from an exported interface is checked out, so that neither the original method nor the checked out method or methods can be removed. Before you can remove the method, you must check it in or undo the checking out of the method.
When deleting an interface or an imported package with an interface, a warning message advises you of the number of classes implementing the interface. If the interface is not exported or it does not have sub-interfaces or property references, a message box is then displayed.
-
To confirm that you want to remove the interface and all of its constants, methods, and text, click the OK button. Alternatively, click the Cancel button to abandon the deletion.
When the removal of the interface is successful, the Interface Browser is then updated to reflect the deletion.
For details about deleting schema elements, see "Removing a Schema Element", in Chapter 3.