code: public void addOptionPanel(AbstractParamPanel panel) {
          if (optionPanelList == null) {
              optionPanelList = createList();
          }
          optionPanelList.add(panel);
      }
docs: Adds the given {@link AbstractParamPanel} to the view hook, to be later added to the
  {@link org.parosproxy.paros.view.OptionsDialog Options dialogue}.
  
  @param panel the {@code AbstractParamPanel} that will be added to the Options dialogue.
  @see org.parosproxy.paros.view.View#getOptionsDialog(String)