Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RSSProvider

Feed provider for the treeview

Hierarchy

  • RSSProvider

Implements

  • TreeDataProvider<any>

Index

Constructors

constructor

Properties

Private _onDidChangeTreeData

_onDidChangeTreeData: EventEmitter<any> = new vscode.EventEmitter<any>()

config

config: IFeedConfig

onDidChangeTreeData

onDidChangeTreeData: Event<any> = this._onDidChangeTreeData.event

Methods

getChildren

  • getChildren(element?: any): Promise<Array<IEntry>>
  • Requests the configured feed for this objects view

    Parameters

    • Optional element: any

    Returns Promise<Array<IEntry>>

getTreeItem

  • getTreeItem(element: IEntry): TreeItem
  • Adds treeitems to the treeview with the primary command to open the link

    Parameters

    Returns TreeItem

refresh

  • refresh(): void