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/Core/Interfaces/ILayer.cs

    r2768 r4068  
    11using System;
    2 using System.Collections.Generic;
    3 using System.Text;
    42
    5 namespace Netron.Diagramming.Core
    6 {
    7     // ----------------------------------------------------------------------
     3namespace Netron.Diagramming.Core {
     4  // ----------------------------------------------------------------------
     5  /// <summary>
     6  /// Interface of a diagram layer
     7  /// </summary>
     8  // ----------------------------------------------------------------------
     9  public interface ILayer {
     10    #region Events
     11
     12    // ------------------------------------------------------------------
    813    /// <summary>
    9     /// Interface of a diagram layer
     14    /// Occurs when an entity is added to the layer.
    1015    /// </summary>
    11     // ----------------------------------------------------------------------
    12     public interface ILayer
    13     {
    14         #region Events
     16    // ------------------------------------------------------------------
     17    event EventHandler<EntityEventArgs> OnEntityAdded;
    1518
    16         // ------------------------------------------------------------------
    17         /// <summary>
    18         /// Occurs when an entity is added to the layer.
    19         /// </summary>
    20         // ------------------------------------------------------------------
    21         event EventHandler<EntityEventArgs> OnEntityAdded;
     19    // ------------------------------------------------------------------
     20    /// <summary>
     21    /// Occurs when an entity is removed from the layer.
     22    /// </summary>
     23    // ------------------------------------------------------------------
     24    event EventHandler<EntityEventArgs> OnEntityRemoved;
    2225
    23         // ------------------------------------------------------------------
    24         /// <summary>
    25         /// Occurs when an entity is removed from the layer.
    26         /// </summary>
    27         // ------------------------------------------------------------------
    28         event EventHandler<EntityEventArgs> OnEntityRemoved;
     26    // ------------------------------------------------------------------
     27    /// <summary>
     28    /// Occurs when the layer is cleared.
     29    /// </summary>
     30    // ------------------------------------------------------------------
     31    event EventHandler OnClear;
    2932
    30         // ------------------------------------------------------------------
    31         /// <summary>
    32         /// Occurs when the layer is cleared.
    33         /// </summary>
    34         // ------------------------------------------------------------------
    35         event EventHandler OnClear;
     33    #endregion
    3634
    37         #endregion
     35    #region Properties
    3836
    39         #region Properties
     37    // ------------------------------------------------------------------
     38    /// <summary>
     39    /// Gets all connections in this layer.
     40    /// </summary>
     41    // ------------------------------------------------------------------
     42    CollectionBase<IConnection> Connections { get; }
    4043
    41         // ------------------------------------------------------------------
    42         /// <summary>
    43         /// Gets all connections in this layer.
    44         /// </summary>
    45         // ------------------------------------------------------------------
    46         CollectionBase<IConnection> Connections { get;}
     44    // ------------------------------------------------------------------
     45    /// <summary>
     46    /// Gets all shapes in this layer.
     47    /// </summary>
     48    // ------------------------------------------------------------------
     49    CollectionBase<IShape> Shapes { get; }
    4750
    48         // ------------------------------------------------------------------
    49         /// <summary>
    50         /// Gets all shapes in this layer.
    51         /// </summary>
    52         // ------------------------------------------------------------------
    53         CollectionBase<IShape> Shapes { get;}
     51    // ------------------------------------------------------------------
     52    /// <summary>
     53    /// Gets or sets the model.
     54    /// </summary>
     55    /// <value>The model.</value>
     56    // ------------------------------------------------------------------
     57    IModel Model { get; set; }
    5458
    55         // ------------------------------------------------------------------
    56         /// <summary>
    57         /// Gets or sets the model.
    58         /// </summary>
    59         /// <value>The model.</value>
    60         // ------------------------------------------------------------------
    61         IModel Model { get;set;}
     59    // ------------------------------------------------------------------
     60    /// <summary>
     61    /// Gets or sets if this layer is visible.
     62    /// </summary>
     63    // ------------------------------------------------------------------
     64    bool IsVisible { get; set; }
    6265
    63         // ------------------------------------------------------------------
    64         /// <summary>
    65         /// Gets or sets if this layer is visible.
    66         /// </summary>
    67         // ------------------------------------------------------------------
    68         bool IsVisible { get; set;}
     66    // ------------------------------------------------------------------
     67    /// <summary>
     68    /// Gets or sets the name of this layer.
     69    /// </summary>
     70    // ------------------------------------------------------------------
     71    string Name { get; set; }
    6972
    70         // ------------------------------------------------------------------
    71         /// <summary>
    72         /// Gets or sets the name of this layer.
    73         /// </summary>
    74         // ------------------------------------------------------------------
    75         string Name { get; set; }
     73    #endregion
    7674
    77         #endregion
    78 
    79         // ------------------------------------------------------------------
    80         /// <summary>
    81         /// Gets the entities of this layer.
    82         /// </summary>
    83         /// <value>The entities.</value>
    84         // ------------------------------------------------------------------
    85         CollectionBase<IDiagramEntity> Entities { get;}
    86     }
     75    // ------------------------------------------------------------------
     76    /// <summary>
     77    /// Gets the entities of this layer.
     78    /// </summary>
     79    /// <value>The entities.</value>
     80    // ------------------------------------------------------------------
     81    CollectionBase<IDiagramEntity> Entities { get; }
     82  }
    8783}
Note: See TracChangeset for help on using the changeset viewer.