Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/TreeLayoutBase.cs @ 2768

Last change on this file since 2768 was 2768, checked in by mkommend, 14 years ago

added solution folders and sources for the netron library (ticket #867)

File size: 1.4 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using Netron.Diagramming.Core.Analysis;
5namespace Netron.Diagramming.Core
6{
7    /// <summary>
8    /// Abstract base class providing convenience methods for tree layout algorithms.
9    /// </summary>
10    abstract class TreeLayoutBase : LayoutBase
11    {
12
13        #region Fields
14        /// <summary>
15        /// the root of the tree
16        /// </summary>
17        private IShape mLayoutRoot;
18   
19        #endregion
20
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        {
30
31        }
32
33        #endregion
34
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       
55    }
56}
Note: See TracBrowser for help on using the repository browser.