~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Projects.ApplyPolicyDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace MonoDevelop.Ide.Projects
 
4
{
 
5
        public partial class ApplyPolicyDialog
 
6
        {
 
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;
 
23
 
 
24
                protected virtual void Build ()
 
25
                {
 
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]));
 
49
                        w2.Position = 0;
 
50
                        w2.Expand = false;
 
51
                        w2.Fill = false;
 
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]));
 
66
                        w3.Position = 0;
 
67
                        w3.Expand = false;
 
68
                        w3.Fill = false;
 
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]));
 
74
                        w4.Position = 1;
 
75
                        w4.Expand = false;
 
76
                        w4.Fill = false;
 
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]));
 
80
                        w6.Position = 1;
 
81
                        w6.Expand = false;
 
82
                        w6.Fill = false;
 
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]));
 
92
                        w7.Position = 2;
 
93
                        w7.Expand = false;
 
94
                        w7.Fill = false;
 
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]));
 
109
                        w8.Position = 0;
 
110
                        w8.Expand = false;
 
111
                        w8.Fill = false;
 
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]));
 
118
                        w9.Position = 1;
 
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]));
 
122
                        w11.Position = 3;
 
123
                        w11.Expand = false;
 
124
                        w11.Fill = false;
 
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]));
 
130
                        w12.Position = 4;
 
131
                        w12.Expand = false;
 
132
                        w12.Fill = false;
 
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]));
 
140
                        w13.Position = 5;
 
141
                        w13.Expand = false;
 
142
                        w13.Fill = false;
 
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]));
 
149
                        w14.Position = 6;
 
150
                        w1.Add (this.vbox3);
 
151
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox3]));
 
152
                        w15.Position = 0;
 
153
                        w15.Expand = false;
 
154
                        w15.Fill = false;
 
155
                        // Internal child MonoDevelop.Ide.Projects.ApplyPolicyDialog.ActionArea
 
156
                        global::Gtk.HButtonBox w16 = this.ActionArea;
 
157
                        w16.Name = "dialog1_ActionArea";
 
158
                        w16.Spacing = 10;
 
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]));
 
171
                        w17.Expand = false;
 
172
                        w17.Fill = false;
 
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]));
 
183
                        w18.Position = 1;
 
184
                        w18.Expand = false;
 
185
                        w18.Fill = false;
 
186
                        if ((this.Child != null)) {
 
187
                                this.Child.ShowAll ();
 
188
                        }
 
189
                        this.DefaultWidth = 479;
 
190
                        this.DefaultHeight = 258;
 
191
                        this.Show ();
 
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);
 
196
                }
 
197
        }
 
198
}