52 references to EditPointTypes
System.Workflow.ComponentModel (52)
AuthoringOM\Design\Connector.cs (52)
916if (activeEditPoint.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
998if (editPoint.Type == EditPoint.EditPointTypes.ConnectionEditPoint ||
999editPoint.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1096AddEditPoints(EditPoint.EditPointTypes.ConnectionEditPoint);
1097AddEditPoints(EditPoint.EditPointTypes.MultiSegmentEditPoint);
1098AddEditPoints(EditPoint.EditPointTypes.MidSegmentEditPoint);
1107this.editPoints[0].Type != EditPoint.EditPointTypes.ConnectionEditPoint ||
1108this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint)
1115RemoveEditPoints(EditPoint.EditPointTypes.MidSegmentEditPoint);
1125if (previous != null && previous.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
1138previous = new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, editPointLocation);
1139this.editPoints.InsertRange(activeEditPointIndex, new EditPoint[] { new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, editPointLocation), previous });
1142if (next != null && next.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
1155next = new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, editPointLocation);
1156this.editPoints.InsertRange(activeEditPointIndex + 1, new EditPoint[] { next, new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, editPointLocation) });
1160if (this.activeEditPoint.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
1165RemoveEditPoints(EditPoint.EditPointTypes.MultiSegmentEditPoint);
1183newEditPoints.Add(new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, points[i]));
1186else if (this.activeEditPoint.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1188if (previous != null && previous.Type != EditPoint.EditPointTypes.ConnectionEditPoint && next != null && next.Type != EditPoint.EditPointTypes.ConnectionEditPoint)
1208else if (this.activeEditPoint.Type == EditPoint.EditPointTypes.MidSegmentEditPoint)
1210if (previous != null && previous.Type != EditPoint.EditPointTypes.ConnectionEditPoint && next != null && next.Type != EditPoint.EditPointTypes.ConnectionEditPoint)
1240AddEditPoints(EditPoint.EditPointTypes.MidSegmentEditPoint);
1247private void AddEditPoints(EditPoint.EditPointTypes editPointType)
1249if (editPointType == EditPoint.EditPointTypes.ConnectionEditPoint)
1257else if (editPointType == EditPoint.EditPointTypes.MidSegmentEditPoint)
1262if (this.editPoints[i].Type != EditPoint.EditPointTypes.MidSegmentEditPoint &&
1263this.editPoints[i + 1].Type != EditPoint.EditPointTypes.MidSegmentEditPoint &&
1267this.editPoints.Insert(i + 1, new EditPoint(this, EditPoint.EditPointTypes.MidSegmentEditPoint, midPoint));
1271else if (editPointType == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1283editPointsToAdd.Add(new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, segments[i]));
1294private void RemoveEditPoints(EditPoint.EditPointTypes editPointType)
1316this.editPoints[0].Type != EditPoint.EditPointTypes.ConnectionEditPoint ||
1317this.editPoints[this.editPoints.Count - 1].Type != EditPoint.EditPointTypes.ConnectionEditPoint ||
1318(this.activeEditPoint != null && this.activeEditPoint.Type == EditPoint.EditPointTypes.ConnectionEditPoint))
1324RemoveEditPoints(EditPoint.EditPointTypes.MidSegmentEditPoint);
1330if (this.editPoints[i].Type != EditPoint.EditPointTypes.MultiSegmentEditPoint ||
1332(i > 0 && this.editPoints[i - 1].Type == EditPoint.EditPointTypes.MidSegmentEditPoint) ||
1333(i < this.editPoints.Count - 1 && this.editPoints[i + 1].Type == EditPoint.EditPointTypes.MidSegmentEditPoint))
1349if ((distance < current.Bounds.Width || distance < current.Bounds.Height) && next.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1359if ((distance < current.Bounds.Width || distance < current.Bounds.Height) && previous.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1399this.editPoints.Insert(i + 1, new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, location));
1419if (this.editPoints[i].Type == EditPoint.EditPointTypes.MidSegmentEditPoint &&
1420this.editPoints[i + 1].Type == EditPoint.EditPointTypes.MidSegmentEditPoint)
1435if (editPoint.Type == EditPoint.EditPointTypes.ConnectionEditPoint ||
1436editPoint.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1451private EditPointTypes editPointType;
1455public EditPoint(ConnectorEditor owner, EditPointTypes editPointType, Point point)
1465this.editPointType = EditPointTypes.ConnectionEditPoint;
1470public EditPointTypes Type