C# Class NetIde.Services.CommandManager.NiCommandManager

Exibir arquivo Open project: netide/netide Class Usage Examples

Public Methods

Method Description
CreateCommandBar ( System.Guid id, NiCommandBarKind kind, int priority, INiCommandBar &commandBar ) : HResult
CreateCommandBarButton ( System.Guid id, int priority, INiCommandBarButton &button ) : HResult
CreateCommandBarButton ( System.Guid id, int priority, string code, INiCommandBarButton &button ) : HResult
CreateCommandBarComboBox ( System.Guid id, System.Guid fillCommand, int priority, INiCommandBarComboBox &comboBox ) : HResult
CreateCommandBarGroup ( System.Guid id, int priority, INiCommandBarGroup &group ) : HResult
CreateCommandBarLabel ( System.Guid id, int priority, INiCommandBarLabel &label ) : HResult
CreateCommandBarPopup ( System.Guid id, int priority, INiCommandBarPopup &popup ) : HResult
CreateCommandBarTextBox ( System.Guid id, int priority, INiCommandBarTextBox &textBox ) : HResult
CreateCommandBarWindow ( System.Guid id, INiWindowPane &commandBar ) : HResult
Exec ( System.Guid command, object argument, object &result ) : HResult
FindCommandBar ( System.Guid id, INiCommandBar &commandBar ) : HResult
FindCommandBarControl ( System.Guid id, INiCommandBarControl &command ) : HResult
FindCommandBarGroup ( System.Guid id, INiCommandBarGroup &group ) : HResult
FindCommandBarPopup ( System.Guid id, INiCommandBarPopup &command ) : HResult
InitializeKeyboardMappings ( ) : void
LoadFromResources ( INiPackage package, IResource resource ) : void
LoadKeyboardMappings ( INiKeyboardMappings &mappings ) : HResult
NiCommandManager ( IServiceProvider serviceProvider ) : System
QueryStatus ( System.Guid command, NiCommandStatus &status ) : HResult
RegisterCommandTarget ( INiCommandTarget commandTarget, int &cookie ) : HResult
RegisterPriorityCommandTarget ( INiCommandTarget commandTarget, int &cookie ) : HResult
SaveKeyboardMappings ( INiKeyboardMappings mappings ) : HResult
UnregisterCommandTarget ( int cookie ) : HResult
UnregisterPriorityCommandTarget ( int cookie ) : HResult

Private Methods

Method Description
GetCommandTargets ( ) : IEnumerable

Method Details

CreateCommandBar() public method

public CreateCommandBar ( System.Guid id, NiCommandBarKind kind, int priority, INiCommandBar &commandBar ) : HResult
id System.Guid
kind NiCommandBarKind
priority int
commandBar INiCommandBar
return HResult

CreateCommandBarButton() public method

public CreateCommandBarButton ( System.Guid id, int priority, INiCommandBarButton &button ) : HResult
id System.Guid
priority int
button INiCommandBarButton
return HResult

CreateCommandBarButton() public method

public CreateCommandBarButton ( System.Guid id, int priority, string code, INiCommandBarButton &button ) : HResult
id System.Guid
priority int
code string
button INiCommandBarButton
return HResult

CreateCommandBarComboBox() public method

public CreateCommandBarComboBox ( System.Guid id, System.Guid fillCommand, int priority, INiCommandBarComboBox &comboBox ) : HResult
id System.Guid
fillCommand System.Guid
priority int
comboBox INiCommandBarComboBox
return HResult

CreateCommandBarGroup() public method

public CreateCommandBarGroup ( System.Guid id, int priority, INiCommandBarGroup &group ) : HResult
id System.Guid
priority int
group INiCommandBarGroup
return HResult

CreateCommandBarLabel() public method

public CreateCommandBarLabel ( System.Guid id, int priority, INiCommandBarLabel &label ) : HResult
id System.Guid
priority int
label INiCommandBarLabel
return HResult

CreateCommandBarPopup() public method

public CreateCommandBarPopup ( System.Guid id, int priority, INiCommandBarPopup &popup ) : HResult
id System.Guid
priority int
popup INiCommandBarPopup
return HResult

CreateCommandBarTextBox() public method

public CreateCommandBarTextBox ( System.Guid id, int priority, INiCommandBarTextBox &textBox ) : HResult
id System.Guid
priority int
textBox INiCommandBarTextBox
return HResult

CreateCommandBarWindow() public method

public CreateCommandBarWindow ( System.Guid id, INiWindowPane &commandBar ) : HResult
id System.Guid
commandBar INiWindowPane
return HResult

Exec() public method

public Exec ( System.Guid command, object argument, object &result ) : HResult
command System.Guid
argument object
result object
return HResult

FindCommandBar() public method

public FindCommandBar ( System.Guid id, INiCommandBar &commandBar ) : HResult
id System.Guid
commandBar INiCommandBar
return HResult

FindCommandBarControl() public method

public FindCommandBarControl ( System.Guid id, INiCommandBarControl &command ) : HResult
id System.Guid
command INiCommandBarControl
return HResult

FindCommandBarGroup() public method

public FindCommandBarGroup ( System.Guid id, INiCommandBarGroup &group ) : HResult
id System.Guid
group INiCommandBarGroup
return HResult

FindCommandBarPopup() public method

public FindCommandBarPopup ( System.Guid id, INiCommandBarPopup &command ) : HResult
id System.Guid
command INiCommandBarPopup
return HResult

InitializeKeyboardMappings() public method

public InitializeKeyboardMappings ( ) : void
return void

LoadFromResources() public method

public LoadFromResources ( INiPackage package, IResource resource ) : void
package INiPackage
resource IResource
return void

LoadKeyboardMappings() public method

public LoadKeyboardMappings ( INiKeyboardMappings &mappings ) : HResult
mappings INiKeyboardMappings
return HResult

NiCommandManager() public method

public NiCommandManager ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
return System

QueryStatus() public method

public QueryStatus ( System.Guid command, NiCommandStatus &status ) : HResult
command System.Guid
status NiCommandStatus
return HResult

RegisterCommandTarget() public method

public RegisterCommandTarget ( INiCommandTarget commandTarget, int &cookie ) : HResult
commandTarget INiCommandTarget
cookie int
return HResult

RegisterPriorityCommandTarget() public method

public RegisterPriorityCommandTarget ( INiCommandTarget commandTarget, int &cookie ) : HResult
commandTarget INiCommandTarget
cookie int
return HResult

SaveKeyboardMappings() public method

public SaveKeyboardMappings ( INiKeyboardMappings mappings ) : HResult
mappings INiKeyboardMappings
return HResult

UnregisterCommandTarget() public method

public UnregisterCommandTarget ( int cookie ) : HResult
cookie int
return HResult

UnregisterPriorityCommandTarget() public method

public UnregisterPriorityCommandTarget ( int cookie ) : HResult
cookie int
return HResult