public void NotifyNodeChanged(INode node) { var path = node.Parent?.Path ?? new TreePath(); NodesChanged?.Invoke(this, new TreeModelEventArgs(path, new object[] { node })); Changed?.Invoke(this, EventArgs.Empty); }
#pragma warning restore 67 public void OnNodeChanged(Node parent, int index, Node node) { if (parent != null) { TreePath path = GetPath(parent); if (path != null) { NodesChanged?.Invoke(this, new TreeModelEventArgs(path, new[] { index }, new object[] { node })); } } }
public override void OnNodesChanged(ITabularObject nodeItem) { if (UpdateLocks > 0) { nodeChangedItemsCount++; return; } else { var path = GetPath(nodeItem); NodesChanged?.Invoke(this, new TreeModelEventArgs(path, new object[] { })); } }
void DebuggerSettings_PropertyChanged(object sender, PropertyChangedEventArgs e) { switch (e.PropertyName) { case nameof(DebuggerSettings.SortParameters): case nameof(DebuggerSettings.SortLocals): case nameof(DebuggerSettings.GroupParametersAndLocalsTogether): case nameof(DebuggerSettings.ShowCompilerGeneratedVariables): case nameof(DebuggerSettings.ShowDecompilerGeneratedVariables): NodesChanged?.Invoke(this, EventArgs.Empty); break; } }
void RefreshNodes_UI() { uiDispatcher.VerifyAccess(); var info = TryGetLanguage(); if (info.language != language) { language = info.language; LanguageChanged?.Invoke(this, EventArgs.Empty); } bool newIsReadOnly = info.frame == null; NodesChanged?.Invoke(this, EventArgs.Empty); SetIsReadOnly_UI(newIsReadOnly); }
internal void OnNodesChanged(TreeModelEventArgs args) { NodesChanged?.Invoke(this, args); }
void DbgObjectIdService_ObjectIdsChanged(object sender, EventArgs e) => NodesChanged?.Invoke(this, EventArgs.Empty);
protected internal override void ChildHasChanged(BaseNode child) { NodesChanged?.Invoke(this); }
protected void OnNodesChanged() { NodesChanged?.Invoke(this, new EventArgs()); }