src/vs/workbench/browser/parts/views/treeView.ts/TreeMenus/getResourceActions
class TreeMenus:	getResourceActions(element: ITreeItem): { menu?: IMenu; actions: IAction[] } {
		const actions = this.getActions(MenuId.ViewItemContext, element, true);
		return { menu: actions.menu, actions: actions.primary };
	}