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

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/gtk-gui/MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-07-05 13:00:05 UTC
  • mfrom: (1.2.8 upstream) (1.3.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100705130005-d6hp4k5gcn1xkj8c
Tags: 2.4+dfsg-1ubuntu1
* debian/patches/remove_support_for_moonlight.patch,
  debian/patches/dont_add_moonlight_to_core_addins.patch,
  debian/control:
  + Enable support for Moonlight
* debian/rules:
  + Ensure Moonlight addin isn't shipped in main MonoDevelop package by
    mistake

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
// ------------------------------------------------------------------------------
10
 
 
11
 
namespace MonoDevelop.Refactoring.IntroduceConstant {
12
 
    
13
 
    public partial class IntroduceConstantDialog {
14
 
        
15
 
        private Gtk.VBox vbox2;
16
 
        
17
 
        private Gtk.Table table1;
18
 
        
19
 
        private Gtk.ComboBox comboboxModifiers;
20
 
        
21
 
        private Gtk.Entry entry;
22
 
        
23
 
        private Gtk.Label label1;
24
 
        
25
 
        private Gtk.Label labelNewName;
26
 
        
27
 
        private Gtk.HBox hbox3;
28
 
        
29
 
        private Gtk.Image imageWarning;
30
 
        
31
 
        private Gtk.Label labelWarning;
32
 
        
33
 
        private Gtk.Button buttonCancel;
34
 
        
35
 
        private Gtk.Button buttonPreview;
36
 
        
37
 
        private Gtk.Button buttonOk;
38
 
        
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]));
106
 
            w6.Position = 0;
107
 
            w6.Expand = false;
108
 
            w6.Fill = false;
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]));
119
 
            w7.Position = 0;
120
 
            w7.Expand = false;
121
 
            w7.Fill = false;
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]));
127
 
            w8.Position = 1;
128
 
            w8.Expand = false;
129
 
            w8.Fill = false;
130
 
            this.vbox2.Add(this.hbox3);
131
 
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
132
 
            w9.Position = 1;
133
 
            w9.Expand = false;
134
 
            w9.Fill = false;
135
 
            w1.Add(this.vbox2);
136
 
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
137
 
            w10.Position = 0;
138
 
            w10.Expand = false;
139
 
            w10.Fill = false;
140
 
            // Internal child MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.ActionArea
141
 
            Gtk.HButtonBox w11 = this.ActionArea;
142
 
            w11.Name = "dialog1_ActionArea";
143
 
            w11.Spacing = 10;
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]));
156
 
            w12.Expand = false;
157
 
            w12.Fill = false;
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]));
166
 
            w13.Position = 1;
167
 
            w13.Expand = false;
168
 
            w13.Fill = false;
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]));
179
 
            w14.Position = 2;
180
 
            w14.Expand = false;
181
 
            w14.Fill = false;
182
 
            if ((this.Child != null)) {
183
 
                this.Child.ShowAll();
184
 
            }
185
 
            this.DefaultWidth = 390;
186
 
            this.DefaultHeight = 162;
187
 
            this.labelNewName.MnemonicWidget = this.entry;
188
 
            this.Show();
189
 
        }
190
 
    }
 
1
 
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace MonoDevelop.Refactoring.IntroduceConstant
 
4
{
 
5
        public partial class IntroduceConstantDialog
 
6
        {
 
7
                private global::Gtk.VBox vbox2;
 
8
 
 
9
                private global::Gtk.Table table1;
 
10
 
 
11
                private global::Gtk.ComboBox comboboxModifiers;
 
12
 
 
13
                private global::Gtk.Entry entry;
 
14
 
 
15
                private global::Gtk.Label label1;
 
16
 
 
17
                private global::Gtk.Label labelNewName;
 
18
 
 
19
                private global::Gtk.HBox hbox3;
 
20
 
 
21
                private global::Gtk.Image imageWarning;
 
22
 
 
23
                private global::Gtk.Label labelWarning;
 
24
 
 
25
                private global::Gtk.Button buttonCancel;
 
26
 
 
27
                private global::Gtk.Button buttonPreview;
 
28
 
 
29
                private global::Gtk.Button buttonOk;
 
30
 
 
31
                protected virtual void Build ()
 
32
                {
 
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]));
 
99
                        w6.Position = 0;
 
100
                        w6.Expand = false;
 
101
                        w6.Fill = false;
 
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]));
 
112
                        w7.Position = 0;
 
113
                        w7.Expand = false;
 
114
                        w7.Fill = false;
 
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]));
 
120
                        w8.Position = 1;
 
121
                        w8.Expand = false;
 
122
                        w8.Fill = false;
 
123
                        this.vbox2.Add (this.hbox3);
 
124
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
 
125
                        w9.Position = 1;
 
126
                        w9.Expand = false;
 
127
                        w9.Fill = false;
 
128
                        w1.Add (this.vbox2);
 
129
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
 
130
                        w10.Position = 0;
 
131
                        w10.Expand = false;
 
132
                        w10.Fill = false;
 
133
                        // Internal child MonoDevelop.Refactoring.IntroduceConstant.IntroduceConstantDialog.ActionArea
 
134
                        global::Gtk.HButtonBox w11 = this.ActionArea;
 
135
                        w11.Name = "dialog1_ActionArea";
 
136
                        w11.Spacing = 10;
 
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]));
 
149
                        w12.Expand = false;
 
150
                        w12.Fill = false;
 
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]));
 
159
                        w13.Position = 1;
 
160
                        w13.Expand = false;
 
161
                        w13.Fill = false;
 
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]));
 
172
                        w14.Position = 2;
 
173
                        w14.Expand = false;
 
174
                        w14.Fill = false;
 
175
                        if ((this.Child != null)) {
 
176
                                this.Child.ShowAll ();
 
177
                        }
 
178
                        this.DefaultWidth = 390;
 
179
                        this.DefaultHeight = 162;
 
180
                        this.labelNewName.MnemonicWidget = this.entry;
 
181
                        this.Show ();
 
182
                }
 
183
        }
191
184
}