1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace MonoDevelop.Refactoring.IntroduceConstant {
13
public partial class IntroduceConstantDialog {
15
private Gtk.VBox vbox2;
17
private Gtk.Table table1;
19
private Gtk.ComboBox comboboxModifiers;
21
private Gtk.Entry entry;
23
private Gtk.Label label1;
25
private Gtk.Label labelNewName;
27
private Gtk.HBox hbox3;
29
private Gtk.Image imageWarning;
31
private Gtk.Label labelWarning;
33
private Gtk.Button buttonCancel;
35
private Gtk.Button buttonPreview;
37
private Gtk.Button buttonOk;
39
protected virtual void Build() {
40
Stetic.Gui.Initialize(this);
41
// Widget MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog
42
this.Name = "MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog";
43
this.Title = Mono.Unix.Catalog.GetString("Introduce Constant");
44
this.WindowPosition = ((Gtk.WindowPosition)(1));
45
this.BorderWidth = ((uint)(6));
46
// Internal child MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.VBox
47
Gtk.VBox w1 = this.VBox;
48
w1.Name = "dialog1_VBox";
49
w1.BorderWidth = ((uint)(2));
50
// Container child dialog1_VBox.Gtk.Box+BoxChild
51
this.vbox2 = new Gtk.VBox();
52
this.vbox2.Name = "vbox2";
53
this.vbox2.Spacing = 6;
54
this.vbox2.BorderWidth = ((uint)(6));
55
// Container child vbox2.Gtk.Box+BoxChild
56
this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
57
this.table1.Name = "table1";
58
this.table1.RowSpacing = ((uint)(6));
59
this.table1.ColumnSpacing = ((uint)(6));
60
// Container child table1.Gtk.Table+TableChild
61
this.comboboxModifiers = Gtk.ComboBox.NewText();
62
this.comboboxModifiers.Name = "comboboxModifiers";
63
this.table1.Add(this.comboboxModifiers);
64
Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.comboboxModifiers]));
65
w2.TopAttach = ((uint)(1));
66
w2.BottomAttach = ((uint)(2));
67
w2.LeftAttach = ((uint)(1));
68
w2.RightAttach = ((uint)(2));
69
w2.XOptions = ((Gtk.AttachOptions)(4));
70
w2.YOptions = ((Gtk.AttachOptions)(4));
71
// Container child table1.Gtk.Table+TableChild
72
this.entry = new Gtk.Entry();
73
this.entry.CanFocus = true;
74
this.entry.Name = "entry";
75
this.entry.IsEditable = true;
76
this.entry.InvisibleChar = '●';
77
this.table1.Add(this.entry);
78
Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.entry]));
79
w3.LeftAttach = ((uint)(1));
80
w3.RightAttach = ((uint)(2));
81
w3.YOptions = ((Gtk.AttachOptions)(4));
82
// Container child table1.Gtk.Table+TableChild
83
this.label1 = new Gtk.Label();
84
this.label1.Name = "label1";
85
this.label1.Xalign = 0F;
86
this.label1.LabelProp = Mono.Unix.Catalog.GetString("_Access modifier:");
87
this.label1.UseUnderline = true;
88
this.table1.Add(this.label1);
89
Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
90
w4.TopAttach = ((uint)(1));
91
w4.BottomAttach = ((uint)(2));
92
w4.XOptions = ((Gtk.AttachOptions)(4));
93
w4.YOptions = ((Gtk.AttachOptions)(4));
94
// Container child table1.Gtk.Table+TableChild
95
this.labelNewName = new Gtk.Label();
96
this.labelNewName.Name = "labelNewName";
97
this.labelNewName.Xalign = 0F;
98
this.labelNewName.LabelProp = Mono.Unix.Catalog.GetString("_Constant name:");
99
this.labelNewName.UseUnderline = true;
100
this.table1.Add(this.labelNewName);
101
Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.labelNewName]));
102
w5.XOptions = ((Gtk.AttachOptions)(4));
103
w5.YOptions = ((Gtk.AttachOptions)(4));
104
this.vbox2.Add(this.table1);
105
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1]));
109
// Container child vbox2.Gtk.Box+BoxChild
110
this.hbox3 = new Gtk.HBox();
111
this.hbox3.Name = "hbox3";
112
this.hbox3.Spacing = 6;
113
// Container child hbox3.Gtk.Box+BoxChild
114
this.imageWarning = new Gtk.Image();
115
this.imageWarning.Name = "imageWarning";
116
this.imageWarning.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Button, 20);
117
this.hbox3.Add(this.imageWarning);
118
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.imageWarning]));
122
// Container child hbox3.Gtk.Box+BoxChild
123
this.labelWarning = new Gtk.Label();
124
this.labelWarning.Name = "labelWarning";
125
this.hbox3.Add(this.labelWarning);
126
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.labelWarning]));
130
this.vbox2.Add(this.hbox3);
131
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
136
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
140
// Internal child MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.ActionArea
141
Gtk.HButtonBox w11 = this.ActionArea;
142
w11.Name = "dialog1_ActionArea";
144
w11.BorderWidth = ((uint)(5));
145
w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
146
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
147
this.buttonCancel = new Gtk.Button();
148
this.buttonCancel.CanDefault = true;
149
this.buttonCancel.CanFocus = true;
150
this.buttonCancel.Name = "buttonCancel";
151
this.buttonCancel.UseStock = true;
152
this.buttonCancel.UseUnderline = true;
153
this.buttonCancel.Label = "gtk-cancel";
154
this.AddActionWidget(this.buttonCancel, -6);
155
Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel]));
158
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
159
this.buttonPreview = new Gtk.Button();
160
this.buttonPreview.CanFocus = true;
161
this.buttonPreview.Name = "buttonPreview";
162
this.buttonPreview.UseUnderline = true;
163
this.buttonPreview.Label = Mono.Unix.Catalog.GetString("_Preview");
164
this.AddActionWidget(this.buttonPreview, 0);
165
Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonPreview]));
169
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
170
this.buttonOk = new Gtk.Button();
171
this.buttonOk.CanDefault = true;
172
this.buttonOk.CanFocus = true;
173
this.buttonOk.Name = "buttonOk";
174
this.buttonOk.UseStock = true;
175
this.buttonOk.UseUnderline = true;
176
this.buttonOk.Label = "gtk-ok";
177
this.AddActionWidget(this.buttonOk, -5);
178
Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk]));
182
if ((this.Child != null)) {
183
this.Child.ShowAll();
185
this.DefaultWidth = 390;
186
this.DefaultHeight = 162;
187
this.labelNewName.MnemonicWidget = this.entry;
2
// This file has been generated by the GUI designer. Do not modify.
3
namespace MonoDevelop.Refactoring.IntroduceConstant
5
public partial class IntroduceConstantDialog
7
private global::Gtk.VBox vbox2;
9
private global::Gtk.Table table1;
11
private global::Gtk.ComboBox comboboxModifiers;
13
private global::Gtk.Entry entry;
15
private global::Gtk.Label label1;
17
private global::Gtk.Label labelNewName;
19
private global::Gtk.HBox hbox3;
21
private global::Gtk.Image imageWarning;
23
private global::Gtk.Label labelWarning;
25
private global::Gtk.Button buttonCancel;
27
private global::Gtk.Button buttonPreview;
29
private global::Gtk.Button buttonOk;
31
protected virtual void Build ()
33
global::Stetic.Gui.Initialize (this);
34
// Widget MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog
35
this.Name = "MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog";
36
this.Title = global::Mono.Unix.Catalog.GetString ("Introduce Constant");
37
this.WindowPosition = ((global::Gtk.WindowPosition)(1));
38
this.BorderWidth = ((uint)(6));
39
// Internal child MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.VBox
40
global::Gtk.VBox w1 = this.VBox;
41
w1.Name = "dialog1_VBox";
42
w1.BorderWidth = ((uint)(2));
43
// Container child dialog1_VBox.Gtk.Box+BoxChild
44
this.vbox2 = new global::Gtk.VBox ();
45
this.vbox2.Name = "vbox2";
46
this.vbox2.Spacing = 6;
47
this.vbox2.BorderWidth = ((uint)(6));
48
// Container child vbox2.Gtk.Box+BoxChild
49
this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
50
this.table1.Name = "table1";
51
this.table1.RowSpacing = ((uint)(6));
52
this.table1.ColumnSpacing = ((uint)(6));
53
// Container child table1.Gtk.Table+TableChild
54
this.comboboxModifiers = global::Gtk.ComboBox.NewText ();
55
this.comboboxModifiers.Name = "comboboxModifiers";
56
this.table1.Add (this.comboboxModifiers);
57
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxModifiers]));
58
w2.TopAttach = ((uint)(1));
59
w2.BottomAttach = ((uint)(2));
60
w2.LeftAttach = ((uint)(1));
61
w2.RightAttach = ((uint)(2));
62
w2.XOptions = ((global::Gtk.AttachOptions)(4));
63
w2.YOptions = ((global::Gtk.AttachOptions)(4));
64
// Container child table1.Gtk.Table+TableChild
65
this.entry = new global::Gtk.Entry ();
66
this.entry.CanFocus = true;
67
this.entry.Name = "entry";
68
this.entry.IsEditable = true;
69
this.entry.InvisibleChar = '●';
70
this.table1.Add (this.entry);
71
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entry]));
72
w3.LeftAttach = ((uint)(1));
73
w3.RightAttach = ((uint)(2));
74
w3.YOptions = ((global::Gtk.AttachOptions)(4));
75
// Container child table1.Gtk.Table+TableChild
76
this.label1 = new global::Gtk.Label ();
77
this.label1.Name = "label1";
78
this.label1.Xalign = 0f;
79
this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Access modifier:");
80
this.label1.UseUnderline = true;
81
this.table1.Add (this.label1);
82
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
83
w4.TopAttach = ((uint)(1));
84
w4.BottomAttach = ((uint)(2));
85
w4.XOptions = ((global::Gtk.AttachOptions)(4));
86
w4.YOptions = ((global::Gtk.AttachOptions)(4));
87
// Container child table1.Gtk.Table+TableChild
88
this.labelNewName = new global::Gtk.Label ();
89
this.labelNewName.Name = "labelNewName";
90
this.labelNewName.Xalign = 0f;
91
this.labelNewName.LabelProp = global::Mono.Unix.Catalog.GetString ("_Constant name:");
92
this.labelNewName.UseUnderline = true;
93
this.table1.Add (this.labelNewName);
94
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.labelNewName]));
95
w5.XOptions = ((global::Gtk.AttachOptions)(4));
96
w5.YOptions = ((global::Gtk.AttachOptions)(4));
97
this.vbox2.Add (this.table1);
98
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
102
// Container child vbox2.Gtk.Box+BoxChild
103
this.hbox3 = new global::Gtk.HBox ();
104
this.hbox3.Name = "hbox3";
105
this.hbox3.Spacing = 6;
106
// Container child hbox3.Gtk.Box+BoxChild
107
this.imageWarning = new global::Gtk.Image ();
108
this.imageWarning.Name = "imageWarning";
109
this.imageWarning.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button);
110
this.hbox3.Add (this.imageWarning);
111
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.imageWarning]));
115
// Container child hbox3.Gtk.Box+BoxChild
116
this.labelWarning = new global::Gtk.Label ();
117
this.labelWarning.Name = "labelWarning";
118
this.hbox3.Add (this.labelWarning);
119
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.labelWarning]));
123
this.vbox2.Add (this.hbox3);
124
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
129
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
133
// Internal child MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.ActionArea
134
global::Gtk.HButtonBox w11 = this.ActionArea;
135
w11.Name = "dialog1_ActionArea";
137
w11.BorderWidth = ((uint)(5));
138
w11.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
139
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
140
this.buttonCancel = new global::Gtk.Button ();
141
this.buttonCancel.CanDefault = true;
142
this.buttonCancel.CanFocus = true;
143
this.buttonCancel.Name = "buttonCancel";
144
this.buttonCancel.UseStock = true;
145
this.buttonCancel.UseUnderline = true;
146
this.buttonCancel.Label = "gtk-cancel";
147
this.AddActionWidget (this.buttonCancel, -6);
148
global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel]));
151
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
152
this.buttonPreview = new global::Gtk.Button ();
153
this.buttonPreview.CanFocus = true;
154
this.buttonPreview.Name = "buttonPreview";
155
this.buttonPreview.UseUnderline = true;
156
this.buttonPreview.Label = global::Mono.Unix.Catalog.GetString ("_Preview");
157
this.AddActionWidget (this.buttonPreview, 0);
158
global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonPreview]));
162
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
163
this.buttonOk = new global::Gtk.Button ();
164
this.buttonOk.CanDefault = true;
165
this.buttonOk.CanFocus = true;
166
this.buttonOk.Name = "buttonOk";
167
this.buttonOk.UseStock = true;
168
this.buttonOk.UseUnderline = true;
169
this.buttonOk.Label = "gtk-ok";
170
this.AddActionWidget (this.buttonOk, -5);
171
global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk]));
175
if ((this.Child != null)) {
176
this.Child.ShowAll ();
178
this.DefaultWidth = 390;
179
this.DefaultHeight = 162;
180
this.labelNewName.MnemonicWidget = this.entry;