/// <summary>
    /// renders a section for found errors in the inspector
    /// </summary>
    /// <param name="theTarget">the currently displayed data object</param>
    public static void RenderInspectorErrorChecking(KGFMessageList theMessageList)
    {
//		KGFGUIUtility.BeginVerticalBox(KGFGUIUtility.eStyleBox.eBoxMiddleVertical, GUILayout.ExpandWidth(true));
        {
            if (theMessageList != null)
            {
                // render infos
                bool aShowOK = true;

                KGFGUIUtility.BeginVerticalBox(KGFGUIUtility.eStyleBox.eBoxInvisible, GUILayout.ExpandWidth(true));
                {
                    #region render info

                    /*
                     * string[] aInfoList = aMessageList.GetInfoArray();
                     *
                     * if (aInfoList.Length > 0)
                     * {
                     *      aShowOK = false;
                     *
                     *      foreach (string aMessage in aInfoList)
                     *      {
                     *              RenderWarning(aMessage);
                     *      }
                     * }
                     */

                    #endregion

                    #region render errors
                    string[] anErrorList = theMessageList.GetErrorArray();
                    if (anErrorList.Length > 0)
                    {
                        aShowOK = false;

                        foreach (string aMessage in anErrorList)
                        {
                            RenderError(aMessage);
                        }
                    }
                    #endregion

                    #region render warnings
                    anErrorList = theMessageList.GetWarningArray();
                    if (anErrorList.Length > 0)
                    {
                        aShowOK = false;
                        foreach (string aMessage in anErrorList)
                        {
                            RenderWarning(aMessage);
                        }
                    }
                    #endregion

                    if (aShowOK)
                    {
                        RenderOK();
                    }
                }
                KGFGUIUtility.EndVerticalBox();
            }
            else
            {
                RenderError("the module doesn`t implement the KGFIValidator interface");
            }
        }
//		KGFGUIUtility.EndVerticalBox();
    }