protected void PaintConditionsTab() { if (this.conditionListEditor == null) { this.conditionListEditor = (IConditionsListEditor)IConditionsListEditor.CreateEditor( this.spConditionList.objectReferenceValue, typeof(IConditionsListEditor) ); } if (this.conditionListEditor != null) { this.conditionListEditor.OnInspectorGUI(); } }