2
// This file has been generated by the GUI designer. Do not modify.
3
namespace MonoDevelop.Ide.Projects
5
public partial class ApplyPolicyDialog
7
private global::Gtk.VBox vbox3;
8
private global::Gtk.RadioButton radioCustom;
9
private global::Gtk.Alignment boxCustom;
10
private global::Gtk.HBox hbox1;
11
private global::Gtk.Label label2;
12
private global::Gtk.ComboBox combPolicies;
13
private global::Gtk.RadioButton radioFile;
14
private global::Gtk.Alignment boxFile;
15
private global::Gtk.HBox hbox2;
16
private global::Gtk.Label label3;
17
private global::MonoDevelop.Components.FileEntry fileEntry;
18
private global::Gtk.HSeparator hseparator1;
19
private global::Gtk.Label labelChangesTitle;
20
private global::Gtk.Label labelChanges;
21
private global::Gtk.Button buttonCancel;
22
private global::Gtk.Button buttonOk;
24
protected virtual void Build ()
26
global::Stetic.Gui.Initialize (this);
27
// Widget MonoDevelop.Ide.Projects.ApplyPolicyDialog
28
this.Name = "MonoDevelop.Ide.Projects.ApplyPolicyDialog";
29
this.Title = global::MonoDevelop.Core.GettextCatalog.GetString ("Apply Policies");
30
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
31
// Internal child MonoDevelop.Ide.Projects.ApplyPolicyDialog.VBox
32
global::Gtk.VBox w1 = this.VBox;
33
w1.Name = "dialog1_VBox";
34
w1.BorderWidth = ((uint)(2));
35
// Container child dialog1_VBox.Gtk.Box+BoxChild
36
this.vbox3 = new global::Gtk.VBox ();
37
this.vbox3.Name = "vbox3";
38
this.vbox3.Spacing = 6;
39
this.vbox3.BorderWidth = ((uint)(12));
40
// Container child vbox3.Gtk.Box+BoxChild
41
this.radioCustom = new global::Gtk.RadioButton (global::MonoDevelop.Core.GettextCatalog.GetString ("Apply stock or custom policy set"));
42
this.radioCustom.CanFocus = true;
43
this.radioCustom.Name = "radioCustom";
44
this.radioCustom.DrawIndicator = true;
45
this.radioCustom.UseUnderline = true;
46
this.radioCustom.Group = new global::GLib.SList (global::System.IntPtr.Zero);
47
this.vbox3.Add (this.radioCustom);
48
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.radioCustom]));
52
// Container child vbox3.Gtk.Box+BoxChild
53
this.boxCustom = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
54
this.boxCustom.Name = "boxCustom";
55
this.boxCustom.LeftPadding = ((uint)(42));
56
// Container child boxCustom.Gtk.Container+ContainerChild
57
this.hbox1 = new global::Gtk.HBox ();
58
this.hbox1.Name = "hbox1";
59
this.hbox1.Spacing = 6;
60
// Container child hbox1.Gtk.Box+BoxChild
61
this.label2 = new global::Gtk.Label ();
62
this.label2.Name = "label2";
63
this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Policy:");
64
this.hbox1.Add (this.label2);
65
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2]));
69
// Container child hbox1.Gtk.Box+BoxChild
70
this.combPolicies = global::Gtk.ComboBox.NewText ();
71
this.combPolicies.Name = "combPolicies";
72
this.hbox1.Add (this.combPolicies);
73
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.combPolicies]));
77
this.boxCustom.Add (this.hbox1);
78
this.vbox3.Add (this.boxCustom);
79
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.boxCustom]));
83
// Container child vbox3.Gtk.Box+BoxChild
84
this.radioFile = new global::Gtk.RadioButton (global::MonoDevelop.Core.GettextCatalog.GetString ("Apply policies from file"));
85
this.radioFile.CanFocus = true;
86
this.radioFile.Name = "radioFile";
87
this.radioFile.DrawIndicator = true;
88
this.radioFile.UseUnderline = true;
89
this.radioFile.Group = this.radioCustom.Group;
90
this.vbox3.Add (this.radioFile);
91
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.radioFile]));
95
// Container child vbox3.Gtk.Box+BoxChild
96
this.boxFile = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
97
this.boxFile.Name = "boxFile";
98
this.boxFile.LeftPadding = ((uint)(42));
99
// Container child boxFile.Gtk.Container+ContainerChild
100
this.hbox2 = new global::Gtk.HBox ();
101
this.hbox2.Name = "hbox2";
102
this.hbox2.Spacing = 6;
103
// Container child hbox2.Gtk.Box+BoxChild
104
this.label3 = new global::Gtk.Label ();
105
this.label3.Name = "label3";
106
this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("File:");
107
this.hbox2.Add (this.label3);
108
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label3]));
112
// Container child hbox2.Gtk.Box+BoxChild
113
this.fileEntry = new global::MonoDevelop.Components.FileEntry ();
114
this.fileEntry.Name = "fileEntry";
115
this.fileEntry.BrowserTitle = "Select Policy Set File";
116
this.hbox2.Add (this.fileEntry);
117
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fileEntry]));
119
this.boxFile.Add (this.hbox2);
120
this.vbox3.Add (this.boxFile);
121
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.boxFile]));
125
// Container child vbox3.Gtk.Box+BoxChild
126
this.hseparator1 = new global::Gtk.HSeparator ();
127
this.hseparator1.Name = "hseparator1";
128
this.vbox3.Add (this.hseparator1);
129
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator1]));
133
// Container child vbox3.Gtk.Box+BoxChild
134
this.labelChangesTitle = new global::Gtk.Label ();
135
this.labelChangesTitle.Name = "labelChangesTitle";
136
this.labelChangesTitle.Xalign = 0F;
137
this.labelChangesTitle.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("The following policies will be set or replaced:");
138
this.vbox3.Add (this.labelChangesTitle);
139
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.labelChangesTitle]));
143
// Container child vbox3.Gtk.Box+BoxChild
144
this.labelChanges = new global::Gtk.Label ();
145
this.labelChanges.Name = "labelChanges";
146
this.labelChanges.Xalign = 0F;
147
this.vbox3.Add (this.labelChanges);
148
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.labelChanges]));
151
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox3]));
155
// Internal child MonoDevelop.Ide.Projects.ApplyPolicyDialog.ActionArea
156
global::Gtk.HButtonBox w16 = this.ActionArea;
157
w16.Name = "dialog1_ActionArea";
159
w16.BorderWidth = ((uint)(5));
160
w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
161
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
162
this.buttonCancel = new global::Gtk.Button ();
163
this.buttonCancel.CanDefault = true;
164
this.buttonCancel.CanFocus = true;
165
this.buttonCancel.Name = "buttonCancel";
166
this.buttonCancel.UseStock = true;
167
this.buttonCancel.UseUnderline = true;
168
this.buttonCancel.Label = "gtk-cancel";
169
this.AddActionWidget (this.buttonCancel, -6);
170
global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonCancel]));
173
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
174
this.buttonOk = new global::Gtk.Button ();
175
this.buttonOk.CanDefault = true;
176
this.buttonOk.CanFocus = true;
177
this.buttonOk.Name = "buttonOk";
178
this.buttonOk.UseStock = true;
179
this.buttonOk.UseUnderline = true;
180
this.buttonOk.Label = "gtk-apply";
181
w16.Add (this.buttonOk);
182
global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonOk]));
186
if ((this.Child != null)) {
187
this.Child.ShowAll ();
189
this.DefaultWidth = 479;
190
this.DefaultHeight = 258;
192
this.radioCustom.Toggled += new global::System.EventHandler (this.OnRadioCustomToggled);
193
this.combPolicies.Changed += new global::System.EventHandler (this.OnCombPoliciesChanged);
194
this.fileEntry.PathChanged += new global::System.EventHandler (this.OnFileEntryPathChanged);
195
this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);