Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RSSCProvider

Consolidated feed provider for the treeview

Hierarchy

  • RSSCProvider

Implements

  • TreeDataProvider<any>

Index

Constructors

constructor

Properties

Private _onDidChangeTreeData

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

feeds

feeds: Array<IFeedConfig>

onDidChangeTreeData

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

Methods

getChildren

  • getChildren(element?: any): Promise<Array<IEntry>>
  • Requests all feeds, concats them and sorts them by date. Returns one big list of feed items.

    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