Browse Source

Fix build.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4370 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Martin Koníček 17 years ago
parent
commit
662a324258
  1. 3
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Drawing/PositionedGraphNodeControl.xaml.cs
  2. 3
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Layout/NestedNodeViewModel.cs
  3. 2
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Layout/Tree/TreeLayouter.cs
  4. 2
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/ObjectGraph/ObjectGraphNode.cs
  5. 8
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/TreeModel/NestedNode.cs

3
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Drawing/PositionedGraphNodeControl.xaml.cs

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
// <owner name="Martin Koníček" email="martin.konicek@gmail.com"/>
// <version>$Revision$</version>
// </file>
using Debugger.AddIn.Visualizers.Graph.Layout;
using System;
using System.Collections.Generic;
using System.Text;
@ -21,6 +22,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Drawing @@ -21,6 +22,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Drawing
/// </summary>
public partial class PositionedGraphNodeControl : UserControl
{
/*
/// <summary>
/// Occurs when a <see cref="PositionedNodeProperty"/> is expanded.
/// </summary>
@ -29,6 +31,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Drawing @@ -29,6 +31,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Drawing
/// Occurs when a <see cref="PositionedNodeProperty"/> is collaped.
/// </summary>
public event EventHandler<PositionedPropertyEventArgs> PropertyCollapsed;
*/
public PositionedGraphNodeControl()
{

3
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Layout/NestedNodeViewModel.cs

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
// <version>$Revision$</version>
// </file>
using System;
using System.Collections.Generic;
namespace Debugger.AddIn.Visualizers.Graph.Layout
{
@ -30,7 +31,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout @@ -30,7 +31,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout
public bool IsExpanded { get; set; }
private List<NestedNodeViewModel> children = new List<NestedNodeViewModel>();
public List<NestedNodeViewModel> Children { get { return _children; } }
public List<NestedNodeViewModel> Children { get { return this.children; } }
public NestedNodeViewModel()
{

2
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/Layout/Tree/TreeLayouter.cs

@ -64,7 +64,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout @@ -64,7 +64,7 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout
treeNodeFor[objectGraphNode] = newTreeNode;
double subtreeSize = 0;
foreach (AbstractNode absNode in objectGraphNode.Content.Childs)
foreach (AbstractNode absNode in objectGraphNode.Content.Children)
{
ObjectGraphProperty property = ((PropertyNode)absNode).Property;

2
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/ObjectGraph/ObjectGraphNode.cs

@ -48,7 +48,7 @@ namespace Debugger.AddIn.Visualizers.Graph @@ -48,7 +48,7 @@ namespace Debugger.AddIn.Visualizers.Graph
if (this.Content == null)
throw new InvalidOperationException("Cannot enumerate properties, Content is null");
foreach (var child in this.Content.Childs)
foreach (var child in this.Content.Children)
{
if (child is PropertyNode && !(((PropertyNode)child).Property.IsAtomic))
yield return ((PropertyNode)child).Property;

8
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Visualizers/Graph/TreeModel/NestedNode.cs

@ -14,7 +14,7 @@ namespace Debugger.AddIn.Visualizers.Graph @@ -14,7 +14,7 @@ namespace Debugger.AddIn.Visualizers.Graph
/// </summary>
public class NestedNode : AbstractNode
{
private List<AbstractNode> childs = new List<AbstractNode>();
private List<AbstractNode> children = new List<AbstractNode>();
private NestedNodeType nodeType;
public NestedNodeType NodeType
@ -22,18 +22,18 @@ namespace Debugger.AddIn.Visualizers.Graph @@ -22,18 +22,18 @@ namespace Debugger.AddIn.Visualizers.Graph
get { return nodeType; }
}
public IEnumerable<AbstractNode> Childs
public IEnumerable<AbstractNode> Children
{
get
{
foreach (var child in childs)
foreach (var child in this.children)
yield return child;
}
}
public void AddChild(AbstractNode child)
{
this.childs.Add(child);
this.children.Add(child);
}
public NestedNode(NestedNodeType nodeType)

Loading…
Cancel
Save