Checking Out a Method

Use the Check Out command from the Methods menu Delta submenu in the Class Browser or Primitive Types Browser to check out the method selected in the Methods List.

Methods can be checked out only when a delta is set.

To check out a method

  1. In the Methods List of the Class Browser or Primitive Types Browser, select the method that you want to check out.

  2. Select the Check Out command from the Methods menu Delta submenu. The CheckOut Options dialog, shown in the following image, is then displayed.

  3. If you do not want to check out only the selected method, select the required option; that is, check out the selected method and all references, local implementors, or both references and local implementors.

  4. If you want to check out the method so that it cannot be updated by other users who are set to the current delta, check the Exclusive Check Out check box.

    By default, any user set to the current delta can update a checked out method.

  5. Click the OK button. Alternatively, click the Cancel button to abandon your selection.

The selected method (and references or local implementors, if applicable) is then checked out. The status line states that the method is checked out and the method is locked to all other developers until you check it back in.

When a method is checked out, more than one developer can access that method by setting to the same delta.

The Check Out command is then disabled for the selected method until the method is checked in or the Undo Checkout command is selected.