~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
                private global::Gtk.UIManager UIManager;
8
8
                private global::Gtk.Action NavigateBackwardAction;
9
9
                private global::Gtk.Action NavigateForwardAction;
10
 
                private global::Gtk.Action goBackAction;
11
 
                private global::Gtk.Action goForwardAction;
12
 
                private global::Gtk.Action goBackAction1;
13
10
                private global::Gtk.VBox vbox1;
14
 
                private global::Gtk.HBox hbox2;
15
 
                private global::Gtk.Button buttonBack;
16
 
                private global::Gtk.Button buttonForeward;
17
 
                private global::Gtk.Label label3;
18
 
                private global::Gtk.ComboBox languageCombobox;
19
 
                private global::Gtk.Label label1;
20
 
                private global::MonoDevelop.Components.SearchEntry searchentry1;
21
 
                private global::Gtk.Label label2;
22
 
                private global::Gtk.ComboBox comboboxVisibilty;
23
11
                private global::Gtk.HPaned hpaned1;
24
12
                private global::Gtk.Alignment treeViewPlaceholder;
25
13
                private global::Gtk.VBox vbox3;
26
14
                private global::Gtk.Notebook notebook1;
27
 
                private global::Gtk.Notebook notebookInspection;
28
15
                private global::MonoDevelop.Components.CompactScrolledWindow documentationScrolledWindow;
29
 
                private global::Gtk.Label label4;
30
 
                private global::Gtk.Label label5;
31
16
                private global::Gtk.VBox searchWidget;
32
17
                private global::Gtk.ScrolledWindow scrolledwindow1;
33
18
                private global::Gtk.TreeView searchTreeview;
39
24
                        Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
40
25
                        this.UIManager = new global::Gtk.UIManager ();
41
26
                        global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
42
 
                        this.NavigateBackwardAction = new global::Gtk.Action (
43
 
                                "NavigateBackwardAction",
44
 
                                global::Mono.Unix.Catalog.GetString("Navigate backward"),
45
 
                                null,
46
 
                                "gtk-go-back"
47
 
                        );
 
27
                        this.NavigateBackwardAction = new global::Gtk.Action ("NavigateBackwardAction", global::Mono.Unix.Catalog.GetString ("Navigate backward"), null, "gtk-go-back");
48
28
                        this.NavigateBackwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Navigate backward");
49
29
                        w2.Add (this.NavigateBackwardAction, null);
50
 
                        this.NavigateForwardAction = new global::Gtk.Action (
51
 
                                "NavigateForwardAction",
52
 
                                global::Mono.Unix.Catalog.GetString("Navigate forward"),
53
 
                                null,
54
 
                                "gtk-go-forward"
55
 
                        );
 
30
                        this.NavigateForwardAction = new global::Gtk.Action ("NavigateForwardAction", global::Mono.Unix.Catalog.GetString ("Navigate forward"), null, "gtk-go-forward");
56
31
                        this.NavigateForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Navigate forward");
57
32
                        w2.Add (this.NavigateForwardAction, null);
58
 
                        this.goBackAction = new global::Gtk.Action (
59
 
                                "goBackAction",
60
 
                                null,
61
 
                                null,
62
 
                                "gtk-go-back"
63
 
                        );
64
 
                        w2.Add (this.goBackAction, null);
65
 
                        this.goForwardAction = new global::Gtk.Action (
66
 
                                "goForwardAction",
67
 
                                null,
68
 
                                null,
69
 
                                "gtk-go-forward"
70
 
                        );
71
 
                        w2.Add (this.goForwardAction, null);
72
 
                        this.goBackAction1 = new global::Gtk.Action (
73
 
                                "goBackAction1",
74
 
                                null,
75
 
                                null,
76
 
                                "gtk-go-back"
77
 
                        );
78
 
                        w2.Add (this.goBackAction1, null);
79
33
                        this.UIManager.InsertActionGroup (w2, 0);
80
34
                        this.Name = "MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget";
81
35
                        // Container child MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Gtk.Container+ContainerChild
83
37
                        this.vbox1.Name = "vbox1";
84
38
                        this.vbox1.Spacing = 2;
85
39
                        // Container child vbox1.Gtk.Box+BoxChild
86
 
                        this.hbox2 = new global::Gtk.HBox ();
87
 
                        this.hbox2.Name = "hbox2";
88
 
                        this.hbox2.Spacing = 6;
89
 
                        // Container child hbox2.Gtk.Box+BoxChild
90
 
                        this.buttonBack = new global::Gtk.Button ();
91
 
                        this.buttonBack.CanFocus = true;
92
 
                        this.buttonBack.Name = "buttonBack";
93
 
                        this.buttonBack.UseStock = true;
94
 
                        this.buttonBack.UseUnderline = true;
95
 
                        this.buttonBack.Label = "gtk-go-back";
96
 
                        this.hbox2.Add (this.buttonBack);
97
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonBack]));
98
 
                        w3.Position = 0;
99
 
                        w3.Expand = false;
100
 
                        w3.Fill = false;
101
 
                        // Container child hbox2.Gtk.Box+BoxChild
102
 
                        this.buttonForeward = new global::Gtk.Button ();
103
 
                        this.buttonForeward.CanFocus = true;
104
 
                        this.buttonForeward.Name = "buttonForeward";
105
 
                        this.buttonForeward.UseStock = true;
106
 
                        this.buttonForeward.UseUnderline = true;
107
 
                        this.buttonForeward.Label = "gtk-go-forward";
108
 
                        this.hbox2.Add (this.buttonForeward);
109
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonForeward]));
110
 
                        w4.Position = 1;
111
 
                        w4.Expand = false;
112
 
                        w4.Fill = false;
113
 
                        // Container child hbox2.Gtk.Box+BoxChild
114
 
                        this.label3 = new global::Gtk.Label ();
115
 
                        this.label3.Name = "label3";
116
 
                        this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Visibility:");
117
 
                        this.label3.UseUnderline = true;
118
 
                        this.hbox2.Add (this.label3);
119
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label3]));
120
 
                        w5.Position = 2;
121
 
                        w5.Expand = false;
122
 
                        w5.Fill = false;
123
 
                        // Container child hbox2.Gtk.Box+BoxChild
124
 
                        this.languageCombobox = global::Gtk.ComboBox.NewText ();
125
 
                        this.languageCombobox.Name = "languageCombobox";
126
 
                        this.hbox2.Add (this.languageCombobox);
127
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.languageCombobox]));
128
 
                        w6.PackType = ((global::Gtk.PackType)(1));
129
 
                        w6.Position = 3;
130
 
                        w6.Expand = false;
131
 
                        w6.Fill = false;
132
 
                        // Container child hbox2.Gtk.Box+BoxChild
133
 
                        this.label1 = new global::Gtk.Label ();
134
 
                        this.label1.Name = "label1";
135
 
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Language:");
136
 
                        this.label1.UseUnderline = true;
137
 
                        this.hbox2.Add (this.label1);
138
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
139
 
                        w7.PackType = ((global::Gtk.PackType)(1));
140
 
                        w7.Position = 4;
141
 
                        w7.Expand = false;
142
 
                        w7.Fill = false;
143
 
                        // Container child hbox2.Gtk.Box+BoxChild
144
 
                        this.searchentry1 = new global::MonoDevelop.Components.SearchEntry ();
145
 
                        this.searchentry1.Name = "searchentry1";
146
 
                        this.searchentry1.ForceFilterButtonVisible = false;
147
 
                        this.searchentry1.IsCheckMenu = false;
148
 
                        this.searchentry1.ActiveFilterID = 0;
149
 
                        this.searchentry1.Ready = false;
150
 
                        this.searchentry1.HasFocus = false;
151
 
                        this.hbox2.Add (this.searchentry1);
152
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.searchentry1]));
153
 
                        w8.PackType = ((global::Gtk.PackType)(1));
154
 
                        w8.Position = 5;
155
 
                        // Container child hbox2.Gtk.Box+BoxChild
156
 
                        this.label2 = new global::Gtk.Label ();
157
 
                        this.label2.Name = "label2";
158
 
                        this.label2.Xalign = 1F;
159
 
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Search:");
160
 
                        this.label2.UseUnderline = true;
161
 
                        this.hbox2.Add (this.label2);
162
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
163
 
                        w9.PackType = ((global::Gtk.PackType)(1));
164
 
                        w9.Position = 6;
165
 
                        // Container child hbox2.Gtk.Box+BoxChild
166
 
                        this.comboboxVisibilty = global::Gtk.ComboBox.NewText ();
167
 
                        this.comboboxVisibilty.Name = "comboboxVisibilty";
168
 
                        this.hbox2.Add (this.comboboxVisibilty);
169
 
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.comboboxVisibilty]));
170
 
                        w10.PackType = ((global::Gtk.PackType)(1));
171
 
                        w10.Position = 7;
172
 
                        w10.Expand = false;
173
 
                        w10.Fill = false;
174
 
                        this.vbox1.Add (this.hbox2);
175
 
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
176
 
                        w11.Position = 0;
177
 
                        w11.Expand = false;
178
 
                        w11.Fill = false;
179
 
                        // Container child vbox1.Gtk.Box+BoxChild
180
40
                        this.hpaned1 = new global::Gtk.HPaned ();
181
41
                        this.hpaned1.CanFocus = true;
182
42
                        this.hpaned1.Name = "hpaned1";
185
45
                        this.treeViewPlaceholder = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
186
46
                        this.treeViewPlaceholder.Name = "treeViewPlaceholder";
187
47
                        this.hpaned1.Add (this.treeViewPlaceholder);
188
 
                        global::Gtk.Paned.PanedChild w12 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.treeViewPlaceholder]));
189
 
                        w12.Resize = false;
 
48
                        global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.treeViewPlaceholder]));
 
49
                        w3.Resize = false;
190
50
                        // Container child hpaned1.Gtk.Paned+PanedChild
191
51
                        this.vbox3 = new global::Gtk.VBox ();
192
52
                        this.vbox3.Name = "vbox3";
198
58
                        this.notebook1.CurrentPage = 0;
199
59
                        this.notebook1.ShowBorder = false;
200
60
                        // Container child notebook1.Gtk.Notebook+NotebookChild
201
 
                        this.notebookInspection = new global::Gtk.Notebook ();
202
 
                        this.notebookInspection.CanFocus = true;
203
 
                        this.notebookInspection.Name = "notebookInspection";
204
 
                        this.notebookInspection.CurrentPage = 1;
205
 
                        this.notebookInspection.ShowBorder = false;
206
 
                        // Container child notebookInspection.Gtk.Notebook+NotebookChild
207
61
                        this.documentationScrolledWindow = new global::MonoDevelop.Components.CompactScrolledWindow ();
208
62
                        this.documentationScrolledWindow.CanFocus = true;
209
63
                        this.documentationScrolledWindow.Name = "documentationScrolledWindow";
210
64
                        this.documentationScrolledWindow.ShowBorderLine = false;
211
 
                        this.notebookInspection.Add (this.documentationScrolledWindow);
212
 
                        // Notebook tab
213
 
                        this.label4 = new global::Gtk.Label ();
214
 
                        this.label4.Name = "label4";
215
 
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("summary");
216
 
                        this.notebookInspection.SetTabLabel (
217
 
                                this.documentationScrolledWindow,
218
 
                                this.label4
219
 
                        );
220
 
                        this.label4.ShowAll ();
221
 
                        // Notebook tab
222
 
                        global::Gtk.Label w14 = new global::Gtk.Label ();
223
 
                        w14.Visible = true;
224
 
                        this.notebookInspection.Add (w14);
225
 
                        this.label5 = new global::Gtk.Label ();
226
 
                        this.label5.Name = "label5";
227
 
                        this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("decompiler");
228
 
                        this.notebookInspection.SetTabLabel (w14, this.label5);
229
 
                        this.label5.ShowAll ();
230
 
                        this.notebook1.Add (this.notebookInspection);
 
65
                        this.notebook1.Add (this.documentationScrolledWindow);
231
66
                        // Container child notebook1.Gtk.Notebook+NotebookChild
232
67
                        this.searchWidget = new global::Gtk.VBox ();
233
68
                        this.searchWidget.Name = "searchWidget";
243
78
                        this.searchTreeview.Name = "searchTreeview";
244
79
                        this.scrolledwindow1.Add (this.searchTreeview);
245
80
                        this.searchWidget.Add (this.scrolledwindow1);
246
 
                        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.searchWidget [this.scrolledwindow1]));
247
 
                        w17.Position = 0;
 
81
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.searchWidget [this.scrolledwindow1]));
 
82
                        w6.Position = 0;
248
83
                        this.notebook1.Add (this.searchWidget);
249
 
                        global::Gtk.Notebook.NotebookChild w18 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.searchWidget]));
250
 
                        w18.Position = 1;
 
84
                        global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.searchWidget]));
 
85
                        w7.Position = 1;
251
86
                        this.vbox3.Add (this.notebook1);
252
 
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebook1]));
253
 
                        w19.Position = 0;
 
87
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebook1]));
 
88
                        w8.Position = 0;
254
89
                        this.hpaned1.Add (this.vbox3);
255
90
                        this.vbox1.Add (this.hpaned1);
256
 
                        global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
257
 
                        w21.Position = 1;
 
91
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1]));
 
92
                        w10.Position = 0;
258
93
                        this.Add (this.vbox1);
259
94
                        if ((this.Child != null)) {
260
95
                                this.Child.ShowAll ();
261
96
                        }
262
97
                        w1.SetUiManager (UIManager);
263
 
                        this.label3.MnemonicWidget = this.comboboxVisibilty;
264
 
                        this.label1.MnemonicWidget = this.languageCombobox;
265
 
                        this.label2.MnemonicWidget = this.searchentry1;
266
 
                        this.Show ();
 
98
                        this.Hide ();
267
99
                        this.NavigateBackwardAction.Activated += new global::System.EventHandler (this.OnNavigateBackwardActionActivated);
268
100
                        this.NavigateForwardAction.Activated += new global::System.EventHandler (this.OnNavigateForwardActionActivated);
269
101
                }