* Makefile.am:
[monodevelop.git] / extras / MonoDevelop.Database / MonoDevelop.Database.Designer / gtk-gui / MonoDevelop.Database.Designer.ViewEditorDialog.cs
blob97391ecbdf8659ddd45d93d02407676b8cdbcaf0
1 // ------------------------------------------------------------------------------
2 // <autogenerated>
3 // This code was generated by a tool.
4 //
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </autogenerated>
9 // ------------------------------------------------------------------------------
11 namespace MonoDevelop.Database.Designer {
14 public partial class ViewEditorDialog {
16 private Gtk.VBox vboxContent;
18 private Gtk.HBox hboxName;
20 private Gtk.Label label7;
22 private Gtk.Entry entryName;
24 private Gtk.HBox hboxWarning;
26 private Gtk.Image imageWarning;
28 private Gtk.Label labelWarning;
30 private Gtk.Button buttonCancel;
32 private Gtk.Button buttonOk;
34 protected virtual void Build() {
35 Stetic.Gui.Initialize(this);
36 // Widget MonoDevelop.Database.Designer.ViewEditorDialog
37 this.Name = "MonoDevelop.Database.Designer.ViewEditorDialog";
38 this.WindowPosition = ((Gtk.WindowPosition)(4));
39 this.HasSeparator = false;
40 // Internal child MonoDevelop.Database.Designer.ViewEditorDialog.VBox
41 Gtk.VBox w1 = this.VBox;
42 w1.Name = "dialog1_VBox";
43 w1.BorderWidth = ((uint)(2));
44 // Container child dialog1_VBox.Gtk.Box+BoxChild
45 this.vboxContent = new Gtk.VBox();
46 this.vboxContent.Name = "vboxContent";
47 this.vboxContent.Spacing = 6;
48 this.vboxContent.BorderWidth = ((uint)(6));
49 // Container child vboxContent.Gtk.Box+BoxChild
50 this.hboxName = new Gtk.HBox();
51 this.hboxName.Name = "hboxName";
52 this.hboxName.Spacing = 6;
53 // Container child hboxName.Gtk.Box+BoxChild
54 this.label7 = new Gtk.Label();
55 this.label7.Name = "label7";
56 this.label7.Xalign = 0F;
57 this.label7.LabelProp = AddinCatalog.GetString("Name");
58 this.hboxName.Add(this.label7);
59 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hboxName[this.label7]));
60 w2.Position = 0;
61 w2.Expand = false;
62 w2.Fill = false;
63 // Container child hboxName.Gtk.Box+BoxChild
64 this.entryName = new Gtk.Entry();
65 this.entryName.CanFocus = true;
66 this.entryName.Name = "entryName";
67 this.entryName.IsEditable = true;
68 this.entryName.InvisibleChar = '●';
69 this.hboxName.Add(this.entryName);
70 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hboxName[this.entryName]));
71 w3.Position = 1;
72 this.vboxContent.Add(this.hboxName);
73 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vboxContent[this.hboxName]));
74 w4.Position = 0;
75 w4.Expand = false;
76 w4.Fill = false;
77 // Container child vboxContent.Gtk.Box+BoxChild
78 this.hboxWarning = new Gtk.HBox();
79 this.hboxWarning.Name = "hboxWarning";
80 this.hboxWarning.Spacing = 6;
81 // Container child hboxWarning.Gtk.Box+BoxChild
82 this.imageWarning = new Gtk.Image();
83 this.imageWarning.Name = "imageWarning";
84 this.imageWarning.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Menu, 16);
85 this.hboxWarning.Add(this.imageWarning);
86 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hboxWarning[this.imageWarning]));
87 w5.Position = 0;
88 w5.Expand = false;
89 w5.Fill = false;
90 // Container child hboxWarning.Gtk.Box+BoxChild
91 this.labelWarning = new Gtk.Label();
92 this.labelWarning.Name = "labelWarning";
93 this.labelWarning.Xalign = 0F;
94 this.hboxWarning.Add(this.labelWarning);
95 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hboxWarning[this.labelWarning]));
96 w6.Position = 1;
97 this.vboxContent.Add(this.hboxWarning);
98 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vboxContent[this.hboxWarning]));
99 w7.Position = 2;
100 w7.Expand = false;
101 w7.Fill = false;
102 w1.Add(this.vboxContent);
103 Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.vboxContent]));
104 w8.Position = 0;
105 // Internal child MonoDevelop.Database.Designer.ViewEditorDialog.ActionArea
106 Gtk.HButtonBox w9 = this.ActionArea;
107 w9.Name = "dialog1_ActionArea";
108 w9.Spacing = 6;
109 w9.BorderWidth = ((uint)(5));
110 w9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
111 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
112 this.buttonCancel = new Gtk.Button();
113 this.buttonCancel.CanDefault = true;
114 this.buttonCancel.CanFocus = true;
115 this.buttonCancel.Name = "buttonCancel";
116 this.buttonCancel.UseStock = true;
117 this.buttonCancel.UseUnderline = true;
118 this.buttonCancel.Label = "gtk-cancel";
119 this.AddActionWidget(this.buttonCancel, -6);
120 Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
121 w10.Expand = false;
122 w10.Fill = false;
123 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
124 this.buttonOk = new Gtk.Button();
125 this.buttonOk.Sensitive = false;
126 this.buttonOk.CanDefault = true;
127 this.buttonOk.CanFocus = true;
128 this.buttonOk.Name = "buttonOk";
129 this.buttonOk.UseStock = true;
130 this.buttonOk.UseUnderline = true;
131 this.buttonOk.Label = "gtk-ok";
132 this.AddActionWidget(this.buttonOk, -5);
133 Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
134 w11.Position = 1;
135 w11.Expand = false;
136 w11.Fill = false;
137 if ((this.Child != null)) {
138 this.Child.ShowAll();
140 this.DefaultWidth = 640;
141 this.DefaultHeight = 480;
142 this.Show();
143 this.entryName.Changed += new System.EventHandler(this.NameChanged);
144 this.buttonCancel.Clicked += new System.EventHandler(this.CancelClicked);
145 this.buttonOk.Clicked += new System.EventHandler(this.OkClicked);