forked from nicholas-ross/SSMS-Schema-Folders
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchemaFolderOptions.cs
34 lines (28 loc) · 1.33 KB
/
SchemaFolderOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Microsoft.VisualStudio.Shell;
using System.ComponentModel;
namespace SsmsSchemaFolders
{
public class SchemaFolderOptions : DialogPage, ISchemaFolderOptions
{
[Category("Active")]
[DisplayName("Enabled")]
[Description("Group sql objects in Object Explorer (tables, views, etc.) into schema folders.")]
public bool Enabled { get; set; } = true;
[Category("Folder Display Options")]
[DisplayName("Append Dot")]
[Description("Add a dot after the schema name on the folder label. ")]
public bool AppendDot { get; set; } = true;
[Category("Folder Display Options")]
[DisplayName("Clone Parent Node")]
[Description("Add the right click and connection properties of the parent node to the schema folder node.")]
public bool CloneParentNode { get; set; } = true;
[Category("Folder Display Options")]
[DisplayName("Use Object Icon")]
[Description("Use the icon of the last child node as the folder icon. If false then use the parent node (i.e. folder) icon.")]
public bool UseObjectIcon { get; set; } = true;
[Category("Object Display Options")]
[DisplayName("Rename Node")]
[Description("Remove the schema name from the object node.")]
public bool RenameNode { get; set; } = false;
}
}