C# Class Duality.Editor.Helpers.HierarchicalContextMenuBuilder

ファイルを表示 Open project: BraveSirAndrew/duality

Public Methods

Method Description
CreateHierarchicalContextMenuItemsFromTypes ( ToolStripMenuItem parentMenuItem, IEnumerable types, Image>.Func getNodeImageFunc, ToolStripItemClickedEventHandler clickEventHandler, IEditorCategoryProvider editorCategoryProvider, string>.Func getNameFunc = null ) : void

Private Methods

Method Description
InsertToolStripTypeItem ( System items, ToolStripItem newItem ) : void
ResetMenuToOriginalState ( ToolStripMenuItem parentMenuItem ) : void

Method Details

CreateHierarchicalContextMenuItemsFromTypes() public static method

public static CreateHierarchicalContextMenuItemsFromTypes ( ToolStripMenuItem parentMenuItem, IEnumerable types, Image>.Func getNodeImageFunc, ToolStripItemClickedEventHandler clickEventHandler, IEditorCategoryProvider editorCategoryProvider, string>.Func getNameFunc = null ) : void
parentMenuItem System.Windows.Forms.ToolStripMenuItem
types IEnumerable
getNodeImageFunc Image>.Func
clickEventHandler ToolStripItemClickedEventHandler
editorCategoryProvider IEditorCategoryProvider
getNameFunc string>.Func
return void