mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 01:25:38 -05:00
Added editor to table designer (#17576)
* format doc * correct class name * set content * remove mssql commands * merge classes * code refactoring and bug fixing * remove unnecessary class * handle promise Co-authored-by: Alan Ren <alanren@microsoft.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { PanelTabIdentifier } from 'sql/base/browser/ui/panel/panel';
|
||||
import { Dimension } from 'vs/base/browser/dom';
|
||||
import { Event } from 'vs/base/common/event';
|
||||
|
||||
export interface DesignerComponentInput {
|
||||
@@ -208,12 +209,13 @@ export interface DesignerTextEditor {
|
||||
* Gets or sets the content of the text editor
|
||||
*/
|
||||
content: string;
|
||||
/**
|
||||
* Gets or sets a boolean value indicating whether the editor is readonly
|
||||
*/
|
||||
readonly: boolean;
|
||||
/**
|
||||
* Event fired when the content is changed by user
|
||||
*/
|
||||
readonly onDidContentChange: Event<string>;
|
||||
|
||||
/**
|
||||
* Update the size of the editor
|
||||
*/
|
||||
layout(dimensions: Dimension): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user