/**
   * Update the tooltips. Note: we can only do this when the panel is parented, since the
   * ToolTipHelpers functions need a Graphics context to make font size calculations. A graphics
   * context is only available once a component has been parented.
   *
   * @param polymorphicVarContext used to toString() the TypeExpr of the arguments
   */
  public void refreshDisplay(PolymorphicVarContext polymorphicVarContext) {

    for (final ArgumentEditorPanel editorPanel : editorPanels) {
      editorPanel.refreshDisplay(polymorphicVarContext);
    }

    DataConstructor dataConstructor = getDataConstructor();
    titleLabel.setToolTipText(
        ToolTipHelpers.getEntityToolTip(
            dataConstructor, namingPolicy, parentEditor.valueEditorManager.getWorkspace(), this));
  }