~ubuntu-branches/ubuntu/utopic/monodevelop/utopic

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionCaughtWidget.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-10-10 14:50:04 UTC
  • mfrom: (10.3.4)
  • Revision ID: package-import@ubuntu.com-20131010145004-80l130sny21b17sb
Tags: 4.0.12+dfsg-1
* [5dcb6e1] Fix debian/watch for new source tarball name format
* [5c68cb5] Refresh list of files removed by get-orig-source to 
  reflect 4.0.12
* [96d60a0] Imported Upstream version 4.0.12+dfsg
* [b989752] Refresh debian/patches/no_appmenu to ensure it applies
* [2a4c351] Ensure every assembly in external/ is cleaned properly
* [92762f7] Add more excluded Mac-specific modulerefs
* [bc698ba] Add symlinks to NUnit assemblies (Closes: #714246)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        {
7
7
                private global::Gtk.VBox dialog1_VBox;
8
8
                private global::Gtk.VBox vbox2;
 
9
                private global::Gtk.HBox hbox2;
 
10
                private global::Gtk.Image imageWarning;
 
11
                private global::Gtk.VBox vboxExceptionInfo;
9
12
                private global::Gtk.Label labelType;
10
13
                private global::Gtk.Label labelMessage;
11
 
                private global::Gtk.Notebook notebook1;
12
14
                private global::Gtk.ScrolledWindow GtkScrolledWindow1;
13
15
                private global::Gtk.TreeView treeStack;
14
 
                private global::Gtk.Label label2;
15
16
                private global::Gtk.ScrolledWindow GtkScrolledWindow;
16
17
                private global::MonoDevelop.Debugger.ObjectValueTreeView valueView;
17
 
                private global::Gtk.Label page1;
18
 
                
 
18
 
19
19
                protected virtual void Build ()
20
20
                {
21
21
                        global::Stetic.Gui.Initialize (this);
25
25
                        // Container child MonoDevelop.Debugger.ExceptionCaughtWidget.Gtk.Container+ContainerChild
26
26
                        this.dialog1_VBox = new global::Gtk.VBox ();
27
27
                        this.dialog1_VBox.Name = "dialog1_VBox";
28
 
                        this.dialog1_VBox.BorderWidth = ((uint)(2));
29
28
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
30
29
                        this.vbox2 = new global::Gtk.VBox ();
31
30
                        this.vbox2.Name = "vbox2";
32
 
                        this.vbox2.Spacing = 6;
33
 
                        this.vbox2.BorderWidth = ((uint)(6));
34
31
                        // Container child vbox2.Gtk.Box+BoxChild
 
32
                        this.hbox2 = new global::Gtk.HBox ();
 
33
                        this.hbox2.Name = "hbox2";
 
34
                        this.hbox2.Spacing = 12;
 
35
                        this.hbox2.BorderWidth = ((uint)(12));
 
36
                        // Container child hbox2.Gtk.Box+BoxChild
 
37
                        this.imageWarning = new global::Gtk.Image ();
 
38
                        this.imageWarning.Name = "imageWarning";
 
39
                        this.imageWarning.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("exception-icon.png");
 
40
                        this.hbox2.Add (this.imageWarning);
 
41
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.imageWarning]));
 
42
                        w1.Position = 0;
 
43
                        w1.Expand = false;
 
44
                        w1.Fill = false;
 
45
                        // Container child hbox2.Gtk.Box+BoxChild
 
46
                        this.vboxExceptionInfo = new global::Gtk.VBox ();
 
47
                        this.vboxExceptionInfo.Name = "vboxExceptionInfo";
 
48
                        this.vboxExceptionInfo.Spacing = 6;
 
49
                        // Container child vboxExceptionInfo.Gtk.Box+BoxChild
35
50
                        this.labelType = new global::Gtk.Label ();
36
51
                        this.labelType.Name = "labelType";
37
52
                        this.labelType.Xalign = 0F;
38
53
                        this.labelType.LabelProp = "<b>Exception</b> has been thrown";
39
54
                        this.labelType.UseMarkup = true;
40
 
                        this.vbox2.Add (this.labelType);
41
 
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelType]));
42
 
                        w1.Position = 0;
43
 
                        w1.Expand = false;
44
 
                        w1.Fill = false;
45
 
                        // Container child vbox2.Gtk.Box+BoxChild
 
55
                        this.vboxExceptionInfo.Add (this.labelType);
 
56
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxExceptionInfo [this.labelType]));
 
57
                        w2.Position = 0;
 
58
                        w2.Expand = false;
 
59
                        w2.Fill = false;
 
60
                        // Container child vboxExceptionInfo.Gtk.Box+BoxChild
46
61
                        this.labelMessage = new global::Gtk.Label ();
47
62
                        this.labelMessage.WidthRequest = 500;
48
63
                        this.labelMessage.Name = "labelMessage";
49
64
                        this.labelMessage.Xalign = 0F;
50
65
                        this.labelMessage.LabelProp = "test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test";
51
66
                        this.labelMessage.Wrap = true;
52
 
                        this.vbox2.Add (this.labelMessage);
53
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelMessage]));
54
 
                        w2.Position = 1;
55
 
                        w2.Expand = false;
56
 
                        w2.Fill = false;
 
67
                        this.labelMessage.Selectable = true;
 
68
                        this.vboxExceptionInfo.Add (this.labelMessage);
 
69
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxExceptionInfo [this.labelMessage]));
 
70
                        w3.Position = 1;
 
71
                        w3.Expand = false;
 
72
                        w3.Fill = false;
 
73
                        this.hbox2.Add (this.vboxExceptionInfo);
 
74
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vboxExceptionInfo]));
 
75
                        w4.Position = 1;
 
76
                        w4.Expand = false;
 
77
                        w4.Fill = false;
 
78
                        this.vbox2.Add (this.hbox2);
 
79
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
 
80
                        w5.Position = 0;
 
81
                        w5.Expand = false;
 
82
                        w5.Fill = false;
57
83
                        // Container child vbox2.Gtk.Box+BoxChild
58
 
                        this.notebook1 = new global::Gtk.Notebook ();
59
 
                        this.notebook1.CanFocus = true;
60
 
                        this.notebook1.Name = "notebook1";
61
 
                        this.notebook1.CurrentPage = 0;
62
 
                        // Container child notebook1.Gtk.Notebook+NotebookChild
63
84
                        this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
 
85
                        this.GtkScrolledWindow1.HeightRequest = 128;
64
86
                        this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
65
87
                        this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
66
 
                        this.GtkScrolledWindow1.BorderWidth = ((uint)(3));
67
88
                        // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
68
89
                        this.treeStack = new global::Gtk.TreeView ();
69
90
                        this.treeStack.CanFocus = true;
70
91
                        this.treeStack.Name = "treeStack";
71
92
                        this.treeStack.HeadersVisible = false;
72
93
                        this.GtkScrolledWindow1.Add (this.treeStack);
73
 
                        this.notebook1.Add (this.GtkScrolledWindow1);
74
 
                        // Notebook tab
75
 
                        this.label2 = new global::Gtk.Label ();
76
 
                        this.label2.Name = "label2";
77
 
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Stack Trace");
78
 
                        this.notebook1.SetTabLabel (this.GtkScrolledWindow1, this.label2);
79
 
                        this.label2.ShowAll ();
80
 
                        // Container child notebook1.Gtk.Notebook+NotebookChild
 
94
                        this.vbox2.Add (this.GtkScrolledWindow1);
 
95
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
 
96
                        w7.Position = 1;
 
97
                        // Container child vbox2.Gtk.Box+BoxChild
81
98
                        this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
 
99
                        this.GtkScrolledWindow.HeightRequest = 128;
82
100
                        this.GtkScrolledWindow.Name = "GtkScrolledWindow";
83
101
                        this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
84
 
                        this.GtkScrolledWindow.BorderWidth = ((uint)(3));
85
102
                        // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
86
103
                        this.valueView = new global::MonoDevelop.Debugger.ObjectValueTreeView ();
87
104
                        this.valueView.CanFocus = true;
94
111
                        this.valueView.PinnedWatchLine = 0;
95
112
                        this.valueView.CompactView = false;
96
113
                        this.GtkScrolledWindow.Add (this.valueView);
97
 
                        this.notebook1.Add (this.GtkScrolledWindow);
98
 
                        global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.GtkScrolledWindow]));
99
 
                        w6.Position = 1;
100
 
                        // Notebook tab
101
 
                        this.page1 = new global::Gtk.Label ();
102
 
                        this.page1.Name = "page1";
103
 
                        this.page1.LabelProp = global::Mono.Unix.Catalog.GetString ("Details");
104
 
                        this.notebook1.SetTabLabel (this.GtkScrolledWindow, this.page1);
105
 
                        this.page1.ShowAll ();
106
 
                        this.vbox2.Add (this.notebook1);
107
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1]));
108
 
                        w7.Position = 2;
 
114
                        this.vbox2.Add (this.GtkScrolledWindow);
 
115
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
 
116
                        w9.Position = 2;
109
117
                        this.dialog1_VBox.Add (this.vbox2);
110
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.vbox2]));
111
 
                        w8.Position = 0;
 
118
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.vbox2]));
 
119
                        w10.Position = 0;
112
120
                        this.Add (this.dialog1_VBox);
113
121
                        if ((this.Child != null)) {
114
122
                                this.Child.ShowAll ();