Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/TreeLayoutBase.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/TreeLayoutBase.cs
r2768 r4068 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using Netron.Diagramming.Core.Analysis; 5 namespace Netron.Diagramming.Core 6 { 1 namespace Netron.Diagramming.Core { 2 /// <summary> 3 /// Abstract base class providing convenience methods for tree layout algorithms. 4 /// </summary> 5 abstract class TreeLayoutBase : LayoutBase { 6 7 #region Fields 7 8 /// <summary> 8 /// Abstract base class providing convenience methods for tree layout algorithms.9 /// the root of the tree 9 10 /// </summary> 10 abstract class TreeLayoutBase : LayoutBase 11 { 11 private IShape mLayoutRoot; 12 12 13 #region Fields 14 /// <summary> 15 /// the root of the tree 16 /// </summary> 17 private IShape mLayoutRoot; 18 19 #endregion 13 #endregion 20 14 21 #region Consstructor 22 /// <summary> 23 /// Initializes a new instance of the <see cref="T:TreeLayoutBase"/> class. 24 /// </summary> 25 /// <param name="name">The name.</param> 26 /// <param name="controller">The controller.</param> 27 protected TreeLayoutBase(string name, IController controller) 28 : base(name, controller) 29 { 15 #region Consstructor 16 /// <summary> 17 /// Initializes a new instance of the <see cref="T:TreeLayoutBase"/> class. 18 /// </summary> 19 /// <param name="name">The name.</param> 20 /// <param name="controller">The controller.</param> 21 protected TreeLayoutBase(string name, IController controller) 22 : base(name, controller) { 30 23 31 24 } 32 25 33 26 #endregion 34 27 35 #region Properties 36 /// <summary> 37 /// Gets or sets the layout root. 38 /// </summary> 39 /// <value>The layout root.</value> 40 public IShape LayoutRoot 41 { 42 get 43 { 44 return mLayoutRoot; 45 } 46 set 47 { 48 mLayoutRoot = value; 49 50 } 51 } 52 53 #endregion 54 28 #region Properties 29 /// <summary> 30 /// Gets or sets the layout root. 31 /// </summary> 32 /// <value>The layout root.</value> 33 public IShape LayoutRoot { 34 get { 35 return mLayoutRoot; 36 } 37 set { 38 mLayoutRoot = value; 39 40 } 55 41 } 42 43 #endregion 44 45 } 56 46 }
Note: See TracChangeset
for help on using the changeset viewer.