C# Class NetIde.Shell.NiPackage

Inheritance: ServiceObject, INiPackage, INiPreMessageFilter
Show file Open project: netide/netide Class Usage Examples

Public Methods

Method Description
CreateToolWindow ( System.Guid guid, INiWindowPane &toolWindow ) : HResult
CreateToolWindow ( Type toolType ) : NiWindowPane
FindToolWindow ( Type toolType, bool create ) : NiWindowPane
GetNiResources ( IResource &value ) : HResult
GetSite ( IServiceProvider &serviceProvider ) : HResult
GetStringResource ( string key, string &value ) : HResult
Initialize ( ) : HResult
PreFilterMessage ( NiMessage &message ) : HResult
QueryClose ( bool &canClose ) : HResult
Register ( INiRegistrationContext registrationContext ) : HResult
SetSite ( IServiceProvider serviceProvider ) : HResult
Unregister ( INiRegistrationContext registrationContext ) : HResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void
NiPackage ( ) : System
OnPackageClosing ( CancelEventArgs e ) : void

Private Methods

Method Description
EnsureStringResources ( ) : void
GetService ( Type serviceType ) : object
RegisterEditorFactories ( ) : void
toolWindow_Closed ( object sender, EventArgs e ) : void

Method Details

CreateToolWindow() public method

public CreateToolWindow ( System.Guid guid, INiWindowPane &toolWindow ) : HResult
guid System.Guid
toolWindow INiWindowPane
return HResult

CreateToolWindow() public method

public CreateToolWindow ( Type toolType ) : NiWindowPane
toolType System.Type
return NiWindowPane

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FindToolWindow() public method

public FindToolWindow ( Type toolType, bool create ) : NiWindowPane
toolType System.Type
create bool
return NiWindowPane

GetNiResources() public method

public GetNiResources ( IResource &value ) : HResult
value IResource
return HResult

GetSite() public method

public GetSite ( IServiceProvider &serviceProvider ) : HResult
serviceProvider IServiceProvider
return HResult

GetStringResource() public method

public GetStringResource ( string key, string &value ) : HResult
key string
value string
return HResult

Initialize() public method

public Initialize ( ) : HResult
return HResult

NiPackage() protected method

protected NiPackage ( ) : System
return System

OnPackageClosing() protected method

protected OnPackageClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

PreFilterMessage() public method

public PreFilterMessage ( NiMessage &message ) : HResult
message NetIde.Shell.Interop.NiMessage
return HResult

QueryClose() public method

public QueryClose ( bool &canClose ) : HResult
canClose bool
return HResult

Register() public method

public Register ( INiRegistrationContext registrationContext ) : HResult
registrationContext INiRegistrationContext
return HResult

SetSite() public method

public SetSite ( IServiceProvider serviceProvider ) : HResult
serviceProvider IServiceProvider
return HResult

Unregister() public method

public Unregister ( INiRegistrationContext registrationContext ) : HResult
registrationContext INiRegistrationContext
return HResult