/// <summary> /// Adds an context menu provider, that needs to be called whenever the methonds of this /// context menu provider are invoked. /// </summary> /// <param name="provider">Context menu provider.</param> public void AddInjectedContextMenuProvider(IModelTreeContextMenuProvider provider) { if (!this.injectedContextMenuProvider.Contains(provider)) { this.injectedContextMenuProvider.Add(provider); } }
/// <summary> /// Adds an context menu provider, that needs to be called whenever the methonds of this /// context menu provider are invoked. /// </summary> /// <param name="provider">Context menu provider.</param> public void AddInjectedContextMenuProvider(IModelTreeContextMenuProvider provider) { if (!this.injectedContextMenuProvider.Contains(provider)) { this.injectedContextMenuProvider.Add(provider); } }