~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.XmlEditor/gtk-gui/MonoDevelop.XmlEditor.Gui.XmlSchemasPanelWidget.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        public partial class XmlSchemasPanelWidget
6
6
        {
7
7
                private global::Gtk.VBox vbox1;
8
 
 
9
8
                private global::Gtk.Label label1;
10
 
 
11
9
                private global::Gtk.HBox hbox1;
12
 
 
13
10
                private global::Gtk.ScrolledWindow GtkScrolledWindow;
14
 
 
15
11
                private global::Gtk.TreeView registeredSchemasView;
16
 
 
17
12
                private global::Gtk.VBox vbox2;
18
 
 
19
13
                private global::Gtk.Button registeredSchemasAddButton;
20
 
 
21
14
                private global::Gtk.Button registeredSchemasRemoveButton;
22
 
 
23
15
                private global::Gtk.Label label3;
24
 
 
25
16
                private global::Gtk.Label label2;
26
 
 
27
17
                private global::Gtk.HBox hbox2;
28
 
 
29
18
                private global::Gtk.ScrolledWindow GtkScrolledWindow1;
30
 
 
31
19
                private global::Gtk.TreeView defaultAssociationsView;
32
 
 
33
20
                private global::Gtk.VBox vbox3;
34
 
 
35
21
                private global::Gtk.Button defaultAssociationsAddButton;
36
 
 
37
22
                private global::Gtk.Button defaultAssociationsRemoveButton;
38
23
 
39
24
                protected virtual void Build ()
49
34
                        // Container child vbox1.Gtk.Box+BoxChild
50
35
                        this.label1 = new global::Gtk.Label ();
51
36
                        this.label1.Name = "label1";
52
 
                        this.label1.Xalign = 0f;
 
37
                        this.label1.Xalign = 0F;
53
38
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Registered Schemas</b>");
54
39
                        this.label1.UseMarkup = true;
55
40
                        this.vbox1.Add (this.label1);
56
 
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label1]));
 
41
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1]));
57
42
                        w1.Position = 0;
58
43
                        w1.Expand = false;
59
44
                        w1.Fill = false;
71
56
                        this.registeredSchemasView.Name = "registeredSchemasView";
72
57
                        this.GtkScrolledWindow.Add (this.registeredSchemasView);
73
58
                        this.hbox1.Add (this.GtkScrolledWindow);
74
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
 
59
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow]));
75
60
                        w3.Position = 0;
76
61
                        // Container child hbox1.Gtk.Box+BoxChild
77
62
                        this.vbox2 = new global::Gtk.VBox ();
85
70
                        this.registeredSchemasAddButton.UseUnderline = true;
86
71
                        this.registeredSchemasAddButton.Label = "gtk-add";
87
72
                        this.vbox2.Add (this.registeredSchemasAddButton);
88
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.registeredSchemasAddButton]));
 
73
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.registeredSchemasAddButton]));
89
74
                        w4.Position = 0;
90
75
                        w4.Expand = false;
91
76
                        w4.Fill = false;
97
82
                        this.registeredSchemasRemoveButton.UseUnderline = true;
98
83
                        this.registeredSchemasRemoveButton.Label = "gtk-remove";
99
84
                        this.vbox2.Add (this.registeredSchemasRemoveButton);
100
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.registeredSchemasRemoveButton]));
 
85
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.registeredSchemasRemoveButton]));
101
86
                        w5.Position = 1;
102
87
                        w5.Expand = false;
103
88
                        w5.Fill = false;
104
89
                        this.hbox1.Add (this.vbox2);
105
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
 
90
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
106
91
                        w6.Position = 1;
107
92
                        w6.Expand = false;
108
93
                        w6.Fill = false;
109
94
                        this.vbox1.Add (this.hbox1);
110
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
 
95
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
111
96
                        w7.Position = 1;
112
97
                        // Container child vbox1.Gtk.Box+BoxChild
113
98
                        this.label3 = new global::Gtk.Label ();
114
99
                        this.label3.Name = "label3";
115
100
                        this.vbox1.Add (this.label3);
116
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label3]));
 
101
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label3]));
117
102
                        w8.Position = 2;
118
103
                        w8.Expand = false;
119
104
                        w8.Fill = false;
120
105
                        // Container child vbox1.Gtk.Box+BoxChild
121
106
                        this.label2 = new global::Gtk.Label ();
122
107
                        this.label2.Name = "label2";
123
 
                        this.label2.Xalign = 0f;
 
108
                        this.label2.Xalign = 0F;
124
109
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Default File Associations</b>");
125
110
                        this.label2.UseMarkup = true;
126
111
                        this.vbox1.Add (this.label2);
127
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.label2]));
 
112
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label2]));
128
113
                        w9.Position = 3;
129
114
                        w9.Expand = false;
130
115
                        w9.Fill = false;
142
127
                        this.defaultAssociationsView.Name = "defaultAssociationsView";
143
128
                        this.GtkScrolledWindow1.Add (this.defaultAssociationsView);
144
129
                        this.hbox2.Add (this.GtkScrolledWindow1);
145
 
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow1]));
 
130
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow1]));
146
131
                        w11.Position = 0;
147
132
                        // Container child hbox2.Gtk.Box+BoxChild
148
133
                        this.vbox3 = new global::Gtk.VBox ();
156
141
                        this.defaultAssociationsAddButton.UseUnderline = true;
157
142
                        this.defaultAssociationsAddButton.Label = "gtk-add";
158
143
                        this.vbox3.Add (this.defaultAssociationsAddButton);
159
 
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.defaultAssociationsAddButton]));
 
144
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.defaultAssociationsAddButton]));
160
145
                        w12.Position = 0;
161
146
                        w12.Expand = false;
162
147
                        w12.Fill = false;
168
153
                        this.defaultAssociationsRemoveButton.UseUnderline = true;
169
154
                        this.defaultAssociationsRemoveButton.Label = "gtk-remove";
170
155
                        this.vbox3.Add (this.defaultAssociationsRemoveButton);
171
 
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.defaultAssociationsRemoveButton]));
 
156
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.defaultAssociationsRemoveButton]));
172
157
                        w13.Position = 1;
173
158
                        w13.Expand = false;
174
159
                        w13.Fill = false;
175
160
                        this.hbox2.Add (this.vbox3);
176
 
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3]));
 
161
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
177
162
                        w14.Position = 1;
178
163
                        w14.Expand = false;
179
164
                        w14.Fill = false;
180
165
                        this.vbox1.Add (this.hbox2);
181
 
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
 
166
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
182
167
                        w15.Position = 4;
183
168
                        this.Add (this.vbox1);
184
169
                        if ((this.Child != null)) {