src/vs/workbench/contrib/files/browser/fileActions.ts/BaseSaveAllAction/registerListeners
class BaseSaveAllAction:	private registerListeners(): void {

		// update enablement based on working copy changes
		this._register(this.workingCopyService.onDidChangeDirty(workingCopy => this.updateEnablement(workingCopy)));
	}