Integrate notebook service with notebook UI (#3143)

Port notebookView code over to notebook.component.ts.
Integrate loading of notebook contents into the UI
This commit is contained in:
Kevin Cunnane
2018-11-06 16:31:37 -08:00
committed by GitHub
parent 5da89ac05b
commit ecd40de7ec
13 changed files with 168 additions and 43 deletions

View File

@@ -55,7 +55,7 @@ export function convertEditorInput(input: EditorInput, options: IQueryEditorOpti
if(uri){
//TODO: We need to pass in notebook data either through notebook input or notebook service
let fileName: string = input? input.getName() : 'untitled';
let notebookInputModel = new NotebookInputModel(uri, undefined, undefined);
let notebookInputModel = new NotebookInputModel(uri, undefined, false, undefined);
//TO DO: Second paramter has to be the content.
let notebookInput: NotebookInput = instantiationService.createInstance(NotebookInput, fileName, notebookInputModel);
return notebookInput;