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

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/gtk-gui/MonoDevelop.Refactoring.EncapsulateFieldDialog.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 EncapsulateFieldDialog
6
6
        {
7
7
                private global::Gtk.VBox vbox;
8
 
 
9
8
                private global::Gtk.ScrolledWindow GtkScrolledWindow;
10
 
 
11
9
                private global::Gtk.TreeView treeview;
12
 
 
13
10
                private global::Gtk.HBox hbox1;
14
 
 
15
11
                private global::Gtk.Button buttonSelectAll;
16
 
 
17
12
                private global::Gtk.Button buttonUnselectAll;
18
 
 
19
13
                private global::Gtk.HSeparator hseparator2;
20
 
 
21
14
                private global::Gtk.Label labelUpdateRefs;
22
 
 
23
15
                private global::Gtk.HBox hboxUpdateRefs;
24
 
 
25
16
                private global::Gtk.Label labelSpacer;
26
 
 
27
17
                private global::Gtk.VBox vboxUpdateChoices;
28
 
 
29
18
                private global::Gtk.RadioButton radioUpdateExternal;
30
 
 
31
19
                private global::Gtk.RadioButton radioUpdateAll;
32
 
 
33
20
                private global::Gtk.HBox hbox2;
34
 
 
35
21
                private global::Gtk.Image imageError;
36
 
 
37
22
                private global::Gtk.Label labelError;
38
 
 
39
23
                private global::Gtk.Button buttonCancel;
40
 
 
41
24
                private global::Gtk.Button buttonOk;
42
25
 
43
26
                protected virtual void Build ()
69
52
                        this.treeview.Name = "treeview";
70
53
                        this.GtkScrolledWindow.Add (this.treeview);
71
54
                        this.vbox.Add (this.GtkScrolledWindow);
72
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox[this.GtkScrolledWindow]));
 
55
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.GtkScrolledWindow]));
73
56
                        w3.Position = 0;
74
57
                        // Container child vbox.Gtk.Box+BoxChild
75
58
                        this.hbox1 = new global::Gtk.HBox ();
82
65
                        this.buttonSelectAll.UseUnderline = true;
83
66
                        this.buttonSelectAll.Label = global::Mono.Unix.Catalog.GetString ("Select All");
84
67
                        this.hbox1.Add (this.buttonSelectAll);
85
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonSelectAll]));
 
68
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSelectAll]));
86
69
                        w4.Position = 0;
87
70
                        w4.Expand = false;
88
71
                        w4.Fill = false;
93
76
                        this.buttonUnselectAll.UseUnderline = true;
94
77
                        this.buttonUnselectAll.Label = global::Mono.Unix.Catalog.GetString ("Unselect All");
95
78
                        this.hbox1.Add (this.buttonUnselectAll);
96
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.buttonUnselectAll]));
 
79
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonUnselectAll]));
97
80
                        w5.Position = 1;
98
81
                        w5.Expand = false;
99
82
                        w5.Fill = false;
100
83
                        this.vbox.Add (this.hbox1);
101
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox[this.hbox1]));
 
84
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox1]));
102
85
                        w6.Position = 1;
103
86
                        w6.Expand = false;
104
87
                        w6.Fill = false;
106
89
                        this.hseparator2 = new global::Gtk.HSeparator ();
107
90
                        this.hseparator2.Name = "hseparator2";
108
91
                        this.vbox.Add (this.hseparator2);
109
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox[this.hseparator2]));
 
92
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hseparator2]));
110
93
                        w7.Position = 2;
111
94
                        w7.Expand = false;
112
95
                        w7.Fill = false;
113
96
                        // Container child vbox.Gtk.Box+BoxChild
114
97
                        this.labelUpdateRefs = new global::Gtk.Label ();
115
98
                        this.labelUpdateRefs.Name = "labelUpdateRefs";
116
 
                        this.labelUpdateRefs.Xalign = 0f;
 
99
                        this.labelUpdateRefs.Xalign = 0F;
117
100
                        this.labelUpdateRefs.LabelProp = global::Mono.Unix.Catalog.GetString ("_Update references:");
118
101
                        this.labelUpdateRefs.UseUnderline = true;
119
102
                        this.vbox.Add (this.labelUpdateRefs);
120
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox[this.labelUpdateRefs]));
 
103
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox [this.labelUpdateRefs]));
121
104
                        w8.Position = 3;
122
105
                        w8.Expand = false;
123
106
                        w8.Fill = false;
128
111
                        // Container child hboxUpdateRefs.Gtk.Box+BoxChild
129
112
                        this.labelSpacer = new global::Gtk.Label ();
130
113
                        this.labelSpacer.Name = "labelSpacer";
131
 
                        this.labelSpacer.Xalign = 0f;
 
114
                        this.labelSpacer.Xalign = 0F;
132
115
                        this.hboxUpdateRefs.Add (this.labelSpacer);
133
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateRefs[this.labelSpacer]));
 
116
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateRefs [this.labelSpacer]));
134
117
                        w9.Position = 0;
135
118
                        w9.Expand = false;
136
119
                        w9.Fill = false;
147
130
                        this.radioUpdateExternal.UseUnderline = true;
148
131
                        this.radioUpdateExternal.Group = new global::GLib.SList (global::System.IntPtr.Zero);
149
132
                        this.vboxUpdateChoices.Add (this.radioUpdateExternal);
150
 
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxUpdateChoices[this.radioUpdateExternal]));
 
133
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vboxUpdateChoices [this.radioUpdateExternal]));
151
134
                        w10.Position = 0;
152
135
                        w10.Expand = false;
153
136
                        w10.Fill = false;
159
142
                        this.radioUpdateAll.UseUnderline = true;
160
143
                        this.radioUpdateAll.Group = this.radioUpdateExternal.Group;
161
144
                        this.vboxUpdateChoices.Add (this.radioUpdateAll);
162
 
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxUpdateChoices[this.radioUpdateAll]));
 
145
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxUpdateChoices [this.radioUpdateAll]));
163
146
                        w11.Position = 1;
164
147
                        w11.Expand = false;
165
148
                        w11.Fill = false;
166
149
                        this.hboxUpdateRefs.Add (this.vboxUpdateChoices);
167
 
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateRefs[this.vboxUpdateChoices]));
 
150
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxUpdateRefs [this.vboxUpdateChoices]));
168
151
                        w12.Position = 1;
169
152
                        this.vbox.Add (this.hboxUpdateRefs);
170
 
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox[this.hboxUpdateRefs]));
 
153
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hboxUpdateRefs]));
171
154
                        w13.Position = 4;
172
155
                        w13.Expand = false;
173
156
                        w13.Fill = false;
179
162
                        this.imageError = new global::Gtk.Image ();
180
163
                        this.imageError.Name = "imageError";
181
164
                        this.hbox2.Add (this.imageError);
182
 
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.imageError]));
 
165
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.imageError]));
183
166
                        w14.Position = 0;
184
167
                        w14.Expand = false;
185
168
                        w14.Fill = false;
187
170
                        this.labelError = new global::Gtk.Label ();
188
171
                        this.labelError.Name = "labelError";
189
172
                        this.hbox2.Add (this.labelError);
190
 
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelError]));
 
173
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelError]));
191
174
                        w15.Position = 1;
192
175
                        w15.Expand = false;
193
176
                        w15.Fill = false;
194
177
                        this.vbox.Add (this.hbox2);
195
 
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox[this.hbox2]));
 
178
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox2]));
196
179
                        w16.Position = 5;
197
180
                        w16.Expand = false;
198
181
                        w16.Fill = false;
199
182
                        w1.Add (this.vbox);
200
 
                        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1[this.vbox]));
 
183
                        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox]));
201
184
                        w17.Position = 0;
202
185
                        // Internal child MonoDevelop.Refactoring.EncapsulateFieldDialog.ActionArea
203
186
                        global::Gtk.HButtonBox w18 = this.ActionArea;
214
197
                        this.buttonCancel.UseUnderline = true;
215
198
                        this.buttonCancel.Label = "gtk-cancel";
216
199
                        this.AddActionWidget (this.buttonCancel, -6);
217
 
                        global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel]));
 
200
                        global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonCancel]));
218
201
                        w19.Expand = false;
219
202
                        w19.Fill = false;
220
203
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
226
209
                        this.buttonOk.UseUnderline = true;
227
210
                        this.buttonOk.Label = "gtk-ok";
228
211
                        this.AddActionWidget (this.buttonOk, -5);
229
 
                        global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk]));
 
212
                        global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonOk]));
230
213
                        w20.Position = 1;
231
214
                        w20.Expand = false;
232
215
                        w20.Fill = false;
235
218
                        }
236
219
                        this.DefaultWidth = 465;
237
220
                        this.DefaultHeight = 427;
238
 
                        this.Show ();
 
221
                        this.Hide ();
239
222
                }
240
223
        }
241
224
}