diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2011-05-13 21:02:15 +0400 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2011-05-13 21:02:15 +0400 |
commit | 092ea80c4770b9764deb7baa3cc08344680d0b88 (patch) | |
tree | aa583fcf9116b1f326d1eba4cc8be802e6b6fd8c /main/src/addins/MonoDevelop.Debugger/gtk-gui | |
parent | b252956a937eb1dbf5cd52a6f5d321dcb13556e9 (diff) |
Flush.
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/gtk-gui')
10 files changed, 54 insertions, 54 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AddTracePointDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AddTracePointDialog.cs index 3e5f7033a2..2c18ae8697 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AddTracePointDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AddTracePointDialog.cs @@ -14,7 +14,7 @@ namespace MonoDevelop.Debugger private global::Gtk.Label label4; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AttachToProcessDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AttachToProcessDialog.cs index 7861400ea2..bc31afaaa6 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AttachToProcessDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.AttachToProcessDialog.cs @@ -15,7 +15,7 @@ namespace MonoDevelop.Debugger private global::Gtk.ComboBox comboDebs; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BreakpointPropertiesDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BreakpointPropertiesDialog.cs index 41b3e9e01f..75217ff3dc 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BreakpointPropertiesDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BreakpointPropertiesDialog.cs @@ -41,7 +41,7 @@ namespace MonoDevelop.Debugger private global::Gtk.Entry entryTraceExpr; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs index c8089926ff..d496a65960 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs @@ -11,7 +11,7 @@ namespace MonoDevelop.Debugger private global::Gtk.Label labelMethod; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebuggerOptionsPanelWidget.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebuggerOptionsPanelWidget.cs index aa43a7d049..039b31ced1 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebuggerOptionsPanelWidget.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebuggerOptionsPanelWidget.cs @@ -5,37 +5,22 @@ namespace MonoDevelop.Debugger public partial class DebuggerOptionsPanelWidget { private global::Gtk.Notebook notebook1; - private global::Gtk.VBox vbox3; - private global::Gtk.CheckButton projectCodeOnly; - private global::Gtk.CheckButton checkAllowEval; - private global::Gtk.CheckButton checkToString; - private global::Gtk.CheckButton checkShowBaseGroup; - private global::Gtk.CheckButton checkGroupPrivate; - private global::Gtk.CheckButton checkGroupStatic; - private global::Gtk.Table tableEval; - private global::Gtk.Label label60; - private global::Gtk.SpinButton spinTimeout; - private global::Gtk.Label label4; - private global::Gtk.VBox vbox2; - private global::Gtk.Label label2; - private global::MonoDevelop.Ide.Gui.Components.PriorityList prioritylist; - private global::Gtk.Label label1; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); @@ -61,7 +46,7 @@ namespace MonoDevelop.Debugger this.projectCodeOnly.DrawIndicator = true; this.projectCodeOnly.UseUnderline = true; this.vbox3.Add (this.projectCodeOnly); - global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.projectCodeOnly])); + global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.projectCodeOnly])); w1.Position = 0; w1.Expand = false; w1.Fill = false; @@ -74,7 +59,7 @@ namespace MonoDevelop.Debugger this.checkAllowEval.DrawIndicator = true; this.checkAllowEval.UseUnderline = true; this.vbox3.Add (this.checkAllowEval); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkAllowEval])); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkAllowEval])); w2.Position = 1; w2.Expand = false; w2.Fill = false; @@ -86,7 +71,7 @@ namespace MonoDevelop.Debugger this.checkToString.DrawIndicator = true; this.checkToString.UseUnderline = true; this.vbox3.Add (this.checkToString); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkToString])); + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkToString])); w3.Position = 2; w3.Expand = false; w3.Fill = false; @@ -98,7 +83,7 @@ namespace MonoDevelop.Debugger this.checkShowBaseGroup.DrawIndicator = true; this.checkShowBaseGroup.UseUnderline = true; this.vbox3.Add (this.checkShowBaseGroup); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkShowBaseGroup])); + global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkShowBaseGroup])); w4.Position = 3; w4.Expand = false; w4.Fill = false; @@ -110,7 +95,7 @@ namespace MonoDevelop.Debugger this.checkGroupPrivate.DrawIndicator = true; this.checkGroupPrivate.UseUnderline = true; this.vbox3.Add (this.checkGroupPrivate); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkGroupPrivate])); + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkGroupPrivate])); w5.Position = 4; w5.Expand = false; w5.Fill = false; @@ -122,7 +107,7 @@ namespace MonoDevelop.Debugger this.checkGroupStatic.DrawIndicator = true; this.checkGroupStatic.UseUnderline = true; this.vbox3.Add (this.checkGroupStatic); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkGroupStatic])); + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkGroupStatic])); w6.Position = 5; w6.Expand = false; w6.Fill = false; @@ -134,10 +119,10 @@ namespace MonoDevelop.Debugger // Container child tableEval.Gtk.Table+TableChild this.label60 = new global::Gtk.Label (); this.label60.Name = "label60"; - this.label60.Xalign = 0f; + this.label60.Xalign = 0F; this.label60.LabelProp = global::Mono.Unix.Catalog.GetString ("Evaluation Timeout:"); this.tableEval.Add (this.label60); - global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableEval[this.label60])); + global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableEval [this.label60])); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableEval.Gtk.Table+TableChild @@ -148,13 +133,13 @@ namespace MonoDevelop.Debugger this.spinTimeout.ClimbRate = 100; this.spinTimeout.Numeric = true; this.tableEval.Add (this.spinTimeout); - global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableEval[this.spinTimeout])); + global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableEval [this.spinTimeout])); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.tableEval); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.tableEval])); + global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tableEval])); w9.Position = 6; w9.Expand = false; w9.Fill = false; @@ -174,11 +159,11 @@ namespace MonoDevelop.Debugger this.label2 = new global::Gtk.Label (); this.label2.WidthRequest = 417; this.label2.Name = "label2"; - this.label2.Xalign = 0f; + this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("This priority list will be used by MonoDevelop when selecting the engine to be used for debugging an application."); this.label2.Wrap = true; this.vbox2.Add (this.label2); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label2])); + global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; @@ -186,10 +171,10 @@ namespace MonoDevelop.Debugger this.prioritylist = new global::MonoDevelop.Ide.Gui.Components.PriorityList (); this.prioritylist.Name = "prioritylist"; this.vbox2.Add (this.prioritylist); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.prioritylist])); + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.prioritylist])); w12.Position = 1; this.notebook1.Add (this.vbox2); - global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox2])); + global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox2])); w13.Position = 1; // Notebook tab this.label1 = new global::Gtk.Label (); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionCaughtDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionCaughtDialog.cs index a762f287ba..f156aae284 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionCaughtDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionCaughtDialog.cs @@ -15,7 +15,7 @@ namespace MonoDevelop.Debugger private global::MonoDevelop.Debugger.ObjectValueTreeView valueView; private global::Gtk.Label page1; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); @@ -84,7 +84,15 @@ namespace MonoDevelop.Debugger this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.BorderWidth = ((uint)(3)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.valueView = null; + this.valueView = new global::MonoDevelop.Debugger.ObjectValueTreeView (); + this.valueView.CanFocus = true; + this.valueView.Name = "valueView"; + this.valueView.AllowAdding = false; + this.valueView.AllowEditing = true; + this.valueView.AllowPinning = false; + this.valueView.AllowExpanding = false; + this.valueView.PinnedWatchLine = 0; + this.valueView.CompactView = false; this.GtkScrolledWindow.Add (this.valueView); this.notebook1.Add (this.GtkScrolledWindow); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.GtkScrolledWindow])); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionsDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionsDialog.cs index 09aed510e7..9ea3ae9dfc 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionsDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExceptionsDialog.cs @@ -23,7 +23,7 @@ namespace MonoDevelop.Debugger private global::Gtk.TreeView treeSelected; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExpressionEvaluatorDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExpressionEvaluatorDialog.cs index 4a2da4f5ee..e0b2935f9a 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExpressionEvaluatorDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.ExpressionEvaluatorDialog.cs @@ -11,7 +11,7 @@ namespace MonoDevelop.Debugger private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::MonoDevelop.Debugger.ObjectValueTreeView valueTree; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); @@ -65,7 +65,15 @@ namespace MonoDevelop.Debugger this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.valueTree = null; + this.valueTree = new global::MonoDevelop.Debugger.ObjectValueTreeView (); + this.valueTree.CanFocus = true; + this.valueTree.Name = "valueTree"; + this.valueTree.AllowAdding = false; + this.valueTree.AllowEditing = false; + this.valueTree.AllowPinning = false; + this.valueTree.AllowExpanding = false; + this.valueTree.PinnedWatchLine = 0; + this.valueTree.CompactView = false; this.GtkScrolledWindow.Add (this.valueTree); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.Viewers.ValueVisualizerDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.Viewers.ValueVisualizerDialog.cs index 6ad228a668..9c969b1f8f 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.Viewers.ValueVisualizerDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.Viewers.ValueVisualizerDialog.cs @@ -10,7 +10,7 @@ namespace MonoDevelop.Debugger.Viewers private global::Gtk.ComboBox comboVisualizers; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; - + protected virtual void Build () { global::Stetic.Gui.Initialize (this); diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/generated.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/generated.cs index 91cadc87fd..a76b1387b5 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/generated.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/generated.cs @@ -5,15 +5,15 @@ namespace Stetic internal class Gui { private static bool initialized; - - static internal void Initialize (Gtk.Widget iconRenderer) + + internal static void Initialize (Gtk.Widget iconRenderer) { if ((Stetic.Gui.initialized == false)) { Stetic.Gui.initialized = true; } } } - + internal class IconLoader { public static Gdk.Pixbuf LoadIcon (Gtk.Widget widget, string name, Gtk.IconSize size) @@ -24,7 +24,7 @@ namespace Stetic } else { int sz; int sy; - global::Gtk.Icon.SizeLookup (size, out sz, out sy); + global::Gtk.Icon.SizeLookup (size, out sz, out sy); try { return Gtk.IconTheme.Default.LoadIcon (name, sz, 0); } catch (System.Exception) { @@ -47,13 +47,12 @@ namespace Stetic } } } - + internal class BinContainer { private Gtk.Widget child; - private Gtk.UIManager uimanager; - + public static BinContainer Attach (Gtk.Bin bin) { BinContainer bc = new BinContainer (); @@ -62,32 +61,32 @@ namespace Stetic bin.Added += new Gtk.AddedHandler (bc.OnAdded); return bc; } - + private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args) { if ((this.child != null)) { args.Requisition = this.child.SizeRequest (); } } - + private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args) { if ((this.child != null)) { this.child.Allocation = args.Allocation; } } - + private void OnAdded (object sender, Gtk.AddedArgs args) { this.child = args.Widget; } - + public void SetUiManager (Gtk.UIManager uim) { this.uimanager = uim; this.child.Realized += new System.EventHandler (this.OnRealized); } - + private void OnRealized (object sender, System.EventArgs args) { if ((this.uimanager != null)) { @@ -100,14 +99,14 @@ namespace Stetic } } } - + internal class ActionGroups { public static Gtk.ActionGroup GetActionGroup (System.Type type) { return Stetic.ActionGroups.GetActionGroup (type.FullName); } - + public static Gtk.ActionGroup GetActionGroup (string name) { return null; |