2 types derived from CompositeActivityDesigner
System.Workflow.ComponentModel (2)
AuthoringOM\Design\FreeFormDesigner.cs (1)
43
public class FreeformActivityDesigner :
CompositeActivityDesigner
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
39
public abstract class StructuredCompositeActivityDesigner :
CompositeActivityDesigner
164 references to CompositeActivityDesigner
System.Workflow.Activities (18)
Designers\ConditionedDesigner.cs (1)
20
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
Designers\EventDrivenDesigner.cs (1)
21
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
Designers\EventHandlersDesigner.cs (1)
36
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
Designers\SetStateDesigner.cs (1)
110
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
Designers\StateDesigner.cs (12)
868
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
1171
CompositeActivityDesigner
compositeDesigner = (
CompositeActivityDesigner
)StateDesigner.GetDesigner(sourceDesignerLayoutConnectionPoint.EventHandler);
1193
CompositeActivityDesigner
compositeDesigner = StateDesigner.GetDesigner(sourceDesignerLayoutConnectionPoint.EventHandler) as
CompositeActivityDesigner
;
1201
CompositeActivityDesigner
setStateParentDesigner = StateDesigner.GetDesigner(setStateActivity.Parent) as
CompositeActivityDesigner
;
1248
CompositeActivityDesigner
previousSetStateParentDesigner = (
CompositeActivityDesigner
)StateDesigner.GetDesigner(setState.Parent);
1254
CompositeActivityDesigner
newSetStateParentDesigner = (
CompositeActivityDesigner
)StateDesigner.GetDesigner(source.EventHandler);
1962
CompositeActivityDesigner
.InsertActivities(
Designers\StateFinalizationDesigner.cs (1)
21
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
Designers\StateInitializationDesigner.cs (1)
21
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
System.Workflow.ComponentModel (142)
AuthoringOM\Behaviors\CompensateDesigner.cs (1)
22
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (1)
69
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
AuthoringOM\Design\ActivityDesigner.cs (19)
82
private
CompositeActivityDesigner
invokingDesigner;
114
public
CompositeActivityDesigner
ParentDesigner
118
CompositeActivityDesigner
parentDesigner = null;
123
parentDesigner = ActivityDesigner.GetDesigner(Activity.Parent) as
CompositeActivityDesigner
;
571
protected virtual
CompositeActivityDesigner
InvokingDesigner
843
CompositeActivityDesigner
parentDesigner = ParentDesigner;
911
public virtual bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
1088
CompositeActivityDesigner
compositeDesigner = designer as
CompositeActivityDesigner
;
1955
internal static
CompositeActivityDesigner
GetParentDesigner(object obj)
1958
CompositeActivityDesigner
parentDesigner = null;
1961
parentDesigner = ((HitTestInfo)obj).AssociatedDesigner as
CompositeActivityDesigner
;
2053
CompositeActivityDesigner
parentDesigner = containedDesigner.ParentDesigner;
2390
CompositeActivityDesigner
IWorkflowRootDesigner.InvokingDesigner
2540
CompositeActivityDesigner
compositeActivityDesigner = ActivityDesigner.GetDesigner(compositeActivity) as
CompositeActivityDesigner
;
2545
Activity[] activities =
CompositeActivityDesigner
.DeserializeActivitiesFromToolboxItem(Activity.Site, toolboxItem, false);
2554
activities =
CompositeActivityDesigner
.DeserializeActivitiesFromToolboxItem(Activity.Site, toolboxItem, true);
2557
CompositeActivityDesigner
.InsertActivities(compositeActivityDesigner, hitInfo, new List<Activity>(activities).AsReadOnly(), SR.GetString(SR.PastingActivities));
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (2)
115
CompositeActivityDesigner
compositeDesigner = this.activityDesigner.ParentDesigner;
169
CompositeActivityDesigner
compositeDesigner = this.activityDesigner.ParentDesigner;
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (4)
56
CompositeActivityDesigner
parentDesigner = serializationManager.Context[typeof(
CompositeActivityDesigner
)] as
CompositeActivityDesigner
;
134
properties.Add(typeof(
CompositeActivityDesigner
).GetProperty("Designers", BindingFlags.Instance | BindingFlags.NonPublic));
AuthoringOM\Design\ActivityPreviewDesigner.cs (3)
201
CompositeActivityDesigner
compositeDesigner = PreviewedDesigner as
CompositeActivityDesigner
;
832
CompositeActivityDesigner
parentDesigner = designer.ParentDesigner;
AuthoringOM\Design\CommandSet.cs (18)
408
CompositeActivityDesigner
compositeActivityDesigner = ActivityDesigner.GetDesigner(entry.Key as Activity) as
CompositeActivityDesigner
;
426
CompositeActivityDesigner
compositeDesigner = ActivityDesigner.GetDesigner(selectedObject as Activity) as
CompositeActivityDesigner
;
454
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetDesigner(parentActivity) as
CompositeActivityDesigner
;
463
components =
CompositeActivityDesigner
.DeserializeActivitiesFromDataObject(this.serviceProvider, dataObj);
500
CompositeActivityDesigner
compositeDesigner = ActivityDesigner.GetDesigner(activity) as
CompositeActivityDesigner
;
615
CompositeActivityDesigner
designer = ActivityDesigner.GetDesigner(activity) as
CompositeActivityDesigner
;
877
IDataObject dataObject =
CompositeActivityDesigner
.SerializeActivitiesToDataObject(this.serviceProvider, topLevelActivities);
884
CompositeActivityDesigner
compositeDesigner = ActivityDesigner.GetDesigner(selectedObject as Activity) as
CompositeActivityDesigner
;
897
components =
CompositeActivityDesigner
.DeserializeActivitiesFromDataObject(this.serviceProvider, dataObj, true);
922
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetDesigner(parentActivity) as
CompositeActivityDesigner
;
943
CompositeActivityDesigner
.InsertActivities(compositeDesigner, hitInfo, topLevelActivities.AsReadOnly(), SR.GetString(SR.PastingActivities));
AuthoringOM\Design\CompositeActivityDesigner.cs (22)
341
requestedLineSize.Width *= Math.Min(Text.Length,
CompositeActivityDesigner
.MaximumCharsPerLine - 1);
350
textLines = Math.Min(textLines,
CompositeActivityDesigner
.MaximumTextLines);
423
public static void InsertActivities(
CompositeActivityDesigner
compositeActivityDesigner, HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert, string undoTransactionDescription)
522
CompositeActivityDesigner
parentDesigner = designer.ParentDesigner;
689
if (topLevelDesigner is
CompositeActivityDesigner
)
695
CompositeActivityDesigner
compositeDesigner = compositeDesigners.Dequeue() as
CompositeActivityDesigner
;
709
if (activityDesigner is
CompositeActivityDesigner
)
913
CompositeActivityDesigner
parentDesigner = designer.ParentDesigner;
1362
CompositeActivityDesigner
selectedDesigner = ActivityDesigner.GetDesigner(selectedObject as Activity) as
CompositeActivityDesigner
;
1371
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetParentDesigner(selectedObject);
1391
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetParentDesigner(selectedObject);
1395
CompositeActivityDesigner
selectedDesigner = ActivityDesigner.GetDesigner(selectedObject as Activity) as
CompositeActivityDesigner
;
1405
CompositeActivityDesigner
nextSelectedDesigner = ActivityDesigner.GetDesigner(nextSelectedObject as Activity) as
CompositeActivityDesigner
;
1424
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetParentDesigner(selectedObject);
1439
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetParentDesigner(selectedObject);
1490
CompositeActivityDesigner
parentDesigner = designer.ParentDesigner;
1554
CompositeActivityDesigner
compositeDesigner = ActivityDesigner.GetDesigner(compositeActivity) as
CompositeActivityDesigner
;
AuthoringOM\Design\CompositeDesignerAccessibleObject.cs (7)
41
public CompositeDesignerAccessibleObject(
CompositeActivityDesigner
activityDesigner)
51
CompositeActivityDesigner
compositeDesigner = base.ActivityDesigner as
CompositeActivityDesigner
;
59
CompositeActivityDesigner
compositeDesigner = base.ActivityDesigner as
CompositeActivityDesigner
;
68
CompositeActivityDesigner
compositeDesigner = base.ActivityDesigner as
CompositeActivityDesigner
;
AuthoringOM\Design\Connector.cs (4)
1569
CompositeActivityDesigner
parentDesigner = sourceDesigner.ParentDesigner;
1583
CompositeActivityDesigner
parentDesigner = targetDesigner.ParentDesigner;
1597
foreach (
CompositeActivityDesigner
parentDesigner in parentDesignerDictionary.Values)
1639
CompositeActivityDesigner
sourceParentDesigner = (sourceDesigner != null) ? sourceDesigner.ParentDesigner : null;
AuthoringOM\Design\CustomActivityDesigner.cs (2)
330
CompositeActivityDesigner
rootDesigner = host.GetDesigner(host.RootComponent) as
CompositeActivityDesigner
;
AuthoringOM\Design\DesignerHelpers.cs (3)
511
bool expanded = (designer is
CompositeActivityDesigner
) ? ((
CompositeActivityDesigner
)designer).Expanded : false;
1226
CompositeActivityDesigner
parentDesigner = (activityDesigner != null) ? activityDesigner.ParentDesigner : null;
AuthoringOM\Design\DesignerInterfaces.cs (2)
525
CompositeActivityDesigner
InvokingDesigner { get; set; }
704
public ConnectorHitTestInfo(
CompositeActivityDesigner
compositeActivityDesigner, HitTestLocations flags, int connector)
AuthoringOM\Design\DesignerWidgets.cs (3)
3554
CompositeActivityDesigner
previewDesigner = designer as
CompositeActivityDesigner
;
3571
previewDesigner = previewDesigner.ContainedDesigners[0] as
CompositeActivityDesigner
;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
1025
CompositeActivityDesigner
compositeDesigner = host.GetDesigner(rootDecl) as
CompositeActivityDesigner
;
AuthoringOM\Design\FreeFormDesigner.cs (3)
883
CompositeActivityDesigner
.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, ((CompositeActivity)Activity).Activities.Count), activitiesToInsert.AsReadOnly(), SR.GetString(SR.DragDropActivities));
1157
CompositeActivityDesigner
parentDesigner = this;
1188
CompositeActivityDesigner
parentDesigner = this;
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (4)
247
private
CompositeActivityDesigner
autoExpandableDesigner = null;
260
SetAutoExpandableDesigner(parentView.MessageHitTestContext.AssociatedDesigner as
CompositeActivityDesigner
);
271
SetAutoExpandableDesigner(parentView.MessageHitTestContext.AssociatedDesigner as
CompositeActivityDesigner
);
292
private void SetAutoExpandableDesigner(
CompositeActivityDesigner
value)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (14)
254
Activity[] activities =
CompositeActivityDesigner
.DeserializeActivitiesFromDataObject(ParentView, eventArgs.Data);
293
CompositeActivityDesigner
compositeDesigner = potentialDropTargetDesigner as
CompositeActivityDesigner
;
352
CompositeActivityDesigner
compositeDesigner = potentialDropTargetDesigner as
CompositeActivityDesigner
;
462
(this.dropTargetDesigner is
CompositeActivityDesigner
&& !((
CompositeActivityDesigner
)this.dropTargetDesigner).IsEditable))
486
droppedActivities.AddRange(
CompositeActivityDesigner
.DeserializeActivitiesFromDataObject(ParentView, eventArgs.Data, true));
724
CompositeActivityDesigner
compositeDesigner = dropLocation.AssociatedDesigner as
CompositeActivityDesigner
;
743
CompositeActivityDesigner
compositeActivityDesigner = ActivityDesigner.GetDesigner(entry.Key as Activity) as
CompositeActivityDesigner
;
837
IDataObject dataObject =
CompositeActivityDesigner
.SerializeActivitiesToDataObject(ParentView, this.existingDraggedActivities.ToArray());
857
CompositeActivityDesigner
.RemoveActivities(ParentView, this.existingDraggedActivities.AsReadOnly(), transactionDescription);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
215
ActivityDesigner[] intersectingDesigners =
CompositeActivityDesigner
.GetIntersectingDesigners(parentView.RootDesigner, DragRectangle);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (3)
380
CompositeActivityDesigner
compositeDesigner = rootDesigner as
CompositeActivityDesigner
;
395
compositeDesigner = activityDesigner as
CompositeActivityDesigner
;
AuthoringOM\Design\MessageFilters\WindowManager.cs (4)
243
CompositeActivityDesigner
parentDesigner = ActivityDesigner.GetParentDesigner(selectionService.PrimarySelection);
267
CompositeActivityDesigner
compositeActivityDesigner = ActivityDesigner.GetDesigner(entry.Key as Activity) as
CompositeActivityDesigner
;
283
CompositeActivityDesigner
.RemoveActivities((IServiceProvider)this.ParentView, topLevelActivities.AsReadOnly(), SR.GetString(SR.DeletingActivities));
AuthoringOM\Design\ParallelActivityDesigner.cs (3)
82
CompositeActivityDesigner
firstDesigner = (firstComponent is Activity) ? ActivityDesigner.GetDesigner(firstComponent as Activity) as
CompositeActivityDesigner
: null;
472
CompositeActivityDesigner
.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, compositeActivity.Activities.Count), new List<Activity>(new Activity[] { branchActivity }).AsReadOnly(), DR.GetString(DR.AddingBranch, branchActivity.GetType().Name));
AuthoringOM\Design\SecondaryViewProvider.cs (1)
191
CompositeActivityDesigner
.InsertActivities(this.parentDesigner, new HitTestInfo(this.parentDesigner, HitTestLocations.Designer), new List<Activity>(new Activity[] { activity }).AsReadOnly(), SR.GetString(SR.AddingImplicitActivity));
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (2)
78
CompositeActivityDesigner
compositeDesigner = this.ActivityDesigner.ParentDesigner;
210
object nextSelectableObj = ((
CompositeActivityDesigner
)this.connectorHitInfo.AssociatedDesigner).GetNextSelectableObject(this.connectorHitInfo, navigate);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
170
protected override
CompositeActivityDesigner
InvokingDesigner
250
public override bool CanBeParentedTo(
CompositeActivityDesigner
parentActivityDesigner)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (7)
105
if (activeDesigner != null && activeDesigner != this && activeDesigner is
CompositeActivityDesigner
)
106
return ((
CompositeActivityDesigner
)activeDesigner).LastSelectableObject;
392
CompositeActivityDesigner
activeCompositeDesigner = ActiveDesigner as
CompositeActivityDesigner
;
412
if (current != activeDesigner.Activity && activeDesigner is
CompositeActivityDesigner
)
413
nextObject = ((
CompositeActivityDesigner
)activeDesigner).GetNextSelectableObject(current, direction);
523
CompositeActivityDesigner
.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, CurrentDropTarget), e.Activities, SR.GetString(SR.DragDropActivities));
AuthoringOM\Design\WorkflowInlining.cs (2)
220
private
CompositeActivityDesigner
parentDesigner;
222
internal ContainedDesignSurface(IServiceProvider parentServiceProvider,
CompositeActivityDesigner
parentDesigner)
AuthoringOM\Design\WorkflowView.cs (3)
823
CompositeActivityDesigner
parentDesigner = activityDesigner.ParentDesigner;
841
CompositeActivityDesigner
compositeDesigner = ActivityDesigner.GetDesigner(activity) as
CompositeActivityDesigner
;
System.WorkflowServices (4)
System\Workflow\ComponentModel\Design\DesignerPainter.cs (3)
24
public static
CompositeActivityDesigner
GetRootDesigner(ActivityDesigner designer)
31
CompositeActivityDesigner
rootDesigner = designer.ParentDesigner;
79
if (!((
CompositeActivityDesigner
) parentDesigner).ContainedDesigners.Contains(currentDesigner))
System\Workflow\ComponentModel\Design\FindSimilarActivitiesVerb.cs (1)
55
CompositeActivityDesigner
rootDesigner = DesignerPainter.GetRootDesigner(activityDesigner);