* Makefile.am:
[monodevelop.git] / extras / MonoDevelop.Database / MonoDevelop.Database.Designer / gtk-gui / MonoDevelop.Database.Designer.TableEditorDialog.cs
blob0b9841ffe1a8cc806827df1c2d1c4838204c54bb
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 TableEditorDialog {
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.CheckButton checkPreview;
32 private Gtk.Button buttonCancel;
34 private Gtk.Button buttonOk;
36 protected virtual void Build() {
37 Stetic.Gui.Initialize(this);
38 // Widget MonoDevelop.Database.Designer.TableEditorDialog
39 this.Name = "MonoDevelop.Database.Designer.TableEditorDialog";
40 this.Title = AddinCatalog.GetString("Edit Table");
41 this.TypeHint = ((Gdk.WindowTypeHint)(1));
42 this.WindowPosition = ((Gtk.WindowPosition)(1));
43 this.SkipTaskbarHint = true;
44 this.HasSeparator = false;
45 // Internal child MonoDevelop.Database.Designer.TableEditorDialog.VBox
46 Gtk.VBox w1 = this.VBox;
47 w1.Name = "dialog1_VBox";
48 w1.BorderWidth = ((uint)(2));
49 // Container child dialog1_VBox.Gtk.Box+BoxChild
50 this.vboxContent = new Gtk.VBox();
51 this.vboxContent.Name = "vboxContent";
52 this.vboxContent.Spacing = 6;
53 this.vboxContent.BorderWidth = ((uint)(6));
54 // Container child vboxContent.Gtk.Box+BoxChild
55 this.hboxName = new Gtk.HBox();
56 this.hboxName.Name = "hboxName";
57 this.hboxName.Spacing = 6;
58 // Container child hboxName.Gtk.Box+BoxChild
59 this.label7 = new Gtk.Label();
60 this.label7.Name = "label7";
61 this.label7.Xalign = 0F;
62 this.label7.LabelProp = AddinCatalog.GetString("Name");
63 this.hboxName.Add(this.label7);
64 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hboxName[this.label7]));
65 w2.Position = 0;
66 w2.Expand = false;
67 w2.Fill = false;
68 // Container child hboxName.Gtk.Box+BoxChild
69 this.entryName = new Gtk.Entry();
70 this.entryName.CanFocus = true;
71 this.entryName.Name = "entryName";
72 this.entryName.IsEditable = true;
73 this.entryName.InvisibleChar = '●';
74 this.hboxName.Add(this.entryName);
75 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hboxName[this.entryName]));
76 w3.Position = 1;
77 this.vboxContent.Add(this.hboxName);
78 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vboxContent[this.hboxName]));
79 w4.Position = 0;
80 w4.Expand = false;
81 w4.Fill = false;
82 // Container child vboxContent.Gtk.Box+BoxChild
83 this.hboxWarning = new Gtk.HBox();
84 this.hboxWarning.Name = "hboxWarning";
85 this.hboxWarning.Spacing = 6;
86 // Container child hboxWarning.Gtk.Box+BoxChild
87 this.imageWarning = new Gtk.Image();
88 this.imageWarning.Name = "imageWarning";
89 this.imageWarning.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Menu, 16);
90 this.hboxWarning.Add(this.imageWarning);
91 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hboxWarning[this.imageWarning]));
92 w5.Position = 0;
93 w5.Expand = false;
94 w5.Fill = false;
95 // Container child hboxWarning.Gtk.Box+BoxChild
96 this.labelWarning = new Gtk.Label();
97 this.labelWarning.Name = "labelWarning";
98 this.labelWarning.Xalign = 0F;
99 this.hboxWarning.Add(this.labelWarning);
100 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hboxWarning[this.labelWarning]));
101 w6.Position = 1;
102 this.vboxContent.Add(this.hboxWarning);
103 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vboxContent[this.hboxWarning]));
104 w7.PackType = ((Gtk.PackType)(1));
105 w7.Position = 2;
106 w7.Expand = false;
107 w7.Fill = false;
108 // Container child vboxContent.Gtk.Box+BoxChild
109 this.checkPreview = new Gtk.CheckButton();
110 this.checkPreview.CanFocus = true;
111 this.checkPreview.Name = "checkPreview";
112 this.checkPreview.Label = AddinCatalog.GetString("Preview SQL");
113 this.checkPreview.Active = true;
114 this.checkPreview.DrawIndicator = true;
115 this.checkPreview.UseUnderline = true;
116 this.vboxContent.Add(this.checkPreview);
117 Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vboxContent[this.checkPreview]));
118 w8.PackType = ((Gtk.PackType)(1));
119 w8.Position = 3;
120 w8.Expand = false;
121 w8.Fill = false;
122 w1.Add(this.vboxContent);
123 Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.vboxContent]));
124 w9.Position = 0;
125 // Internal child MonoDevelop.Database.Designer.TableEditorDialog.ActionArea
126 Gtk.HButtonBox w10 = this.ActionArea;
127 w10.Name = "dialog1_ActionArea";
128 w10.Spacing = 6;
129 w10.BorderWidth = ((uint)(5));
130 w10.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
131 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
132 this.buttonCancel = new Gtk.Button();
133 this.buttonCancel.CanDefault = true;
134 this.buttonCancel.CanFocus = true;
135 this.buttonCancel.Name = "buttonCancel";
136 this.buttonCancel.UseStock = true;
137 this.buttonCancel.UseUnderline = true;
138 this.buttonCancel.Label = "gtk-cancel";
139 this.AddActionWidget(this.buttonCancel, -6);
140 Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonCancel]));
141 w11.Expand = false;
142 w11.Fill = false;
143 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
144 this.buttonOk = new Gtk.Button();
145 this.buttonOk.Sensitive = false;
146 this.buttonOk.CanDefault = true;
147 this.buttonOk.CanFocus = true;
148 this.buttonOk.Name = "buttonOk";
149 this.buttonOk.UseStock = true;
150 this.buttonOk.UseUnderline = true;
151 this.buttonOk.Label = "gtk-ok";
152 this.AddActionWidget(this.buttonOk, -5);
153 Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk]));
154 w12.Position = 1;
155 w12.Expand = false;
156 w12.Fill = false;
157 if ((this.Child != null)) {
158 this.Child.ShowAll();
160 this.DefaultWidth = 640;
161 this.DefaultHeight = 480;
162 this.Show();
163 this.entryName.Changed += new System.EventHandler(this.NameChanged);
164 this.buttonCancel.Clicked += new System.EventHandler(this.CancelClicked);
165 this.buttonOk.Clicked += new System.EventHandler(this.OkClicked);