~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/AspNet/MonoDevelop.AspNet.Mvc/gtk-gui/MonoDevelop.AspNet.Mvc.Gui.AddViewDialog.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
Import upstream version 4.0.5+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.AspNet.Mvc.Gui
4
 
{
5
 
        public partial class AddViewDialog
6
 
        {
7
 
                private global::Gtk.VBox vbox2;
8
 
                private global::Gtk.Table table1;
9
 
                private global::Gtk.Label label1;
10
 
                private global::Gtk.Label label4;
11
 
                private global::Gtk.Entry nameEntry;
12
 
                private global::Gtk.ComboBox templateCombo;
13
 
                private global::Gtk.Frame frame1;
14
 
                private global::Gtk.Alignment alignment1;
15
 
                private global::Gtk.VBox vbox4;
16
 
                private global::Gtk.CheckButton partialCheck;
17
 
                private global::Gtk.CheckButton stronglyTypedCheck;
18
 
                private global::Gtk.Alignment typePanel;
19
 
                private global::Gtk.HBox hbox1;
20
 
                private global::Gtk.Label label3;
21
 
                private global::Gtk.Alignment dataClassAlignment;
22
 
                private global::Gtk.CheckButton masterCheck;
23
 
                private global::Gtk.Alignment masterPanel;
24
 
                private global::Gtk.VBox vbox3;
25
 
                private global::Gtk.HBox hbox4;
26
 
                private global::Gtk.Label label5;
27
 
                private global::Gtk.Entry masterEntry;
28
 
                private global::Gtk.Button masterButton;
29
 
                private global::Gtk.HBox hbox3;
30
 
                private global::Gtk.Label label2;
31
 
                private global::Gtk.ComboBoxEntry primaryPlaceholderCombo;
32
 
                private global::Gtk.Label GtkLabel6;
33
 
                private global::Gtk.Button buttonCancel;
34
 
                private global::Gtk.Button buttonOk;
35
 
                
36
 
                protected virtual void Build ()
37
 
                {
38
 
                        global::Stetic.Gui.Initialize (this);
39
 
                        // Widget MonoDevelop.AspNet.Mvc.Gui.AddViewDialog
40
 
                        this.Name = "MonoDevelop.AspNet.Mvc.Gui.AddViewDialog";
41
 
                        this.Title = global::Mono.Unix.Catalog.GetString ("Add View");
42
 
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
43
 
                        this.BorderWidth = ((uint)(6));
44
 
                        this.Resizable = false;
45
 
                        this.AllowGrow = false;
46
 
                        // Internal child MonoDevelop.AspNet.Mvc.Gui.AddViewDialog.VBox
47
 
                        global::Gtk.VBox w1 = this.VBox;
48
 
                        w1.Name = "dialog1_VBox";
49
 
                        w1.BorderWidth = ((uint)(2));
50
 
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
51
 
                        this.vbox2 = new global::Gtk.VBox ();
52
 
                        this.vbox2.Name = "vbox2";
53
 
                        this.vbox2.Spacing = 6;
54
 
                        // Container child vbox2.Gtk.Box+BoxChild
55
 
                        this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
56
 
                        this.table1.Name = "table1";
57
 
                        this.table1.RowSpacing = ((uint)(6));
58
 
                        this.table1.ColumnSpacing = ((uint)(6));
59
 
                        // Container child table1.Gtk.Table+TableChild
60
 
                        this.label1 = new global::Gtk.Label ();
61
 
                        this.label1.Name = "label1";
62
 
                        this.label1.Xalign = 0F;
63
 
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Name:");
64
 
                        this.label1.UseUnderline = true;
65
 
                        this.table1.Add (this.label1);
66
 
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
67
 
                        w2.XOptions = ((global::Gtk.AttachOptions)(4));
68
 
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
69
 
                        // Container child table1.Gtk.Table+TableChild
70
 
                        this.label4 = new global::Gtk.Label ();
71
 
                        this.label4.Name = "label4";
72
 
                        this.label4.Xalign = 0F;
73
 
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("_Template:");
74
 
                        this.label4.UseUnderline = true;
75
 
                        this.table1.Add (this.label4);
76
 
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
77
 
                        w3.TopAttach = ((uint)(1));
78
 
                        w3.BottomAttach = ((uint)(2));
79
 
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
80
 
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
81
 
                        // Container child table1.Gtk.Table+TableChild
82
 
                        this.nameEntry = new global::Gtk.Entry ();
83
 
                        this.nameEntry.CanFocus = true;
84
 
                        this.nameEntry.Name = "nameEntry";
85
 
                        this.nameEntry.IsEditable = true;
86
 
                        this.nameEntry.InvisibleChar = '●';
87
 
                        this.table1.Add (this.nameEntry);
88
 
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.nameEntry]));
89
 
                        w4.LeftAttach = ((uint)(1));
90
 
                        w4.RightAttach = ((uint)(2));
91
 
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
92
 
                        // Container child table1.Gtk.Table+TableChild
93
 
                        this.templateCombo = global::Gtk.ComboBox.NewText ();
94
 
                        this.templateCombo.Name = "templateCombo";
95
 
                        this.table1.Add (this.templateCombo);
96
 
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.templateCombo]));
97
 
                        w5.TopAttach = ((uint)(1));
98
 
                        w5.BottomAttach = ((uint)(2));
99
 
                        w5.LeftAttach = ((uint)(1));
100
 
                        w5.RightAttach = ((uint)(2));
101
 
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
102
 
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
103
 
                        this.vbox2.Add (this.table1);
104
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
105
 
                        w6.Position = 0;
106
 
                        w6.Expand = false;
107
 
                        w6.Fill = false;
108
 
                        // Container child vbox2.Gtk.Box+BoxChild
109
 
                        this.frame1 = new global::Gtk.Frame ();
110
 
                        this.frame1.Name = "frame1";
111
 
                        this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
112
 
                        this.frame1.BorderWidth = ((uint)(2));
113
 
                        // Container child frame1.Gtk.Container+ContainerChild
114
 
                        this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
115
 
                        this.alignment1.Name = "alignment1";
116
 
                        this.alignment1.LeftPadding = ((uint)(4));
117
 
                        this.alignment1.TopPadding = ((uint)(4));
118
 
                        this.alignment1.RightPadding = ((uint)(4));
119
 
                        this.alignment1.BottomPadding = ((uint)(4));
120
 
                        // Container child alignment1.Gtk.Container+ContainerChild
121
 
                        this.vbox4 = new global::Gtk.VBox ();
122
 
                        this.vbox4.Name = "vbox4";
123
 
                        this.vbox4.Spacing = 6;
124
 
                        // Container child vbox4.Gtk.Box+BoxChild
125
 
                        this.partialCheck = new global::Gtk.CheckButton ();
126
 
                        this.partialCheck.CanFocus = true;
127
 
                        this.partialCheck.Name = "partialCheck";
128
 
                        this.partialCheck.Label = global::Mono.Unix.Catalog.GetString ("_Partial view (ascx)");
129
 
                        this.partialCheck.DrawIndicator = true;
130
 
                        this.partialCheck.UseUnderline = true;
131
 
                        this.vbox4.Add (this.partialCheck);
132
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.partialCheck]));
133
 
                        w7.Position = 0;
134
 
                        w7.Expand = false;
135
 
                        w7.Fill = false;
136
 
                        // Container child vbox4.Gtk.Box+BoxChild
137
 
                        this.stronglyTypedCheck = new global::Gtk.CheckButton ();
138
 
                        this.stronglyTypedCheck.CanFocus = true;
139
 
                        this.stronglyTypedCheck.Name = "stronglyTypedCheck";
140
 
                        this.stronglyTypedCheck.Label = global::Mono.Unix.Catalog.GetString ("_Strongly typed");
141
 
                        this.stronglyTypedCheck.DrawIndicator = true;
142
 
                        this.stronglyTypedCheck.UseUnderline = true;
143
 
                        this.vbox4.Add (this.stronglyTypedCheck);
144
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.stronglyTypedCheck]));
145
 
                        w8.Position = 1;
146
 
                        w8.Expand = false;
147
 
                        w8.Fill = false;
148
 
                        // Container child vbox4.Gtk.Box+BoxChild
149
 
                        this.typePanel = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
150
 
                        this.typePanel.Name = "typePanel";
151
 
                        this.typePanel.LeftPadding = ((uint)(24));
152
 
                        // Container child typePanel.Gtk.Container+ContainerChild
153
 
                        this.hbox1 = new global::Gtk.HBox ();
154
 
                        this.hbox1.Name = "hbox1";
155
 
                        this.hbox1.Spacing = 6;
156
 
                        // Container child hbox1.Gtk.Box+BoxChild
157
 
                        this.label3 = new global::Gtk.Label ();
158
 
                        this.label3.Name = "label3";
159
 
                        this.label3.Xalign = 0F;
160
 
                        this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Data class:");
161
 
                        this.label3.UseUnderline = true;
162
 
                        this.hbox1.Add (this.label3);
163
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label3]));
164
 
                        w9.Position = 0;
165
 
                        w9.Expand = false;
166
 
                        w9.Fill = false;
167
 
                        // Container child hbox1.Gtk.Box+BoxChild
168
 
                        this.dataClassAlignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
169
 
                        this.dataClassAlignment.Name = "dataClassAlignment";
170
 
                        this.hbox1.Add (this.dataClassAlignment);
171
 
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dataClassAlignment]));
172
 
                        w10.Position = 1;
173
 
                        this.typePanel.Add (this.hbox1);
174
 
                        this.vbox4.Add (this.typePanel);
175
 
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.typePanel]));
176
 
                        w12.Position = 2;
177
 
                        w12.Fill = false;
178
 
                        // Container child vbox4.Gtk.Box+BoxChild
179
 
                        this.masterCheck = new global::Gtk.CheckButton ();
180
 
                        this.masterCheck.CanFocus = true;
181
 
                        this.masterCheck.Name = "masterCheck";
182
 
                        this.masterCheck.Label = global::Mono.Unix.Catalog.GetString ("Has _master page:");
183
 
                        this.masterCheck.DrawIndicator = true;
184
 
                        this.masterCheck.UseUnderline = true;
185
 
                        this.vbox4.Add (this.masterCheck);
186
 
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.masterCheck]));
187
 
                        w13.Position = 3;
188
 
                        w13.Expand = false;
189
 
                        w13.Fill = false;
190
 
                        // Container child vbox4.Gtk.Box+BoxChild
191
 
                        this.masterPanel = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
192
 
                        this.masterPanel.Name = "masterPanel";
193
 
                        this.masterPanel.LeftPadding = ((uint)(24));
194
 
                        // Container child masterPanel.Gtk.Container+ContainerChild
195
 
                        this.vbox3 = new global::Gtk.VBox ();
196
 
                        this.vbox3.Name = "vbox3";
197
 
                        this.vbox3.Spacing = 6;
198
 
                        // Container child vbox3.Gtk.Box+BoxChild
199
 
                        this.hbox4 = new global::Gtk.HBox ();
200
 
                        this.hbox4.Name = "hbox4";
201
 
                        this.hbox4.Spacing = 6;
202
 
                        // Container child hbox4.Gtk.Box+BoxChild
203
 
                        this.label5 = new global::Gtk.Label ();
204
 
                        this.label5.Name = "label5";
205
 
                        this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("_File:");
206
 
                        this.label5.UseUnderline = true;
207
 
                        this.hbox4.Add (this.label5);
208
 
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5]));
209
 
                        w14.Position = 0;
210
 
                        w14.Expand = false;
211
 
                        w14.Fill = false;
212
 
                        // Container child hbox4.Gtk.Box+BoxChild
213
 
                        this.masterEntry = new global::Gtk.Entry ();
214
 
                        this.masterEntry.CanFocus = true;
215
 
                        this.masterEntry.Name = "masterEntry";
216
 
                        this.masterEntry.IsEditable = true;
217
 
                        this.masterEntry.InvisibleChar = '●';
218
 
                        this.hbox4.Add (this.masterEntry);
219
 
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.masterEntry]));
220
 
                        w15.Position = 1;
221
 
                        // Container child hbox4.Gtk.Box+BoxChild
222
 
                        this.masterButton = new global::Gtk.Button ();
223
 
                        this.masterButton.CanFocus = true;
224
 
                        this.masterButton.Name = "masterButton";
225
 
                        this.masterButton.UseUnderline = true;
226
 
                        this.masterButton.Label = global::Mono.Unix.Catalog.GetString ("...");
227
 
                        this.hbox4.Add (this.masterButton);
228
 
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.masterButton]));
229
 
                        w16.Position = 2;
230
 
                        w16.Expand = false;
231
 
                        w16.Fill = false;
232
 
                        this.vbox3.Add (this.hbox4);
233
 
                        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
234
 
                        w17.Position = 0;
235
 
                        w17.Expand = false;
236
 
                        w17.Fill = false;
237
 
                        // Container child vbox3.Gtk.Box+BoxChild
238
 
                        this.hbox3 = new global::Gtk.HBox ();
239
 
                        this.hbox3.Name = "hbox3";
240
 
                        this.hbox3.Spacing = 6;
241
 
                        // Container child hbox3.Gtk.Box+BoxChild
242
 
                        this.label2 = new global::Gtk.Label ();
243
 
                        this.label2.Name = "label2";
244
 
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("P_rimary placeholder: ");
245
 
                        this.label2.UseUnderline = true;
246
 
                        this.hbox3.Add (this.label2);
247
 
                        global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label2]));
248
 
                        w18.Position = 0;
249
 
                        w18.Expand = false;
250
 
                        w18.Fill = false;
251
 
                        // Container child hbox3.Gtk.Box+BoxChild
252
 
                        this.primaryPlaceholderCombo = global::Gtk.ComboBoxEntry.NewText ();
253
 
                        this.primaryPlaceholderCombo.WidthRequest = 250;
254
 
                        this.primaryPlaceholderCombo.Name = "primaryPlaceholderCombo";
255
 
                        this.hbox3.Add (this.primaryPlaceholderCombo);
256
 
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.primaryPlaceholderCombo]));
257
 
                        w19.Position = 1;
258
 
                        this.vbox3.Add (this.hbox3);
259
 
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
260
 
                        w20.Position = 1;
261
 
                        w20.Expand = false;
262
 
                        w20.Fill = false;
263
 
                        this.masterPanel.Add (this.vbox3);
264
 
                        this.vbox4.Add (this.masterPanel);
265
 
                        global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.masterPanel]));
266
 
                        w22.Position = 4;
267
 
                        w22.Expand = false;
268
 
                        w22.Fill = false;
269
 
                        this.alignment1.Add (this.vbox4);
270
 
                        this.frame1.Add (this.alignment1);
271
 
                        this.GtkLabel6 = new global::Gtk.Label ();
272
 
                        this.GtkLabel6.Name = "GtkLabel6";
273
 
                        this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("Options");
274
 
                        this.frame1.LabelWidget = this.GtkLabel6;
275
 
                        this.vbox2.Add (this.frame1);
276
 
                        global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
277
 
                        w25.Position = 1;
278
 
                        w25.Expand = false;
279
 
                        w25.Fill = false;
280
 
                        w1.Add (this.vbox2);
281
 
                        global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
282
 
                        w26.Position = 0;
283
 
                        w26.Expand = false;
284
 
                        w26.Fill = false;
285
 
                        // Internal child MonoDevelop.AspNet.Mvc.Gui.AddViewDialog.ActionArea
286
 
                        global::Gtk.HButtonBox w27 = this.ActionArea;
287
 
                        w27.Name = "dialog1_ActionArea";
288
 
                        w27.Spacing = 6;
289
 
                        w27.BorderWidth = ((uint)(5));
290
 
                        w27.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
291
 
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
292
 
                        this.buttonCancel = new global::Gtk.Button ();
293
 
                        this.buttonCancel.CanDefault = true;
294
 
                        this.buttonCancel.CanFocus = true;
295
 
                        this.buttonCancel.Name = "buttonCancel";
296
 
                        this.buttonCancel.UseStock = true;
297
 
                        this.buttonCancel.UseUnderline = true;
298
 
                        this.buttonCancel.Label = "gtk-cancel";
299
 
                        this.AddActionWidget (this.buttonCancel, -6);
300
 
                        global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.buttonCancel]));
301
 
                        w28.Expand = false;
302
 
                        w28.Fill = false;
303
 
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
304
 
                        this.buttonOk = new global::Gtk.Button ();
305
 
                        this.buttonOk.CanDefault = true;
306
 
                        this.buttonOk.CanFocus = true;
307
 
                        this.buttonOk.Name = "buttonOk";
308
 
                        this.buttonOk.UseStock = true;
309
 
                        this.buttonOk.UseUnderline = true;
310
 
                        this.buttonOk.Label = "gtk-ok";
311
 
                        this.AddActionWidget (this.buttonOk, -5);
312
 
                        global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.buttonOk]));
313
 
                        w29.Position = 1;
314
 
                        w29.Expand = false;
315
 
                        w29.Fill = false;
316
 
                        if ((this.Child != null)) {
317
 
                                this.Child.ShowAll ();
318
 
                        }
319
 
                        this.DefaultWidth = 470;
320
 
                        this.DefaultHeight = 387;
321
 
                        this.label1.MnemonicWidget = this.nameEntry;
322
 
                        this.label4.MnemonicWidget = this.templateCombo;
323
 
                        this.label5.MnemonicWidget = this.masterEntry;
324
 
                        this.Hide ();
325
 
                        this.templateCombo.Changed += new global::System.EventHandler (this.Validate);
326
 
                        this.nameEntry.Changed += new global::System.EventHandler (this.Validate);
327
 
                        this.partialCheck.Toggled += new global::System.EventHandler (this.UpdateMasterPanelSensitivity);
328
 
                        this.stronglyTypedCheck.Toggled += new global::System.EventHandler (this.UpdateTypePanelSensitivity);
329
 
                        this.masterCheck.Toggled += new global::System.EventHandler (this.UpdateMasterPanelSensitivity);
330
 
                        this.masterEntry.Changed += new global::System.EventHandler (this.MasterChanged);
331
 
                        this.masterButton.Clicked += new global::System.EventHandler (this.ShowMasterSelectionDialog);
332
 
                        this.primaryPlaceholderCombo.Changed += new global::System.EventHandler (this.Validate);
333
 
                }
334
 
        }
335
 
}
 
1
 
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace MonoDevelop.AspNet.Mvc.Gui
 
4
{
 
5
        public partial class AddViewDialog
 
6
        {
 
7
                private global::Gtk.VBox vbox2;
 
8
                private global::Gtk.Table table1;
 
9
                private global::Gtk.Label label1;
 
10
                private global::Gtk.Label label4;
 
11
                private global::Gtk.Label label6;
 
12
                private global::Gtk.Entry nameEntry;
 
13
                private global::Gtk.ComboBox templateCombo;
 
14
                private global::Gtk.ComboBox viewEngineCombo;
 
15
                private global::Gtk.Frame frame1;
 
16
                private global::Gtk.Alignment alignment1;
 
17
                private global::Gtk.VBox vbox4;
 
18
                private global::Gtk.CheckButton partialCheck;
 
19
                private global::Gtk.CheckButton stronglyTypedCheck;
 
20
                private global::Gtk.Alignment typePanel;
 
21
                private global::Gtk.HBox hbox1;
 
22
                private global::Gtk.Label label3;
 
23
                private global::Gtk.Alignment dataClassAlignment;
 
24
                private global::Gtk.ComboBoxEntry dataClassCombo;
 
25
                private global::Gtk.CheckButton masterCheck;
 
26
                private global::Gtk.Alignment masterPanel;
 
27
                private global::Gtk.VBox vbox3;
 
28
                private global::Gtk.HBox hbox4;
 
29
                private global::Gtk.Label label5;
 
30
                private global::Gtk.Entry masterEntry;
 
31
                private global::Gtk.Button masterButton;
 
32
                private global::Gtk.HBox placeholderBox;
 
33
                private global::Gtk.Label label2;
 
34
                private global::Gtk.ComboBoxEntry primaryPlaceholderCombo;
 
35
                private global::Gtk.Label GtkLabel6;
 
36
                private global::Gtk.Button buttonCancel;
 
37
                private global::Gtk.Button buttonOk;
 
38
                
 
39
                protected virtual void Build ()
 
40
                {
 
41
                        global::Stetic.Gui.Initialize (this);
 
42
                        // Widget MonoDevelop.AspNet.Mvc.Gui.AddViewDialog
 
43
                        this.Name = "MonoDevelop.AspNet.Mvc.Gui.AddViewDialog";
 
44
                        this.Title = global::Mono.Unix.Catalog.GetString ("Add View");
 
45
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
46
                        this.BorderWidth = ((uint)(6));
 
47
                        this.Resizable = false;
 
48
                        this.AllowGrow = false;
 
49
                        // Internal child MonoDevelop.AspNet.Mvc.Gui.AddViewDialog.VBox
 
50
                        global::Gtk.VBox w1 = this.VBox;
 
51
                        w1.Name = "dialog1_VBox";
 
52
                        w1.BorderWidth = ((uint)(2));
 
53
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
 
54
                        this.vbox2 = new global::Gtk.VBox ();
 
55
                        this.vbox2.Name = "vbox2";
 
56
                        this.vbox2.Spacing = 6;
 
57
                        // Container child vbox2.Gtk.Box+BoxChild
 
58
                        this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
 
59
                        this.table1.Name = "table1";
 
60
                        this.table1.RowSpacing = ((uint)(6));
 
61
                        this.table1.ColumnSpacing = ((uint)(6));
 
62
                        // Container child table1.Gtk.Table+TableChild
 
63
                        this.label1 = new global::Gtk.Label ();
 
64
                        this.label1.Name = "label1";
 
65
                        this.label1.Xalign = 0F;
 
66
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Name:");
 
67
                        this.label1.UseUnderline = true;
 
68
                        this.table1.Add (this.label1);
 
69
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
 
70
                        w2.XOptions = ((global::Gtk.AttachOptions)(4));
 
71
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
 
72
                        // Container child table1.Gtk.Table+TableChild
 
73
                        this.label4 = new global::Gtk.Label ();
 
74
                        this.label4.Name = "label4";
 
75
                        this.label4.Xalign = 0F;
 
76
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("_Template:");
 
77
                        this.label4.UseUnderline = true;
 
78
                        this.table1.Add (this.label4);
 
79
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
 
80
                        w3.TopAttach = ((uint)(1));
 
81
                        w3.BottomAttach = ((uint)(2));
 
82
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
 
83
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
 
84
                        // Container child table1.Gtk.Table+TableChild
 
85
                        this.label6 = new global::Gtk.Label ();
 
86
                        this.label6.Name = "label6";
 
87
                        this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_View Engine:");
 
88
                        this.label6.UseUnderline = true;
 
89
                        this.table1.Add (this.label6);
 
90
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
 
91
                        w4.TopAttach = ((uint)(2));
 
92
                        w4.BottomAttach = ((uint)(3));
 
93
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
 
94
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
 
95
                        // Container child table1.Gtk.Table+TableChild
 
96
                        this.nameEntry = new global::Gtk.Entry ();
 
97
                        this.nameEntry.CanFocus = true;
 
98
                        this.nameEntry.Name = "nameEntry";
 
99
                        this.nameEntry.IsEditable = true;
 
100
                        this.nameEntry.InvisibleChar = '●';
 
101
                        this.table1.Add (this.nameEntry);
 
102
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.nameEntry]));
 
103
                        w5.LeftAttach = ((uint)(1));
 
104
                        w5.RightAttach = ((uint)(2));
 
105
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
 
106
                        // Container child table1.Gtk.Table+TableChild
 
107
                        this.templateCombo = global::Gtk.ComboBox.NewText ();
 
108
                        this.templateCombo.Name = "templateCombo";
 
109
                        this.table1.Add (this.templateCombo);
 
110
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.templateCombo]));
 
111
                        w6.TopAttach = ((uint)(1));
 
112
                        w6.BottomAttach = ((uint)(2));
 
113
                        w6.LeftAttach = ((uint)(1));
 
114
                        w6.RightAttach = ((uint)(2));
 
115
                        w6.XOptions = ((global::Gtk.AttachOptions)(4));
 
116
                        w6.YOptions = ((global::Gtk.AttachOptions)(4));
 
117
                        // Container child table1.Gtk.Table+TableChild
 
118
                        this.viewEngineCombo = global::Gtk.ComboBox.NewText ();
 
119
                        this.viewEngineCombo.Name = "viewEngineCombo";
 
120
                        this.table1.Add (this.viewEngineCombo);
 
121
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.viewEngineCombo]));
 
122
                        w7.TopAttach = ((uint)(2));
 
123
                        w7.BottomAttach = ((uint)(3));
 
124
                        w7.LeftAttach = ((uint)(1));
 
125
                        w7.RightAttach = ((uint)(2));
 
126
                        w7.XOptions = ((global::Gtk.AttachOptions)(4));
 
127
                        w7.YOptions = ((global::Gtk.AttachOptions)(4));
 
128
                        this.vbox2.Add (this.table1);
 
129
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
 
130
                        w8.Position = 0;
 
131
                        w8.Expand = false;
 
132
                        w8.Fill = false;
 
133
                        // Container child vbox2.Gtk.Box+BoxChild
 
134
                        this.frame1 = new global::Gtk.Frame ();
 
135
                        this.frame1.Name = "frame1";
 
136
                        this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
 
137
                        this.frame1.BorderWidth = ((uint)(2));
 
138
                        // Container child frame1.Gtk.Container+ContainerChild
 
139
                        this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
140
                        this.alignment1.Name = "alignment1";
 
141
                        this.alignment1.LeftPadding = ((uint)(4));
 
142
                        this.alignment1.TopPadding = ((uint)(4));
 
143
                        this.alignment1.RightPadding = ((uint)(4));
 
144
                        this.alignment1.BottomPadding = ((uint)(4));
 
145
                        // Container child alignment1.Gtk.Container+ContainerChild
 
146
                        this.vbox4 = new global::Gtk.VBox ();
 
147
                        this.vbox4.Name = "vbox4";
 
148
                        this.vbox4.Spacing = 6;
 
149
                        // Container child vbox4.Gtk.Box+BoxChild
 
150
                        this.partialCheck = new global::Gtk.CheckButton ();
 
151
                        this.partialCheck.CanFocus = true;
 
152
                        this.partialCheck.Name = "partialCheck";
 
153
                        this.partialCheck.Label = global::Mono.Unix.Catalog.GetString ("_Partial view");
 
154
                        this.partialCheck.DrawIndicator = true;
 
155
                        this.partialCheck.UseUnderline = true;
 
156
                        this.vbox4.Add (this.partialCheck);
 
157
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.partialCheck]));
 
158
                        w9.Position = 0;
 
159
                        w9.Expand = false;
 
160
                        w9.Fill = false;
 
161
                        // Container child vbox4.Gtk.Box+BoxChild
 
162
                        this.stronglyTypedCheck = new global::Gtk.CheckButton ();
 
163
                        this.stronglyTypedCheck.CanFocus = true;
 
164
                        this.stronglyTypedCheck.Name = "stronglyTypedCheck";
 
165
                        this.stronglyTypedCheck.Label = global::Mono.Unix.Catalog.GetString ("_Strongly typed");
 
166
                        this.stronglyTypedCheck.DrawIndicator = true;
 
167
                        this.stronglyTypedCheck.UseUnderline = true;
 
168
                        this.vbox4.Add (this.stronglyTypedCheck);
 
169
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.stronglyTypedCheck]));
 
170
                        w10.Position = 1;
 
171
                        w10.Expand = false;
 
172
                        w10.Fill = false;
 
173
                        // Container child vbox4.Gtk.Box+BoxChild
 
174
                        this.typePanel = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
 
175
                        this.typePanel.Name = "typePanel";
 
176
                        this.typePanel.LeftPadding = ((uint)(24));
 
177
                        // Container child typePanel.Gtk.Container+ContainerChild
 
178
                        this.hbox1 = new global::Gtk.HBox ();
 
179
                        this.hbox1.Name = "hbox1";
 
180
                        this.hbox1.Spacing = 6;
 
181
                        // Container child hbox1.Gtk.Box+BoxChild
 
182
                        this.label3 = new global::Gtk.Label ();
 
183
                        this.label3.Name = "label3";
 
184
                        this.label3.Xalign = 0F;
 
185
                        this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Data class:");
 
186
                        this.label3.UseUnderline = true;
 
187
                        this.hbox1.Add (this.label3);
 
188
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label3]));
 
189
                        w11.Position = 0;
 
190
                        w11.Expand = false;
 
191
                        w11.Fill = false;
 
192
                        // Container child hbox1.Gtk.Box+BoxChild
 
193
                        this.dataClassAlignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
194
                        this.dataClassAlignment.Name = "dataClassAlignment";
 
195
                        // Container child dataClassAlignment.Gtk.Container+ContainerChild
 
196
                        this.dataClassCombo = global::Gtk.ComboBoxEntry.NewText ();
 
197
                        this.dataClassCombo.Name = "dataClassCombo";
 
198
                        this.dataClassAlignment.Add (this.dataClassCombo);
 
199
                        this.hbox1.Add (this.dataClassAlignment);
 
200
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dataClassAlignment]));
 
201
                        w13.Position = 1;
 
202
                        this.typePanel.Add (this.hbox1);
 
203
                        this.vbox4.Add (this.typePanel);
 
204
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.typePanel]));
 
205
                        w15.Position = 2;
 
206
                        w15.Fill = false;
 
207
                        // Container child vbox4.Gtk.Box+BoxChild
 
208
                        this.masterCheck = new global::Gtk.CheckButton ();
 
209
                        this.masterCheck.CanFocus = true;
 
210
                        this.masterCheck.Name = "masterCheck";
 
211
                        this.masterCheck.Label = global::Mono.Unix.Catalog.GetString ("Has _master page or layout:");
 
212
                        this.masterCheck.DrawIndicator = true;
 
213
                        this.masterCheck.UseUnderline = true;
 
214
                        this.vbox4.Add (this.masterCheck);
 
215
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.masterCheck]));
 
216
                        w16.Position = 3;
 
217
                        w16.Expand = false;
 
218
                        w16.Fill = false;
 
219
                        // Container child vbox4.Gtk.Box+BoxChild
 
220
                        this.masterPanel = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
 
221
                        this.masterPanel.Name = "masterPanel";
 
222
                        this.masterPanel.LeftPadding = ((uint)(24));
 
223
                        // Container child masterPanel.Gtk.Container+ContainerChild
 
224
                        this.vbox3 = new global::Gtk.VBox ();
 
225
                        this.vbox3.Name = "vbox3";
 
226
                        this.vbox3.Spacing = 6;
 
227
                        // Container child vbox3.Gtk.Box+BoxChild
 
228
                        this.hbox4 = new global::Gtk.HBox ();
 
229
                        this.hbox4.Name = "hbox4";
 
230
                        this.hbox4.Spacing = 6;
 
231
                        // Container child hbox4.Gtk.Box+BoxChild
 
232
                        this.label5 = new global::Gtk.Label ();
 
233
                        this.label5.Name = "label5";
 
234
                        this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("_File:");
 
235
                        this.label5.UseUnderline = true;
 
236
                        this.hbox4.Add (this.label5);
 
237
                        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5]));
 
238
                        w17.Position = 0;
 
239
                        w17.Expand = false;
 
240
                        w17.Fill = false;
 
241
                        // Container child hbox4.Gtk.Box+BoxChild
 
242
                        this.masterEntry = new global::Gtk.Entry ();
 
243
                        this.masterEntry.CanFocus = true;
 
244
                        this.masterEntry.Name = "masterEntry";
 
245
                        this.masterEntry.IsEditable = true;
 
246
                        this.masterEntry.InvisibleChar = '●';
 
247
                        this.hbox4.Add (this.masterEntry);
 
248
                        global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.masterEntry]));
 
249
                        w18.Position = 1;
 
250
                        // Container child hbox4.Gtk.Box+BoxChild
 
251
                        this.masterButton = new global::Gtk.Button ();
 
252
                        this.masterButton.CanFocus = true;
 
253
                        this.masterButton.Name = "masterButton";
 
254
                        this.masterButton.UseUnderline = true;
 
255
                        this.masterButton.Label = global::Mono.Unix.Catalog.GetString ("...");
 
256
                        this.hbox4.Add (this.masterButton);
 
257
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.masterButton]));
 
258
                        w19.Position = 2;
 
259
                        w19.Expand = false;
 
260
                        w19.Fill = false;
 
261
                        this.vbox3.Add (this.hbox4);
 
262
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
 
263
                        w20.Position = 0;
 
264
                        w20.Expand = false;
 
265
                        w20.Fill = false;
 
266
                        // Container child vbox3.Gtk.Box+BoxChild
 
267
                        this.placeholderBox = new global::Gtk.HBox ();
 
268
                        this.placeholderBox.Name = "placeholderBox";
 
269
                        this.placeholderBox.Spacing = 6;
 
270
                        // Container child placeholderBox.Gtk.Box+BoxChild
 
271
                        this.label2 = new global::Gtk.Label ();
 
272
                        this.label2.Name = "label2";
 
273
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("P_rimary placeholder: ");
 
274
                        this.label2.UseUnderline = true;
 
275
                        this.placeholderBox.Add (this.label2);
 
276
                        global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.placeholderBox [this.label2]));
 
277
                        w21.Position = 0;
 
278
                        w21.Expand = false;
 
279
                        w21.Fill = false;
 
280
                        // Container child placeholderBox.Gtk.Box+BoxChild
 
281
                        this.primaryPlaceholderCombo = global::Gtk.ComboBoxEntry.NewText ();
 
282
                        this.primaryPlaceholderCombo.WidthRequest = 250;
 
283
                        this.primaryPlaceholderCombo.Name = "primaryPlaceholderCombo";
 
284
                        this.placeholderBox.Add (this.primaryPlaceholderCombo);
 
285
                        global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.placeholderBox [this.primaryPlaceholderCombo]));
 
286
                        w22.Position = 1;
 
287
                        this.vbox3.Add (this.placeholderBox);
 
288
                        global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.placeholderBox]));
 
289
                        w23.Position = 1;
 
290
                        w23.Expand = false;
 
291
                        w23.Fill = false;
 
292
                        this.masterPanel.Add (this.vbox3);
 
293
                        this.vbox4.Add (this.masterPanel);
 
294
                        global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.masterPanel]));
 
295
                        w25.Position = 4;
 
296
                        w25.Expand = false;
 
297
                        w25.Fill = false;
 
298
                        this.alignment1.Add (this.vbox4);
 
299
                        this.frame1.Add (this.alignment1);
 
300
                        this.GtkLabel6 = new global::Gtk.Label ();
 
301
                        this.GtkLabel6.Name = "GtkLabel6";
 
302
                        this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("Options");
 
303
                        this.frame1.LabelWidget = this.GtkLabel6;
 
304
                        this.vbox2.Add (this.frame1);
 
305
                        global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
 
306
                        w28.Position = 1;
 
307
                        w28.Expand = false;
 
308
                        w28.Fill = false;
 
309
                        w1.Add (this.vbox2);
 
310
                        global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
 
311
                        w29.Position = 0;
 
312
                        w29.Expand = false;
 
313
                        w29.Fill = false;
 
314
                        // Internal child MonoDevelop.AspNet.Mvc.Gui.AddViewDialog.ActionArea
 
315
                        global::Gtk.HButtonBox w30 = this.ActionArea;
 
316
                        w30.Name = "dialog1_ActionArea";
 
317
                        w30.Spacing = 6;
 
318
                        w30.BorderWidth = ((uint)(5));
 
319
                        w30.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 
320
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
321
                        this.buttonCancel = new global::Gtk.Button ();
 
322
                        this.buttonCancel.CanDefault = true;
 
323
                        this.buttonCancel.CanFocus = true;
 
324
                        this.buttonCancel.Name = "buttonCancel";
 
325
                        this.buttonCancel.UseStock = true;
 
326
                        this.buttonCancel.UseUnderline = true;
 
327
                        this.buttonCancel.Label = "gtk-cancel";
 
328
                        this.AddActionWidget (this.buttonCancel, -6);
 
329
                        global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w30 [this.buttonCancel]));
 
330
                        w31.Expand = false;
 
331
                        w31.Fill = false;
 
332
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
333
                        this.buttonOk = new global::Gtk.Button ();
 
334
                        this.buttonOk.CanDefault = true;
 
335
                        this.buttonOk.CanFocus = true;
 
336
                        this.buttonOk.Name = "buttonOk";
 
337
                        this.buttonOk.UseStock = true;
 
338
                        this.buttonOk.UseUnderline = true;
 
339
                        this.buttonOk.Label = "gtk-ok";
 
340
                        this.AddActionWidget (this.buttonOk, -5);
 
341
                        global::Gtk.ButtonBox.ButtonBoxChild w32 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w30 [this.buttonOk]));
 
342
                        w32.Position = 1;
 
343
                        w32.Expand = false;
 
344
                        w32.Fill = false;
 
345
                        if ((this.Child != null)) {
 
346
                                this.Child.ShowAll ();
 
347
                        }
 
348
                        this.DefaultWidth = 470;
 
349
                        this.DefaultHeight = 393;
 
350
                        this.label1.MnemonicWidget = this.nameEntry;
 
351
                        this.label4.MnemonicWidget = this.templateCombo;
 
352
                        this.label6.MnemonicWidget = this.viewEngineCombo;
 
353
                        this.label3.MnemonicWidget = this.dataClassCombo;
 
354
                        this.label5.MnemonicWidget = this.masterEntry;
 
355
                        this.Hide ();
 
356
                        this.viewEngineCombo.Changed += new global::System.EventHandler (this.ViewEngineChanged);
 
357
                        this.templateCombo.Changed += new global::System.EventHandler (this.Validate);
 
358
                        this.nameEntry.Changed += new global::System.EventHandler (this.Validate);
 
359
                        this.partialCheck.Toggled += new global::System.EventHandler (this.UpdateMasterPanelSensitivity);
 
360
                        this.stronglyTypedCheck.Toggled += new global::System.EventHandler (this.UpdateTypePanelSensitivity);
 
361
                        this.dataClassCombo.Changed += new global::System.EventHandler (this.DataClassChanged);
 
362
                        this.masterCheck.Toggled += new global::System.EventHandler (this.UpdateMasterPanelSensitivity);
 
363
                        this.masterEntry.Changed += new global::System.EventHandler (this.MasterChanged);
 
364
                        this.masterButton.Clicked += new global::System.EventHandler (this.ShowMasterSelectionDialog);
 
365
                        this.primaryPlaceholderCombo.Changed += new global::System.EventHandler (this.Validate);
 
366
                }
 
367
        }
 
368
}