C# Class _3PA.MainFeatures.AppliMenu

This class handle the Main context menu (and its children) It also has knownledge of the shortcuts for each item in the menu
Inheritance: IDisposable
Mostrar archivo Open project: jcaillon/3P Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ForceCloseMenu ( ) : void

Closes the visible menu (if any)

ShowDatabaseToolsMenuAtCursor ( ) : void
ShowEditCodeMenuAtCursor ( ) : void
ShowEnvMenuAtCursor ( ) : void
ShowGenerateCodeMenuAtCursor ( ) : void
ShowMainMenuAtCursor ( ) : void
ShowMenuAtCursor ( List menuList, string menuTitle, string menuLogo = "logo16x16", int minSize = 180 ) : void

Show a given menu

ShowMiscMenuAtCursor ( ) : void

Private Methods

Method Description
AppliMenu ( ) : System
DisableItemIfNeeded ( List list ) : List

Allows to disable the items in a list depending on the conditions (item must be generic or we must be on a progress file to Enable)

RebuildSwitchEnvMenu ( ) : void

Called when an environement is modified/add or simply switched, rebuilds the environment menu

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ForceCloseMenu() public static method

Closes the visible menu (if any)
public static ForceCloseMenu ( ) : void
return void

ShowDatabaseToolsMenuAtCursor() public static method

public static ShowDatabaseToolsMenuAtCursor ( ) : void
return void

ShowEditCodeMenuAtCursor() public static method

public static ShowEditCodeMenuAtCursor ( ) : void
return void

ShowEnvMenuAtCursor() public static method

public static ShowEnvMenuAtCursor ( ) : void
return void

ShowGenerateCodeMenuAtCursor() public static method

public static ShowGenerateCodeMenuAtCursor ( ) : void
return void

ShowMainMenuAtCursor() public static method

public static ShowMainMenuAtCursor ( ) : void
return void

ShowMenuAtCursor() public static method

Show a given menu
public static ShowMenuAtCursor ( List menuList, string menuTitle, string menuLogo = "logo16x16", int minSize = 180 ) : void
menuList List
menuTitle string
menuLogo string
minSize int
return void

ShowMiscMenuAtCursor() public static method

public static ShowMiscMenuAtCursor ( ) : void
return void