File: MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.cs

package info (click to toggle)
monodevelop-database 1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,240 kB
  • ctags: 3,403
  • sloc: cs: 19,989; xml: 810; makefile: 649; sh: 540
file content (118 lines) | stat: -rw-r--r-- 5,427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace MonoDevelop.Database.Designer {
    
    
    public partial class UniqueConstraintEditorWidget {
        
        private Gtk.HPaned hpaned;
        
        private Gtk.VBox vbox3;
        
        private Gtk.ScrolledWindow windowPK;
        
        private Gtk.TreeView listUnique;
        
        private Gtk.HButtonBox hbuttonbox;
        
        private Gtk.Button buttonAdd;
        
        private Gtk.Button buttonRemove;
        
        private MonoDevelop.Database.Components.SelectColumnWidget columnSelecter;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget MonoDevelop.Database.Designer.UniqueConstraintEditorWidget
            Stetic.BinContainer.Attach(this);
            this.Name = "MonoDevelop.Database.Designer.UniqueConstraintEditorWidget";
            // Container child MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.Gtk.Container+ContainerChild
            this.hpaned = new Gtk.HPaned();
            this.hpaned.CanFocus = true;
            this.hpaned.Name = "hpaned";
            this.hpaned.Position = 304;
            // Container child hpaned.Gtk.Paned+PanedChild
            this.vbox3 = new Gtk.VBox();
            this.vbox3.Name = "vbox3";
            this.vbox3.Spacing = 6;
            // Container child vbox3.Gtk.Box+BoxChild
            this.windowPK = new Gtk.ScrolledWindow();
            this.windowPK.CanFocus = true;
            this.windowPK.Name = "windowPK";
            this.windowPK.VscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.windowPK.HscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.windowPK.ShadowType = ((Gtk.ShadowType)(1));
            // Container child windowPK.Gtk.Container+ContainerChild
            this.listUnique = new Gtk.TreeView();
            this.listUnique.CanFocus = true;
            this.listUnique.Name = "listUnique";
            this.listUnique.HeadersClickable = true;
            this.windowPK.Add(this.listUnique);
            this.vbox3.Add(this.windowPK);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox3[this.windowPK]));
            w2.Position = 0;
            // Container child vbox3.Gtk.Box+BoxChild
            this.hbuttonbox = new Gtk.HButtonBox();
            this.hbuttonbox.Name = "hbuttonbox";
            this.hbuttonbox.Spacing = 6;
            this.hbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
            // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonAdd = new Gtk.Button();
            this.buttonAdd.CanFocus = true;
            this.buttonAdd.Name = "buttonAdd";
            this.buttonAdd.UseStock = true;
            this.buttonAdd.UseUnderline = true;
            this.buttonAdd.Label = "gtk-add";
            this.hbuttonbox.Add(this.buttonAdd);
            Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd]));
            w3.Expand = false;
            w3.Fill = false;
            // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonRemove = new Gtk.Button();
            this.buttonRemove.Sensitive = false;
            this.buttonRemove.CanFocus = true;
            this.buttonRemove.Name = "buttonRemove";
            this.buttonRemove.UseStock = true;
            this.buttonRemove.UseUnderline = true;
            this.buttonRemove.Label = "gtk-remove";
            this.hbuttonbox.Add(this.buttonRemove);
            Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove]));
            w4.Position = 1;
            w4.Expand = false;
            w4.Fill = false;
            this.vbox3.Add(this.hbuttonbox);
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox]));
            w5.Position = 1;
            w5.Expand = false;
            w5.Fill = false;
            this.hpaned.Add(this.vbox3);
            Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned[this.vbox3]));
            w6.Resize = false;
            // Container child hpaned.Gtk.Paned+PanedChild
            this.columnSelecter = new MonoDevelop.Database.Components.SelectColumnWidget();
            this.columnSelecter.Sensitive = false;
            this.columnSelecter.CanFocus = true;
            this.columnSelecter.Name = "columnSelecter";
            this.columnSelecter.VscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.columnSelecter.HscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.columnSelecter.ShadowType = ((Gtk.ShadowType)(1));
            this.columnSelecter.SingleCheck = false;
            this.hpaned.Add(this.columnSelecter);
            this.Add(this.hpaned);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.buttonAdd.Clicked += new System.EventHandler(this.AddClicked);
            this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked);
        }
    }
}