Exemple #1
0
 public override void ClearContent()
 {
     base.ClearContent();
     if (this.importExportEditor != null)
     {
         this.RemovePropertyEditor(this.importExportEditor);
         this.importExportEditor.Dispose();
         this.importExportEditor = null;
     }
     this.UnregisterGlobalEvents();
 }
 public override void ClearContent()
 {
     base.ClearContent();
     if (this.importExportEditor != null)
     {
         this.RemovePropertyEditor(this.importExportEditor);
         this.importExportEditor.Dispose();
         this.importExportEditor = null;
     }
     this.UnregisterGlobalEvents();
 }
Exemple #3
0
 public override void InitContent()
 {
     base.InitContent();
     if (this.importExportEditor == null)
     {
         this.importExportEditor            = new ResourceImportExportPropertyEditor();
         this.importExportEditor.EditedType = this.EditedType;                 // Needs to match so the forwarded getter's safety check passes
         this.importExportEditor.Getter     = this.GetValue;
         this.importExportEditor.Setter     = this.SetValues;
         this.AddPropertyEditor(this.importExportEditor);
     }
     this.RegisterGlobalEvents();
 }
 public override void InitContent()
 {
     base.InitContent();
     if (this.importExportEditor == null)
     {
         this.importExportEditor = new ResourceImportExportPropertyEditor();
         this.importExportEditor.EditedType = this.EditedType; // Needs to match so the forwarded getter's safety check passes
         this.importExportEditor.Getter = this.GetValue;
         this.importExportEditor.Setter = this.SetValues;
         this.AddPropertyEditor(this.importExportEditor);
     }
     this.RegisterGlobalEvents();
 }