- Timestamp:
- 06/06/16 19:39:43 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/GenealogyGraphChart.cs
r13426 r13877 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 67 67 return; 68 68 SelectedVisualNode = GetMappedNode(value); 69 UpdateSelectedVisualNode(); 70 } 71 } 72 69 RedrawLineages(); 70 } 71 } 73 72 private void Clear() { 74 73 nodeMap = new Dictionary<IGenealogyGraphNode, VisualGenealogyGraphNode>(); … … 179 178 if (primitive != null && primitive != SelectedVisualNode) { 180 179 SelectedVisualNode = (VisualGenealogyGraphNode)primitive; 181 UpdateSelectedVisualNode(); // redraw ancestries, mark node etc. 180 RedrawLineages(); // redraw ancestries, mark node etc. 181 182 if (SelectedVisualNode != null) 183 OnGenealogyGraphNodeClicked(SelectedVisualNode, null); // emit clicked event 182 184 } 183 185 } … … 185 187 } 186 188 187 private void UpdateSelectedVisualNode() {189 private void RedrawLineages() { 188 190 if (!LockGenealogy) { 189 191 // new node has been selected, clean up … … 206 208 // update 207 209 ResumeRendering(); 208 209 if (SelectedVisualNode != null)210 OnGenealogyGraphNodeClicked(SelectedVisualNode, null); // emit clicked event211 210 } 212 211 #endregion
Note: See TracChangeset
for help on using the changeset viewer.