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

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.XmlEditor/gtk-gui/MonoDevelop.Xml.Formatting.XmlFormattingPolicyPanelWidget.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
        internal partial class XmlFormattingPolicyPanelWidget
6
6
        {
7
7
                private global::Gtk.VBox vbox2;
8
 
 
9
8
                private global::Gtk.HBox hbox1;
10
 
 
11
9
                private global::Gtk.VBox boxScopes;
12
 
 
13
10
                private global::Gtk.ScrolledWindow GtkScrolledWindow;
14
 
 
15
11
                private global::Gtk.TreeView listView;
16
 
 
17
12
                private global::Gtk.HBox hbox2;
18
 
 
19
13
                private global::Gtk.Button buttonAdd;
20
 
 
21
14
                private global::Gtk.Button buttonRemove;
22
 
 
23
15
                private global::Gtk.VBox vbox4;
24
 
 
25
16
                private global::Gtk.Label labelScopes;
26
 
 
27
17
                private global::Gtk.Table tableScopes;
28
 
 
29
18
                private global::MonoDevelop.Components.PropertyGrid.PropertyGrid propertyGrid;
30
 
 
31
19
                private global::Gtk.HBox hbox3;
32
 
 
33
20
                private global::Gtk.Button buttonAdvanced;
34
21
 
35
22
                protected virtual void Build ()
61
48
                        this.listView.HeadersVisible = false;
62
49
                        this.GtkScrolledWindow.Add (this.listView);
63
50
                        this.boxScopes.Add (this.GtkScrolledWindow);
64
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.boxScopes[this.GtkScrolledWindow]));
 
51
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.boxScopes [this.GtkScrolledWindow]));
65
52
                        w2.Position = 0;
66
53
                        // Container child boxScopes.Gtk.Box+BoxChild
67
54
                        this.hbox2 = new global::Gtk.HBox ();
75
62
                        this.buttonAdd.UseUnderline = true;
76
63
                        this.buttonAdd.Label = "gtk-add";
77
64
                        this.hbox2.Add (this.buttonAdd);
78
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAdd]));
 
65
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonAdd]));
79
66
                        w3.Position = 0;
80
67
                        w3.Expand = false;
81
68
                        w3.Fill = false;
87
74
                        this.buttonRemove.UseUnderline = true;
88
75
                        this.buttonRemove.Label = "gtk-remove";
89
76
                        this.hbox2.Add (this.buttonRemove);
90
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonRemove]));
 
77
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonRemove]));
91
78
                        w4.Position = 1;
92
79
                        w4.Expand = false;
93
80
                        w4.Fill = false;
94
81
                        this.boxScopes.Add (this.hbox2);
95
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.boxScopes[this.hbox2]));
 
82
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.boxScopes [this.hbox2]));
96
83
                        w5.Position = 1;
97
84
                        w5.Expand = false;
98
85
                        w5.Fill = false;
99
86
                        this.hbox1.Add (this.boxScopes);
100
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.boxScopes]));
 
87
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.boxScopes]));
101
88
                        w6.Position = 0;
102
89
                        w6.Expand = false;
103
90
                        w6.Fill = false;
108
95
                        // Container child vbox4.Gtk.Box+BoxChild
109
96
                        this.labelScopes = new global::Gtk.Label ();
110
97
                        this.labelScopes.Name = "labelScopes";
111
 
                        this.labelScopes.Xalign = 0f;
 
98
                        this.labelScopes.Xalign = 0F;
112
99
                        this.labelScopes.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter one or several xpath expressions to which this format applies:");
113
100
                        this.vbox4.Add (this.labelScopes);
114
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.labelScopes]));
 
101
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.labelScopes]));
115
102
                        w7.Position = 0;
116
103
                        w7.Expand = false;
117
104
                        w7.Fill = false;
121
108
                        this.tableScopes.RowSpacing = ((uint)(6));
122
109
                        this.tableScopes.ColumnSpacing = ((uint)(6));
123
110
                        this.vbox4.Add (this.tableScopes);
124
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.tableScopes]));
 
111
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.tableScopes]));
125
112
                        w8.Position = 1;
126
113
                        w8.Expand = false;
127
114
                        w8.Fill = false;
131
118
                        this.propertyGrid.ShowToolbar = false;
132
119
                        this.propertyGrid.ShowHelp = false;
133
120
                        this.vbox4.Add (this.propertyGrid);
134
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.propertyGrid]));
 
121
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.propertyGrid]));
135
122
                        w9.Position = 2;
136
123
                        this.hbox1.Add (this.vbox4);
137
 
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4]));
 
124
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
138
125
                        w10.Position = 1;
139
126
                        this.vbox2.Add (this.hbox1);
140
 
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
 
127
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
141
128
                        w11.Position = 0;
142
129
                        // Container child vbox2.Gtk.Box+BoxChild
143
130
                        this.hbox3 = new global::Gtk.HBox ();
150
137
                        this.buttonAdvanced.UseUnderline = true;
151
138
                        this.buttonAdvanced.Label = global::Mono.Unix.Catalog.GetString ("Advanced Settings");
152
139
                        this.hbox3.Add (this.buttonAdvanced);
153
 
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonAdvanced]));
 
140
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.buttonAdvanced]));
154
141
                        w12.Position = 0;
155
142
                        w12.Expand = false;
156
143
                        w12.Fill = false;
157
144
                        this.vbox2.Add (this.hbox3);
158
 
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
 
145
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
159
146
                        w13.Position = 1;
160
147
                        w13.Expand = false;
161
148
                        w13.Fill = false;