Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@669 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
8 changed files with 152 additions and 46 deletions
@ -0,0 +1,48 @@
@@ -0,0 +1,48 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt">2002-2005 AlphaSierraPapa</copyright>
|
||||
// <license see="prj:///doc/license.txt">GNU General Public License</license>
|
||||
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using DebuggerLibrary; |
||||
using ICSharpCode.SharpDevelop.Gui.TreeGrid; |
||||
|
||||
namespace ICSharpCode.SharpDevelop.Services |
||||
{ |
||||
public class DynamicTreeDebuggerRow:DynamicTreeRow |
||||
{ |
||||
// Columns:
|
||||
// 0 = plus sign
|
||||
// 1 = icon
|
||||
// 2 = text
|
||||
// 3 = value
|
||||
|
||||
Variable variable; |
||||
|
||||
public Variable Variable { |
||||
get { |
||||
return variable; |
||||
} |
||||
set { |
||||
variable = value; |
||||
} |
||||
} |
||||
|
||||
public DynamicTreeDebuggerRow() |
||||
{ |
||||
} |
||||
|
||||
public DynamicTreeDebuggerRow(Variable variable) |
||||
{ |
||||
if (variable == null) throw new ArgumentNullException("variable"); |
||||
|
||||
this.variable = variable; |
||||
|
||||
this.ChildWindowCaption = variable.Name; |
||||
this[2].Text = variable.Name; |
||||
this[3].Text = variable.ToString(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue