public static IMenuBarItem CreateParameterIdentification(MenuBarItemId menuBarItemId) { return(ParameterIdentificationContextMenuItems.CreateParameterIdentification() .WithCaption(MenuNames.CreateParameterIdentification) .WithId(menuBarItemId) .WithShortcut(Keys.Control | Keys.Alt | Keys.O)); }
public ParameterIdentificationFolderContextMenu(ITreeNode <RootNodeType> treeNode, IExplorerPresenter presenter) { _view.AddMenuItem(ParameterIdentificationContextMenuItems.CreateParameterIdentification()); _view.AddMenuItem(ClassificationCommonContextMenuItems.CreateClassificationUnderMenu(treeNode, presenter).AsGroupStarter()); _view.AddMenuItem(ClassificationCommonContextMenuItems.RemoveClassificationFolderMainMenu(treeNode, presenter)); }