Last change
on this file since 13400 was
4068,
checked in by swagner, 14 years ago
|
Sorted usings and removed unused usings in entire solution (#1094)
|
File size:
1.4 KB
|
Line | |
---|
1 | using System.Drawing;
|
---|
2 | namespace Netron.Diagramming.Core {
|
---|
3 | /// <summary>
|
---|
4 | /// This interface describes the public members of a connector
|
---|
5 | /// </summary>
|
---|
6 | public interface IConnector : IDiagramEntity {
|
---|
7 | #region Properties
|
---|
8 | /// <summary>
|
---|
9 | /// Gets the point at which the connector is located
|
---|
10 | /// </summary>
|
---|
11 | Point Point { get; set; }
|
---|
12 | /// <summary>
|
---|
13 | /// Gets or sets the connector to which this connector is attached to
|
---|
14 | /// </summary>
|
---|
15 | IConnector AttachedTo { get; set; }
|
---|
16 | /// <summary>
|
---|
17 | /// Gets the connectors (if any) attached to this connector
|
---|
18 | /// </summary>
|
---|
19 | CollectionBase<IConnector> AttachedConnectors { get; }
|
---|
20 | #endregion
|
---|
21 |
|
---|
22 | #region Methods
|
---|
23 | /// <summary>
|
---|
24 | /// Attaches the given connector to this one
|
---|
25 | /// </summary>
|
---|
26 | /// <param name="child">The child connector to attach.</param>
|
---|
27 | void AttachConnector(IConnector child);
|
---|
28 |
|
---|
29 | /// <summary>
|
---|
30 | /// Detaches the given connector from this connector.
|
---|
31 | /// </summary>
|
---|
32 | /// <param name="child">The child connector to detach.</param>
|
---|
33 | void DetachConnector(IConnector child);
|
---|
34 |
|
---|
35 | /// <summary>
|
---|
36 | /// Detaches from its parent (if any).
|
---|
37 | /// </summary>
|
---|
38 | void DetachFromParent();
|
---|
39 |
|
---|
40 | /// <summary>
|
---|
41 | /// Attaches to another connector
|
---|
42 | /// </summary>
|
---|
43 | /// <param name="parent">The new parent connector.</param>
|
---|
44 | void AttachTo(IConnector parent);
|
---|
45 | #endregion
|
---|
46 | }
|
---|
47 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.