Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScmHistoryContribution

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly options

options: ViewContributionOptions

Protected Readonly quickView

quickView: QuickViewService

Protected Readonly scmService

scmService: ScmService

Protected Readonly selectionService

selectionService: SelectionService

Protected Readonly shell

shell: ApplicationShell

Optional Readonly toggleCommand

toggleCommand: Command

Protected Readonly widgetManager

widgetManager: WidgetManager

Accessors

defaultViewOptions

  • get defaultViewOptions(): WidgetOptions
  • Returns WidgetOptions

viewId

  • get viewId(): string
  • Returns string

viewLabel

  • get viewLabel(): string
  • Returns string

widget

  • get widget(): Promise<T>
  • Returns Promise<T>

Methods

closeView

  • Returns Promise<undefined | ScmHistoryWidget>

Protected newUriAwareCommandHandler

  • newUriAwareCommandHandler(handler: UriCommandHandler<default>): UriAwareCommandHandler<default>

openView

Protected refreshWidget

  • refreshWidget(uri: undefined | string): Promise<void>

registerCommands

  • registerCommands(commands: CommandRegistry): void

registerKeybindings

  • registerKeybindings(keybindings: KeybindingRegistry): void
  • Parameters

    • keybindings: KeybindingRegistry

    Returns void

registerMenus

  • registerMenus(menus: MenuModelRegistry): void

toggleView

  • Returns Promise<ScmHistoryWidget>

tryGetWidget

  • Returns undefined | ScmHistoryWidget