Last change
on this file since 18242 was
4068,
checked in by swagner, 14 years ago
|
Sorted usings and removed unused usings in entire solution (#1094)
|
File size:
1.0 KB
|
Line | |
---|
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
|
---|
8 | /// <summary>
|
---|
9 | /// the root of the tree
|
---|
10 | /// </summary>
|
---|
11 | private IShape mLayoutRoot;
|
---|
12 |
|
---|
13 | #endregion
|
---|
14 |
|
---|
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) {
|
---|
23 |
|
---|
24 | }
|
---|
25 |
|
---|
26 | #endregion
|
---|
27 |
|
---|
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 | }
|
---|
41 | }
|
---|
42 |
|
---|
43 | #endregion
|
---|
44 |
|
---|
45 | }
|
---|
46 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.