public void BindTo(EditorLogOutput logOutput) { this.Clear(); this.lastLogItemCount = 0; this.boundToLogOutput = logOutput; this.timerLogSchedule.Enabled = (this.boundToLogOutput != null); }
protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); this.logEntryList.BindTo(DualityEditorApp.GlobalLogData); this.logEntryList.ScrollToEnd(); EditorLogOutput logHistory = DualityEditorApp.GlobalLogData; this.unseenErrors = logHistory.ErrorCount; this.unseenWarnings = logHistory.WarningCount; this.UpdateTabText(); }