1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace MonoDevelop.Projects.Gui.Dialogs.OptionPanels {
13
internal partial class NamespaceSynchronisationPanelWidget {
15
private Gtk.VBox vbox2;
17
private Gtk.CheckButton checkAssociateNamespacesDirectories;
19
private Gtk.Alignment alignment1;
21
private Gtk.VBox namespaceAssociationBox;
23
private Gtk.CheckButton checkDefaultAsRoot;
25
private Gtk.HBox hbox1;
27
private Gtk.Label label1;
29
private Gtk.VBox vbox4;
31
private Gtk.RadioButton radioFlat;
33
private Gtk.RadioButton radioHierarch;
35
private Gtk.HBox hbox2;
37
private Gtk.Frame previewFrame;
39
private Gtk.Label GtkLabel6;
41
private Gtk.CheckButton checkVSStyleResourceNames;
43
private Gtk.Label label2;
45
protected virtual void Build() {
46
Stetic.Gui.Initialize(this);
47
// Widget MonoDevelop.Projects.Gui.Dialogs.OptionPanels.NamespaceSynchronisationPanelWidget
48
Stetic.BinContainer.Attach(this);
49
this.Name = "MonoDevelop.Projects.Gui.Dialogs.OptionPanels.NamespaceSynchronisationPanelWidget";
50
// Container child MonoDevelop.Projects.Gui.Dialogs.OptionPanels.NamespaceSynchronisationPanelWidget.Gtk.Container+ContainerChild
51
this.vbox2 = new Gtk.VBox();
52
this.vbox2.Name = "vbox2";
53
this.vbox2.Spacing = 12;
54
// Container child vbox2.Gtk.Box+BoxChild
55
this.checkAssociateNamespacesDirectories = new Gtk.CheckButton();
56
this.checkAssociateNamespacesDirectories.CanFocus = true;
57
this.checkAssociateNamespacesDirectories.Name = "checkAssociateNamespacesDirectories";
58
this.checkAssociateNamespacesDirectories.Label = MonoDevelop.Core.GettextCatalog.GetString("_Associate namespaces with directory names");
59
this.checkAssociateNamespacesDirectories.DrawIndicator = true;
60
this.checkAssociateNamespacesDirectories.UseUnderline = true;
61
this.vbox2.Add(this.checkAssociateNamespacesDirectories);
62
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.checkAssociateNamespacesDirectories]));
66
// Container child vbox2.Gtk.Box+BoxChild
67
this.alignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
68
this.alignment1.Name = "alignment1";
69
this.alignment1.LeftPadding = ((uint)(24));
70
// Container child alignment1.Gtk.Container+ContainerChild
71
this.namespaceAssociationBox = new Gtk.VBox();
72
this.namespaceAssociationBox.Name = "namespaceAssociationBox";
73
this.namespaceAssociationBox.Spacing = 12;
74
// Container child namespaceAssociationBox.Gtk.Box+BoxChild
75
this.checkDefaultAsRoot = new Gtk.CheckButton();
76
this.checkDefaultAsRoot.CanFocus = true;
77
this.checkDefaultAsRoot.Name = "checkDefaultAsRoot";
78
this.checkDefaultAsRoot.Label = MonoDevelop.Core.GettextCatalog.GetString("Use _default namespace as root");
79
this.checkDefaultAsRoot.DrawIndicator = true;
80
this.checkDefaultAsRoot.UseUnderline = true;
81
this.namespaceAssociationBox.Add(this.checkDefaultAsRoot);
82
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.namespaceAssociationBox[this.checkDefaultAsRoot]));
86
// Container child namespaceAssociationBox.Gtk.Box+BoxChild
87
this.hbox1 = new Gtk.HBox();
88
this.hbox1.Name = "hbox1";
89
this.hbox1.Spacing = 6;
90
// Container child hbox1.Gtk.Box+BoxChild
91
this.label1 = new Gtk.Label();
92
this.label1.Name = "label1";
93
this.label1.Xalign = 0F;
94
this.label1.Yalign = 0F;
95
this.label1.LabelProp = MonoDevelop.Core.GettextCatalog.GetString("Directory structure:");
96
this.hbox1.Add(this.label1);
97
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
101
// Container child hbox1.Gtk.Box+BoxChild
102
this.vbox4 = new Gtk.VBox();
103
this.vbox4.Name = "vbox4";
104
this.vbox4.Spacing = 6;
105
// Container child vbox4.Gtk.Box+BoxChild
106
this.radioFlat = new Gtk.RadioButton(MonoDevelop.Core.GettextCatalog.GetString("_Flat"));
107
this.radioFlat.CanFocus = true;
108
this.radioFlat.Name = "radioFlat";
109
this.radioFlat.DrawIndicator = true;
110
this.radioFlat.UseUnderline = true;
111
this.radioFlat.Group = new GLib.SList(System.IntPtr.Zero);
112
this.vbox4.Add(this.radioFlat);
113
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox4[this.radioFlat]));
117
// Container child vbox4.Gtk.Box+BoxChild
118
this.radioHierarch = new Gtk.RadioButton(MonoDevelop.Core.GettextCatalog.GetString("_Hierarchical"));
119
this.radioHierarch.CanFocus = true;
120
this.radioHierarch.Name = "radioHierarch";
121
this.radioHierarch.DrawIndicator = true;
122
this.radioHierarch.UseUnderline = true;
123
this.radioHierarch.Group = this.radioFlat.Group;
124
this.vbox4.Add(this.radioHierarch);
125
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox4[this.radioHierarch]));
129
this.hbox1.Add(this.vbox4);
130
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox4]));
132
this.namespaceAssociationBox.Add(this.hbox1);
133
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.namespaceAssociationBox[this.hbox1]));
137
// Container child namespaceAssociationBox.Gtk.Box+BoxChild
138
this.hbox2 = new Gtk.HBox();
139
this.hbox2.Name = "hbox2";
140
this.hbox2.Spacing = 6;
141
// Container child hbox2.Gtk.Box+BoxChild
142
this.previewFrame = new Gtk.Frame();
143
this.previewFrame.WidthRequest = 400;
144
this.previewFrame.Name = "previewFrame";
145
this.previewFrame.ShadowType = ((Gtk.ShadowType)(4));
146
this.GtkLabel6 = new Gtk.Label();
147
this.GtkLabel6.Name = "GtkLabel6";
148
this.GtkLabel6.LabelProp = MonoDevelop.Core.GettextCatalog.GetString("Preview");
149
this.previewFrame.LabelWidget = this.GtkLabel6;
150
this.hbox2.Add(this.previewFrame);
151
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox2[this.previewFrame]));
155
this.namespaceAssociationBox.Add(this.hbox2);
156
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.namespaceAssociationBox[this.hbox2]));
158
this.alignment1.Add(this.namespaceAssociationBox);
159
this.vbox2.Add(this.alignment1);
160
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
162
// Container child vbox2.Gtk.Box+BoxChild
163
this.checkVSStyleResourceNames = new Gtk.CheckButton();
164
this.checkVSStyleResourceNames.CanFocus = true;
165
this.checkVSStyleResourceNames.Name = "checkVSStyleResourceNames";
166
this.checkVSStyleResourceNames.Label = MonoDevelop.Core.GettextCatalog.GetString("<b>Use _Visual Studio-style resource names</b>\nVisual Studio generates a default ID for embedded resources,\ninstead of simply using the resource's filename.");
167
this.checkVSStyleResourceNames.DrawIndicator = true;
168
this.checkVSStyleResourceNames.UseUnderline = true;
169
this.checkVSStyleResourceNames.Remove(this.checkVSStyleResourceNames.Child);
170
// Container child checkVSStyleResourceNames.Gtk.Container+ContainerChild
171
this.label2 = new Gtk.Label();
172
this.label2.Name = "label2";
173
this.label2.LabelProp = MonoDevelop.Core.GettextCatalog.GetString("<b>Use _Visual Studio-style resource names</b>\nVisual Studio generates a default ID for embedded resources, instead of simply using the resource's filename.");
174
this.label2.UseMarkup = true;
175
this.label2.UseUnderline = true;
176
this.label2.Wrap = true;
177
this.checkVSStyleResourceNames.Add(this.label2);
178
this.vbox2.Add(this.checkVSStyleResourceNames);
179
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.checkVSStyleResourceNames]));
183
this.Add(this.vbox2);
184
if ((this.Child != null)) {
185
this.Child.ShowAll();
188
this.checkVSStyleResourceNames.Toggled += new System.EventHandler(this.UpdatePolicyNameList);