src/vs/workbench/browser/parts/panel/panelPart.ts/PanelPart/fillExtraContextMenuActions
class PanelPart:	protected fillExtraContextMenuActions(actions: IAction[]): void {

		actions.push(...[
			new Separator(),
			...PositionPanelActionConfigs
				// show the contextual menu item if it is not in that position
				.filter(({ when }) => this.contextKeyService.contextMatchesRules(when))
				.map(({ id, title }) => this.instantiationService.createInstance(SetPanelPositionAction, id, title.value)),
			this.instantiationService.createInstance(TogglePanelAction, TogglePanelAction.ID, localize('hidePanel', "Hide Panel"))
		]);
	}