model view drop down now support editable and not editable list (#1460)

* model view drop down now support editable and not editable list
This commit is contained in:
Leila Lali
2018-05-22 13:12:53 -07:00
committed by GitHub
parent 40db0d6f6f
commit 4bfc549927
3 changed files with 75 additions and 22 deletions

View File

@@ -265,6 +265,7 @@ declare module 'sqlops' {
export interface DropDownProperties {
value?: string;
values?: string[];
editable?: boolean;
}
export interface ButtonProperties {
@@ -292,7 +293,7 @@ declare module 'sqlops' {
onChanged: vscode.Event<any>;
}
export interface DropDownComponent extends Component {
export interface DropDownComponent extends Component, DropDownProperties {
value: string;
values: string[];
onValueChanged: vscode.Event<any>;
@@ -600,7 +601,7 @@ declare module 'sqlops' {
removePage(index: number): Thenable<void>;
/**
* Go to the page at the given index in the pages array.
* Go to the page at the given index in the pages array.
* @param index The index of the page to go to
*/
setCurrentPage(index: number): Thenable<void>;