Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Ruler/Ruler.cs

    r2768 r4068  
    1 using System;
    21using System.ComponentModel;
    32using System.Drawing;
    43
    5 namespace Netron.Diagramming.Core
    6 {
     4namespace Netron.Diagramming.Core {
     5  /// <summary>
     6  /// Abstract base classes for the rulers.
     7  /// </summary>
     8  public abstract class RulerBase : IPaintable {
     9
     10    #region Fields
     11    private IView mView = null;
     12
     13
     14    private bool mVisible;
     15    #endregion
     16
     17    #region Properties
    718    /// <summary>
    8     /// Abstract base classes for the rulers.
     19    /// Gets or sets a value indicating whether this <see cref="T:Ruler"/> is visible.
    920    /// </summary>
    10     public abstract class RulerBase : IPaintable
    11     {
     21    /// <value><c>true</c> if visible; otherwise, <c>false</c>.</value>
     22    [BrowsableAttribute(true)]
     23    public bool Visible {
     24      get {
     25        return mVisible;
     26      }
    1227
    13         #region Fields
    14         private IView mView = null;
     28      set {
     29        mVisible = value;
     30      }
     31    }
     32    /// <summary>
     33    /// Gets the bounds.
     34    /// </summary>
     35    /// <value>The bounds.</value>
     36    [BrowsableAttribute(false)]
     37    public abstract Rectangle Rectangle { get; }
     38    /// <summary>
     39    /// Gets or sets the view associated to this ruler.
     40    /// </summary>
     41    /// <value>The IView.</value>
     42    public IView View {
     43      get { return mView; }
     44      set { mView = value; }
     45    }
     46    #endregion
    1547
    16        
    17         private bool mVisible;
    18         #endregion
     48    #region Constructor
     49    ///<summary>
     50    ///Default constructor
     51    ///</summary>
     52    public RulerBase(IView mView) {
     53      this.mView = mView;
     54    }
     55    #endregion
    1956
    20         #region Properties
    21         /// <summary>
    22         /// Gets or sets a value indicating whether this <see cref="T:Ruler"/> is visible.
    23         /// </summary>
    24         /// <value><c>true</c> if visible; otherwise, <c>false</c>.</value>
    25         [BrowsableAttribute(true)]
    26         public bool Visible
    27         {
    28             get
    29             {
    30                 return mVisible;
    31             }
     57    #region Methods
    3258
    33             set
    34             {
    35                 mVisible = value;
    36             }
    37         }
    38         /// <summary>
    39         /// Gets the bounds.
    40         /// </summary>
    41         /// <value>The bounds.</value>
    42         [BrowsableAttribute(false)]
    43         public abstract Rectangle Rectangle { get; }
    44         /// <summary>
    45         /// Gets or sets the view associated to this ruler.
    46         /// </summary>
    47         /// <value>The IView.</value>
    48         public IView View
    49         {
    50             get { return mView; }
    51             set { mView = value; }
    52         }
    53         #endregion
    5459
    55         #region Constructor
    56         ///<summary>
    57         ///Default constructor
    58         ///</summary>
    59         public RulerBase(IView mView)
    60         {
    61             this.mView = mView;
    62         }
    63         #endregion
     60    /// <summary>
     61    /// Paints the entity using the given graphics object
     62    /// </summary>
     63    /// <param name="g"></param>
     64    public abstract void Paint(Graphics g);
     65    #endregion
    6466
    65         #region Methods
    66        
    67 
    68         /// <summary>
    69         /// Paints the entity using the given graphics object
    70         /// </summary>
    71         /// <param name="g"></param>
    72         public abstract void Paint(Graphics g);
    73         #endregion
    74        
    75     }
     67  }
    7668
    7769}
Note: See TracChangeset for help on using the changeset viewer.