private void ApplyFilter(ListCtrl.Row row) { ListCtrl.Item mainItem = row.GetMainItem(); EventLogger.EventLog eventLog = mainItem.Data as EventLogger.EventLog; row.Visible = IsVisible(eventLog); }
private void OnDblClickEvent(ListCtrl.Row row) { ListCtrl.Item mainItem = row.GetMainItem(); eventLog = mainItem.Data as EventLogger.EventLog; if (eventLog != null && eventLog.locationList != null && eventLog.locationList.Count >= 0) { GotoEventLog(eventLog.locationList[0]); } }
private void OnRightClickEvent(ListCtrl.Row row) { ListCtrl.Item mainItem = row.GetMainItem(); eventLog = mainItem.Data as EventLogger.EventLog; TextEditor te = new TextEditor(); te.text = eventLog.message; te.OnFocus(); te.Copy(); }
private void OnDblClickScene(ListCtrl.Row row) { //if (EditorApplication.SaveCurrentSceneIfUserWantsTo()) if (EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo()) { string scenePath = (string)row.GetMainItem().Data; //EditorApplication.OpenScene(scenePath); EditorSceneManager.OpenScene(scenePath); if (closeAfterOpenScene) { Close(); } } }
private void OnClickScene(ListCtrl.Row row) { selectScenePath = (string)row.GetMainItem().Data; }
private void OnClickEvent(ListCtrl.Row row) { ListCtrl.Item mainItem = row.GetMainItem(); eventLog = mainItem.Data as EventLogger.EventLog; }