* Makefile.am:
[monodevelop.git] / extras / MonoDevelop.Database / MonoDevelop.Database.Designer / gtk-gui / MonoDevelop.Database.Designer.TriggersEditorWidget.cs
blob65c4014a510236ec800029d2d5af445be96f75c8
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 TriggersEditorWidget {
16 private Gtk.VPaned vpaned;
18 private Gtk.HBox hbox;
20 private Gtk.ScrolledWindow windowTriggers;
22 private Gtk.TreeView listTriggers;
24 private Gtk.VButtonBox vbuttonbox;
26 private Gtk.Button buttonAdd;
28 private Gtk.Button buttonRemove;
30 private Gtk.Frame frame;
32 private Gtk.Alignment alignment;
34 private MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;
36 private Gtk.Label GtkLabel2;
38 protected virtual void Build() {
39 Stetic.Gui.Initialize(this);
40 // Widget MonoDevelop.Database.Designer.TriggersEditorWidget
41 Stetic.BinContainer.Attach(this);
42 this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget";
43 // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild
44 this.vpaned = new Gtk.VPaned();
45 this.vpaned.CanFocus = true;
46 this.vpaned.Name = "vpaned";
47 this.vpaned.Position = 205;
48 // Container child vpaned.Gtk.Paned+PanedChild
49 this.hbox = new Gtk.HBox();
50 this.hbox.Name = "hbox";
51 this.hbox.Spacing = 6;
52 // Container child hbox.Gtk.Box+BoxChild
53 this.windowTriggers = new Gtk.ScrolledWindow();
54 this.windowTriggers.CanFocus = true;
55 this.windowTriggers.Name = "windowTriggers";
56 this.windowTriggers.ShadowType = ((Gtk.ShadowType)(1));
57 // Container child windowTriggers.Gtk.Container+ContainerChild
58 this.listTriggers = new Gtk.TreeView();
59 this.listTriggers.CanFocus = true;
60 this.listTriggers.Name = "listTriggers";
61 this.windowTriggers.Add(this.listTriggers);
62 this.hbox.Add(this.windowTriggers);
63 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox[this.windowTriggers]));
64 w2.Position = 0;
65 // Container child hbox.Gtk.Box+BoxChild
66 this.vbuttonbox = new Gtk.VButtonBox();
67 this.vbuttonbox.Name = "vbuttonbox";
68 this.vbuttonbox.Spacing = 6;
69 this.vbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
70 // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
71 this.buttonAdd = new Gtk.Button();
72 this.buttonAdd.CanFocus = true;
73 this.buttonAdd.Name = "buttonAdd";
74 this.buttonAdd.UseStock = true;
75 this.buttonAdd.UseUnderline = true;
76 this.buttonAdd.Label = "gtk-add";
77 this.vbuttonbox.Add(this.buttonAdd);
78 Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
79 w3.Expand = false;
80 w3.Fill = false;
81 // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
82 this.buttonRemove = new Gtk.Button();
83 this.buttonRemove.Sensitive = false;
84 this.buttonRemove.CanFocus = true;
85 this.buttonRemove.Name = "buttonRemove";
86 this.buttonRemove.UseStock = true;
87 this.buttonRemove.UseUnderline = true;
88 this.buttonRemove.Label = "gtk-remove";
89 this.vbuttonbox.Add(this.buttonRemove);
90 Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
91 w4.Position = 1;
92 w4.Expand = false;
93 w4.Fill = false;
94 this.hbox.Add(this.vbuttonbox);
95 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
96 w5.Position = 1;
97 w5.Expand = false;
98 w5.Fill = false;
99 this.vpaned.Add(this.hbox);
100 Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
101 w6.Resize = false;
102 // Container child vpaned.Gtk.Paned+PanedChild
103 this.frame = new Gtk.Frame();
104 this.frame.Name = "frame";
105 this.frame.ShadowType = ((Gtk.ShadowType)(0));
106 // Container child frame.Gtk.Container+ContainerChild
107 this.alignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
108 this.alignment.Name = "alignment";
109 this.alignment.LeftPadding = ((uint)(12));
110 // Container child alignment.Gtk.Container+ContainerChild
111 this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget();
112 this.sqlEditor.HeightRequest = 80;
113 this.sqlEditor.Events = ((Gdk.EventMask)(256));
114 this.sqlEditor.Name = "sqlEditor";
115 this.sqlEditor.Editable = false;
116 this.alignment.Add(this.sqlEditor);
117 this.frame.Add(this.alignment);
118 this.GtkLabel2 = new Gtk.Label();
119 this.GtkLabel2.Name = "GtkLabel2";
120 this.GtkLabel2.LabelProp = AddinCatalog.GetString("Statement");
121 this.GtkLabel2.UseMarkup = true;
122 this.frame.LabelWidget = this.GtkLabel2;
123 this.vpaned.Add(this.frame);
124 this.Add(this.vpaned);
125 if ((this.Child != null)) {
126 this.Child.ShowAll();
128 this.Show();
129 this.buttonAdd.Clicked += new System.EventHandler(this.AddClicked);
130 this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked);