code: private ContextGeneralPanel getContextGeneralPanel(Context context) {
          for (AbstractParamPanel panel : contextPanels) {
              if (panel instanceof ContextGeneralPanel) {
                  ContextGeneralPanel contextGeneralPanel = (ContextGeneralPanel) panel;
                  if (contextGeneralPanel.getContextIndex() == context.getIndex()) {
                      return contextGeneralPanel;
                  }
              }
          }
          return null;
      }
docs: Gets the context general panel of the given {@code context}.
  
  @param context the context whose context general panel will be returned
  @return the {@code ContextGeneralPanel} of the given context, {@code null} if not found