diff --git a/src/OneWare.ProjectExplorer/ViewModels/ProjectExplorerViewModel.cs b/src/OneWare.ProjectExplorer/ViewModels/ProjectExplorerViewModel.cs index 04f97503..4ab79962 100644 --- a/src/OneWare.ProjectExplorer/ViewModels/ProjectExplorerViewModel.cs +++ b/src/OneWare.ProjectExplorer/ViewModels/ProjectExplorerViewModel.cs @@ -801,7 +801,7 @@ public async Task OpenLastProjectsFileAsync() } } - public void RegisterContextMenu(Func, IEnumerable?> construct) + public void RegisterConstructContextMenu(Func, IEnumerable?> construct) { _registerContextMenu.Add(construct); } diff --git a/src/OneWare.Shared/Services/IProjectExplorerService.cs b/src/OneWare.Shared/Services/IProjectExplorerService.cs index 4858b7a5..d28081c0 100644 --- a/src/OneWare.Shared/Services/IProjectExplorerService.cs +++ b/src/OneWare.Shared/Services/IProjectExplorerService.cs @@ -28,5 +28,5 @@ public interface IProjectExplorerService : IDockable, INotifyPropertyChanged public Task SaveProjectAsync(IProjectRoot project); public Task SaveLastProjectsFileAsync(); public Task OpenLastProjectsFileAsync(); - public void RegisterContextMenu(Func, IEnumerable?> construct); + public void RegisterConstructContextMenu(Func, IEnumerable?> construct); } \ No newline at end of file diff --git a/src/OneWare.Vhdl/VhdlModule.cs b/src/OneWare.Vhdl/VhdlModule.cs index 0ca603bb..bdf58f16 100644 --- a/src/OneWare.Vhdl/VhdlModule.cs +++ b/src/OneWare.Vhdl/VhdlModule.cs @@ -22,7 +22,7 @@ public void OnInitialized(IContainerProvider containerProvider) containerProvider.Resolve().RegisterNodeProvider(new VhdlNodeProvider(), ".vhd", ".vhdl"); - containerProvider.Resolve().RegisterContextMenu(x => + containerProvider.Resolve().RegisterConstructContextMenu(x => { if (x.Count == 1 && x.First() is IProjectFile { Extension: ".vhd" or ".vhdl" }) {