Table Designer - Save Changes feature and Editor related features (#17335)

* table designer add/remove row support

* save changes and editor support

* address comments

* fix build error

* including missing change

* lower case request name
This commit is contained in:
Alan Ren
2021-10-11 15:09:25 -07:00
committed by GitHub
parent e5f50499ce
commit ce4459a7b2
23 changed files with 495 additions and 90 deletions

View File

@@ -512,11 +512,15 @@ export class MainThreadDataProtocol extends Disposable implements MainThreadData
$registerTableDesignerProvider(providerId: string, handle: number): Promise<any> {
const self = this;
this._tableDesignerService.registerProvider(providerId, <azdata.designers.TableDesignerProvider>{
providerId: providerId,
getTableDesignerInfo(tableInfo: azdata.designers.TableInfo): Thenable<azdata.designers.TableDesignerInfo> {
return self._proxy.$getTableDesignerInfo(handle, tableInfo);
},
processTableEdit(table, data, edit): Thenable<azdata.designers.DesignerEditResult> {
return self._proxy.$processTableDesignerEdit(handle, table, data, edit);
},
saveTable(tableInfo: azdata.designers.TableInfo, data: azdata.designers.DesignerData): Thenable<void> {
return self._proxy.$saveTable(handle, tableInfo, data);
}
});