예제 #1
0
 /// <summary>
 /// Creates the join according to given definition.
 /// </summary>
 /// <param name="definition">The definition of join.</param>
 /// <param name="context">The context of <see cref="DiagramDefinition"/> where join will be displayed.</param>
 /// <returns>Join drawing.</returns>
 public abstract JoinDrawing CreateJoin(JoinDefinition definition, DiagramContext context);
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JoinDrawing" /> class.
 /// </summary>
 /// <param name="definition">The join drawing definition.</param>
 public JoinDrawing(JoinDefinition definition)
 {
     Definition = definition;
 }
예제 #3
0
 /// <summary>
 /// Add join into context.
 /// </summary>
 /// <param name="join">Join that will be drawed.</param>
 public void DrawJoin(JoinDefinition join)
 {
     _joinDefinitions.Add(join);
 }