src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.ts/TrustedUriHostColumnRenderer/renderElement
class TrustedUriHostColumnRenderer:	renderElement(item: ITrustedUriItem, index: number, templateData: ITrustedUriHostColumnTemplateData, height: number | undefined): void {
		templateData.renderDisposables.clear();
		templateData.renderDisposables.add({ dispose: () => { clearNode(templateData.buttonBarContainer); } });

		templateData.hostContainer.innerText = item.uri.authority ? this.labelService.getHostLabel(item.uri.scheme, item.uri.authority) : localize('localAuthority', "Local");
		templateData.element.classList.toggle('current-workspace-parent', item.parentOfWorkspaceItem);

		if (item.entryType === TrustedUriItemType.Add) {
			templateData.hostContainer.style.display = 'none';
			templateData.buttonBarContainer.style.display = '';

			const buttonBar = templateData.renderDisposables.add(new ButtonBar(templateData.buttonBarContainer));
			const addButton = templateData.renderDisposables.add(buttonBar.addButton({ title: localize('addButton', "Add Folder") }));
			addButton.label = localize('addButton', "Add Folder");

			templateData.renderDisposables.add(attachButtonStyler(addButton, this.themeService));

			templateData.renderDisposables.add(addButton.onDidClick(() => {
				this.table.edit(item);
			}));

			templateData.renderDisposables.add(this.table.onEdit(e => {
				if (item === e) {
					templateData.hostContainer.style.display = '';
					templateData.buttonBarContainer.style.display = 'none';
				}
			}));

			templateData.renderDisposables.add(this.table.onDidRejectEdit(e => {
				if (item === e) {
					templateData.hostContainer.style.display = 'none';
					templateData.buttonBarContainer.style.display = '';
				}
			}));
		} else {
			templateData.hostContainer.style.display = '';
			templateData.buttonBarContainer.style.display = 'none';
		}
	}