Changeset 4068 for trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/IGroup.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/Core/Interfaces/IGroup.cs
r2768 r4068 1 using System;2 using System.Collections.Generic;3 using System.Text;4 1 5 namespace Netron.Diagramming.Core 6 { 7 // ---------------------------------------------------------------------- 2 namespace Netron.Diagramming.Core { 3 // ---------------------------------------------------------------------- 4 /// <summary> 5 /// The group interface. 6 /// </summary> 7 // ---------------------------------------------------------------------- 8 public interface IGroup : IDiagramEntity { 9 // ------------------------------------------------------------------ 8 10 /// <summary> 9 /// The group interface.11 /// Gets or sets the entities contained in this group. 10 12 /// </summary> 11 // ---------------------------------------------------------------------- 12 public interface IGroup : IDiagramEntity 13 { 14 // ------------------------------------------------------------------ 15 /// <summary> 16 /// Gets or sets the entities contained in this group. 17 /// </summary> 18 // ------------------------------------------------------------------ 19 CollectionBase<IDiagramEntity> Entities { get; set;} 13 // ------------------------------------------------------------------ 14 CollectionBase<IDiagramEntity> Entities { get; set; } 20 15 21 22 23 24 25 26 27 bool EmphasizeGroup { get;set;}16 // ------------------------------------------------------------------ 17 /// <summary> 18 /// Gets or sets whether the group as a shape should be painted on 19 /// the canvas. 20 /// </summary> 21 // ------------------------------------------------------------------ 22 bool EmphasizeGroup { get; set; } 28 23 29 30 31 32 33 34 24 // ------------------------------------------------------------------ 25 /// <summary> 26 /// Calculates the bounding rectangle that encompasses all entities. 27 /// </summary> 28 // ------------------------------------------------------------------ 29 void CalculateRectangle(); 35 30 36 // ------------------------------------------------------------------ 37 /// <summary> 38 /// Gets or sets if un-grouping of the entities is allowed. 39 /// </summary> 40 // ------------------------------------------------------------------ 41 bool CanUnGroup 42 { 43 get; 44 set; 45 } 31 // ------------------------------------------------------------------ 32 /// <summary> 33 /// Gets or sets if un-grouping of the entities is allowed. 34 /// </summary> 35 // ------------------------------------------------------------------ 36 bool CanUnGroup { 37 get; 38 set; 46 39 } 40 } 47 41 }
Note: See TracChangeset
for help on using the changeset viewer.