IToolWindowProvider Interface

Definition

Provides a way to expose tool windows.

public interface IToolWindowProvider
type IToolWindowProvider = interface
Public Interface IToolWindowProvider

Remarks

Implemented automatically by the extension in response to declaring a tool window.

Methods

CreateToolWindowAsync(String, CancellationToken)

Creates and initializes the tool window associated with the given identifier.

GetTitleAsync(String, CancellationToken)

Gets the title of the tool window associated with the given identifier.

OnHideAsync(String, CancellationToken)

Notifies that the tool window associated with the given identifier is being hidden.

OnShowAsync(String, CancellationToken)

Notifies that the tool window associated with the given identifier is being shown.

SubscribeAsync(IObserver<ToolWindowPropertyChangedArgs>, CancellationToken)

Attaches an observer that receives updates about tool window property changes.

Applies to