mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
Add graph icons to OE and TD (#18808)
* add graph icons to OE and TD * PR comments * change enum type * change sub type to icon and make basic as default * changed icontype to icon * change default logic location * change icon name to be more generic * use right icons
This commit is contained in:
@@ -587,6 +587,7 @@ export function createAdsApiFactory(accessor: ServicesAccessor): IAdsExtensionAp
|
||||
TableIndexProperty: sqlExtHostTypes.designers.TableIndexProperty,
|
||||
TableIndexColumnSpecificationProperty: sqlExtHostTypes.designers.TableIndexColumnSpecificationProperty,
|
||||
DesignerEditType: sqlExtHostTypes.designers.DesignerEditType,
|
||||
TableIcon: sqlExtHostTypes.designers.TableIcon,
|
||||
openTableDesigner(providerId, tableInfo: azdata.designers.TableInfo, telemetryInfo?: ITelemetryEventProperties): Promise<void> {
|
||||
return extHostDataProvider.$openTableDesigner(providerId, tableInfo, telemetryInfo);
|
||||
}
|
||||
|
||||
@@ -544,6 +544,8 @@ export class SqlThemeIcon {
|
||||
static readonly ExternalTable = new SqlThemeIcon('ExternalTable');
|
||||
static readonly ColumnMasterKey = new SqlThemeIcon('ColumnMasterKey');
|
||||
static readonly ColumnEncryptionKey = new SqlThemeIcon('ColumnEncryptionKey');
|
||||
static readonly GraphEdge = new SqlThemeIcon('GraphEdge');
|
||||
static readonly GraphNode = new SqlThemeIcon('GraphNode');
|
||||
|
||||
public readonly id: string;
|
||||
|
||||
@@ -1014,4 +1016,11 @@ export namespace designers {
|
||||
Remove = 1,
|
||||
Update = 2
|
||||
}
|
||||
|
||||
export enum TableIcon {
|
||||
Basic = 'Basic',
|
||||
Temporal = 'Temporal',
|
||||
GraphEdge = 'GraphEdge',
|
||||
GraphNode = 'GraphNode'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user