add todo to move into servcie

This commit is contained in:
Benjamin Pasero 2019-10-21 12:21:56 +02:00
parent 7f29065158
commit a46824c2e9

View file

@ -780,10 +780,6 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
return groupView;
}
createEditorDropTarget(container: HTMLElement, delegate: EditorDropTargetDelegate): IDisposable {
return this.instantiationService.createInstance(EditorDropTarget, this, container, delegate);
}
//#endregion
//#region Part
@ -1043,6 +1039,14 @@ export class EditorPart extends Part implements IEditorGroupsService, IEditorGro
type: Parts.EDITOR_PART
};
}
//#region TODO@matt this should move into some kind of service
createEditorDropTarget(container: HTMLElement, delegate: EditorDropTargetDelegate): IDisposable {
return this.instantiationService.createInstance(EditorDropTarget, this, container, delegate);
}
//#endregion
}
registerSingleton(IEditorGroupsService, EditorPart);