UNPKG

monaco-editor-core

Version:

A browser based code editor

23 lines (22 loc) 852 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ export class TreeViewsDnDService { constructor() { this._dragOperations = new Map(); } removeDragOperationTransfer(uuid) { if ((uuid && this._dragOperations.has(uuid))) { const operation = this._dragOperations.get(uuid); this._dragOperations.delete(uuid); return operation; } return undefined; } } export class DraggedTreeItemsIdentifier { constructor(identifier) { this.identifier = identifier; } }