@Override
  protected void init(RestRequestInterface request) {
    addToTestCaseButton =
        createActionButton(
            SwingActionDelegate.createDelegate(
                AddRestRequestToTestCaseAction.SOAPUI_ACTION_ID,
                getRequest(),
                null,
                "/addToTestCase.gif"),
            true);

    super.init(request);
  }
 public void setEnabled(boolean enabled) {
   super.setEnabled(enabled);
   addToTestCaseButton.setEnabled(enabled);
 }