16 types derived from ActivityDesigner
System.Workflow.Activities (10)
Designers\CodeDesigner.cs (1)
16
internal sealed class CodeDesigner :
ActivityDesigner
Designers\DelayDesigner.cs (1)
16
internal sealed class DelayDesigner :
ActivityDesigner
Designers\EventSinkActivityDesigner.cs (1)
19
internal class HandleExternalEventActivityDesigner :
ActivityDesigner
Designers\InvokeMethodActivityDesigner.cs (1)
19
internal class CallExternalMethodActivityDesigner :
ActivityDesigner
Designers\InvokeWebServiceDesigner.cs (1)
64
internal sealed class InvokeWebServiceDesigner :
ActivityDesigner
Designers\PolicyDesigner.cs (1)
23
internal sealed class PolicyDesigner :
ActivityDesigner
, IServiceProvider
Designers\SetStateDesigner.cs (1)
26
internal sealed class SetStateDesigner :
ActivityDesigner
Designers\WebServiceFaultDesigner.cs (1)
21
internal sealed class WebServiceFaultDesigner :
ActivityDesigner
Designers\WebServiceReceiveDesigner.cs (1)
23
internal sealed class WebServiceReceiveDesigner :
ActivityDesigner
Designers\WebServiceResponseDesigner.cs (1)
21
internal sealed class WebServiceResponseDesigner :
ActivityDesigner
System.Workflow.ComponentModel (5)
AuthoringOM\Behaviors\CompensateDesigner.cs (1)
19
internal sealed class CompensateDesigner :
ActivityDesigner
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
40
public abstract class CompositeActivityDesigner :
ActivityDesigner
AuthoringOM\FaultDesigner.cs (1)
19
internal sealed class ThrowDesigner :
ActivityDesigner
AuthoringOM\SuspendDesigner.cs (1)
16
internal sealed class SuspendDesigner :
ActivityDesigner
AuthoringOM\TerminateDesigner.cs (1)
16
internal sealed class TerminateDesigner :
ActivityDesigner
System.WorkflowServices (1)
System\Workflow\Activities\SendActivityDesigner.cs (1)
21
class SendActivityDesigner :
ActivityDesigner
1 instantiation of ActivityDesigner
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ActivityDesigner.cs (1)
1975
ActivityDesigner activityDesigner = new
ActivityDesigner
();
587 references to ActivityDesigner
System.Workflow.Activities (60)
Common\CompModHelpers.cs (4)
311
ActivityDesigner
activityDesigner = designerHost.GetDesigner(component) as
ActivityDesigner
;
360
ActivityDesigner
activityDesigner = designerHost.GetDesigner(component) as
ActivityDesigner
;
Designers\ServiceDesigner.cs (1)
65
ActivityDesigner
hostedDesigner = (ActiveView != null) ? ActiveView.AssociatedDesigner : null;
Designers\StateDesigner.CommentLayoutGlyph.cs (2)
36
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
53
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
Designers\StateDesigner.cs (24)
46
private
ActivityDesigner
_activeDesigner;
501
internal
ActivityDesigner
ActiveDesigner
883
public override void EnsureVisibleContainedDesigner(
ActivityDesigner
containedDesigner)
922
ActivityDesigner
designer = GetDesigner(activity);
924
List<
ActivityDesigner
> ordered = this.DesignersParser.Ordered;
1004
public override bool IsContainedDesignerVisible(
ActivityDesigner
containedDesigner)
1024
protected override bool CanResizeContainedDesigner(
ActivityDesigner
containedDesigner)
1417
foreach (
ActivityDesigner
designer in this.ContainedDesigners)
1445
foreach (
ActivityDesigner
designer in this.ContainedDesigners)
1474
foreach (
ActivityDesigner
designer in this.ContainedDesigners)
1498
foreach (
ActivityDesigner
designer in this.ContainedDesigners)
1615
ActivityDesigner
activityDesigner = StateDesigner.GetDesigner(activity);
2117
ActivityDesigner
activityDesigner = GetDesigner(selection);
2129
private void SetActiveDesigner(
ActivityDesigner
designer)
2167
private void SetLeafActiveDesigner(StateDesigner parentDesigner,
ActivityDesigner
activityDesigner)
2193
ActivityDesigner
activeDesigner = null;
2196
foreach (
ActivityDesigner
activityDesigner in this.ContainedDesigners)
2208
private void SetActiveDesignerHelper(StateDesigner stateDesigner,
ActivityDesigner
activeDesigner)
2228
private static object GetService(
ActivityDesigner
designer, Type serviceType)
2247
internal static
ActivityDesigner
GetDesigner(Activity activity)
2249
ActivityDesigner
designer = null;
2255
designer = designerHost.GetDesigner(activity) as
ActivityDesigner
;
2261
internal static Image GetDesignerImage(
ActivityDesigner
designer)
2343
ActivityDesigner
activeDesigner = designer.ActiveDesigner;
Designers\StateDesigner.Helpers.cs (5)
36
List<
ActivityDesigner
> _ordered;
37
internal ContainedDesignersParser(ReadOnlyCollection<
ActivityDesigner
> containedDesigners)
39
foreach (
ActivityDesigner
designer in containedDesigners)
73
public List<
ActivityDesigner
> Ordered
79
_ordered = new List<
ActivityDesigner
>();
Designers\StateDesigner.Layouts.cs (19)
29
public DesignerLayoutConnectionPoint(
ActivityDesigner
associatedDesigner, int connectionIndex, CompositeActivity eventHandler, DesignerEdges designerEdges)
89
private
ActivityDesigner
_activityDesigner;
94
public Layout(
ActivityDesigner
activityDesigner)
112
public
ActivityDesigner
ActivityDesigner
197
public Layout GetLayout(
ActivityDesigner
designer)
394
public DesignerLayoutBase(
ActivityDesigner
activityDesigner)
471
ActivityDesigner
activityDesigner = this.ActivityDesigner;
491
public DesignerLayout(
ActivityDesigner
activityDesigner)
543
public DesignerLinkLayout(
ActivityDesigner
activityDesigner)
605
ActivityDesigner
activityDesigner = this.ActivityDesigner;
635
public EventHandlersLayout(
ActivityDesigner
activityDesigner)
733
public BreadCrumbBarLayout(
ActivityDesigner
activityDesigner)
834
public TextLayout(
ActivityDesigner
activityDesigner)
879
public ImageLayout(
ActivityDesigner
activityDesigner)
928
public TitleBarLayout(
ActivityDesigner
activityDesigner)
1075
ActivityDesigner
activityDesigner,
1148
foreach (
ActivityDesigner
designer in this.StateDesigner.ContainedDesigners)
1267
public EventDrivenLayout(
ActivityDesigner
activityDesigner, TitleBarLayout titleBarLayout)
1323
ActivityDesigner
activeDesigner = this.StateDesigner.ActiveDesigner;
Designers\StateDesigner.LayoutSelectionGlyph.cs (1)
55
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
Designers\StateDesignerConnector.cs (1)
321
ActivityDesigner
targetDesigner = StateDesigner.GetDesigner(referenceService.GetReference(constructionArguments["TargetActivity"] as string) as Activity);
Designers\StateMachineDesignerPaint.cs (3)
423
internal static GraphicsPath GetDesignerPath(
ActivityDesigner
designer, Rectangle bounds, ActivityDesignerTheme designerTheme)
445
internal static
ActivityDesigner
GetSafeRootDesigner(IServiceProvider serviceProvider)
447
return (serviceProvider != null) ?
ActivityDesigner
.GetRootDesigner(serviceProvider) : null;
System.Workflow.ComponentModel (491)
AuthoringOM\Activity.cs (2)
137
[Designer(typeof(
ActivityDesigner
), typeof(IDesigner))]
138
[Designer(typeof(
ActivityDesigner
), typeof(IRootDesigner))]
AuthoringOM\Design\ActivityDesigner.cs (42)
123
parentDesigner =
ActivityDesigner
.GetDesigner(Activity.Parent) as CompositeActivityDesigner;
197
IWorkflowRootDesigner rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(Activity.Site) as IWorkflowRootDesigner;
434
bool isNestedInComment =
ActivityDesigner
.IsCommentedActivity(activity);
499
bool isNestedInComment =
ActivityDesigner
.IsCommentedActivity(Activity);
643
if (activity != null &&
ActivityDesigner
.GetDesigner(activity) is FreeformActivityDesigner)
779
string tipText = (!String.IsNullOrEmpty(Activity.Description)) ? Activity.Description :
ActivityDesigner
.GetActivityDescription(Activity.GetType());
873
public static
ActivityDesigner
GetRootDesigner(IServiceProvider serviceProvider)
879
return (designerHost != null) ? GetDesigner(designerHost.RootComponent as Activity) as
ActivityDesigner
: null;
1073
Queue<
ActivityDesigner
> designers = new Queue<
ActivityDesigner
>();
1077
ActivityDesigner
designer = designers.Dequeue();
1091
foreach (
ActivityDesigner
containedDesigner in compositeDesigner.ContainedDesigners)
1715
requestedLineSize.Width *= Math.Min(Text.Length,
ActivityDesigner
.MaximumCharsPerLine - 1);
1727
textLines = Math.Min(textLines,
ActivityDesigner
.MaximumTextLines);
1923
internal static
ActivityDesigner
GetSafeRootDesigner(IServiceProvider serviceProvider)
1925
return (serviceProvider != null) ?
ActivityDesigner
.GetRootDesigner(serviceProvider) : null;
1928
internal static
ActivityDesigner
GetDesigner(Activity activity)
1930
ActivityDesigner
designer = null;
1936
designer = designerHost.GetDesigner(activity) as
ActivityDesigner
;
1965
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(obj as Activity);
1973
internal static
ActivityDesigner
CreateTransientDesigner(Activity activity)
1975
ActivityDesigner
activityDesigner = new ActivityDesigner();
2018
internal static
ActivityDesigner
CreateDesigner(IServiceProvider serviceProvider, Activity activity)
2037
return (designer as
ActivityDesigner
);
2050
ActivityDesigner
containedDesigner =
ActivityDesigner
.GetDesigner(activity);
2229
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(e.Component as Activity);
2245
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(changedActivity);
2442
if (targetFramework <
ActivityDesigner
.FrameworkVersion_3_0)
2447
if (targetFramework <
ActivityDesigner
.FrameworkVersion_3_5)
2478
IWorkflowRootDesigner rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(Activity.Site) as IWorkflowRootDesigner;
2487
rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(rootDesigner.InvokingDesigner.Activity.Site) as IWorkflowRootDesigner;
2536
hitInfo = new HitTestInfo(
ActivityDesigner
.GetDesigner(compositeActivity), HitTestLocations.Designer);
2540
CompositeActivityDesigner compositeActivityDesigner =
ActivityDesigner
.GetDesigner(compositeActivity) as CompositeActivityDesigner;
3029
private
ActivityDesigner
activeDesigner;
3031
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
3059
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
3113
protected override void OnActivate(
ActivityDesigner
designer)
3124
internal
ActivityDesigner
ActiveDesigner
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (5)
37
private
ActivityDesigner
activityDesigner;
43
public ActivityDesignerAccessibleObject(
ActivityDesigner
activityDesigner)
182
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(compositeDesigner.GetNextSelectableObject(this.activityDesigner.Activity, navigate) as Activity);
216
protected
ActivityDesigner
ActivityDesigner
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (8)
24
ActivityDesigner
activityDesigner = obj as
ActivityDesigner
;
114
ActivityDesigner
activityDesigner = obj as
ActivityDesigner
;
225
ActivityDesigner
sourceDesigner =
ActivityDesigner
.GetDesigner(referenceService.GetReference(constructionArguments["SourceActivity"] as string) as Activity);
236
ActivityDesigner
targetDesigner =
ActivityDesigner
.GetDesigner(referenceService.GetReference(constructionArguments["TargetActivity"] as string) as Activity);
AuthoringOM\Design\ActivityPreviewDesigner.cs (22)
101
public
ActivityDesigner
PreviewedDesigner
109
return
ActivityDesigner
.GetDesigner(itemInfo.UserData[DesignerUserDataKeys.Activity] as Activity);
113
public override ReadOnlyCollection<
ActivityDesigner
> ContainedDesigners
119
List<
ActivityDesigner
> containedDesigners = new List<
ActivityDesigner
>();
340
if (!activity.Enabled && !
ActivityDesigner
.IsCommentedActivity(activity))
345
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
386
ActivityDesigner
activityDesigner = (itemInfo != null) ?
ActivityDesigner
.GetDesigner(itemInfo.UserData[DesignerUserDataKeys.Activity] as Activity) : null;
413
public override bool IsContainedDesignerVisible(
ActivityDesigner
containedDesigner)
432
public override void EnsureVisibleContainedDesigner(
ActivityDesigner
containedDesigner)
740
EnsureVisibleContainedDesigner(designerHost.GetDesigner(((Activity)itemInfo.UserData[DesignerUserDataKeys.Activity])) as
ActivityDesigner
);
822
ActivityDesigner
selectedDesigner =
ActivityDesigner
.GetDesigner(selectionService.PrimarySelection as Activity);
829
ActivityDesigner
designer = selectedDesigner;
932
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
963
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
983
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
1004
protected override void OnActivate(
ActivityDesigner
designer)
1006
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(this.item.UserData[DesignerUserDataKeys.Activity] as Activity);
AuthoringOM\Design\CommandSet.cs (17)
408
CompositeActivityDesigner compositeActivityDesigner =
ActivityDesigner
.GetDesigner(entry.Key as Activity) as CompositeActivityDesigner;
426
CompositeActivityDesigner compositeDesigner =
ActivityDesigner
.GetDesigner(selectedObject as Activity) as CompositeActivityDesigner;
428
compositeDesigner =
ActivityDesigner
.GetParentDesigner(selectedObject);
454
CompositeActivityDesigner parentDesigner =
ActivityDesigner
.GetDesigner(parentActivity) as CompositeActivityDesigner;
500
CompositeActivityDesigner compositeDesigner =
ActivityDesigner
.GetDesigner(activity) as CompositeActivityDesigner;
525
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
560
IRootDesigner rootDesigner =
ActivityDesigner
.GetDesigner(host.RootComponent as Activity) as IRootDesigner;
615
CompositeActivityDesigner designer =
ActivityDesigner
.GetDesigner(activity) as CompositeActivityDesigner;
651
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
884
CompositeActivityDesigner compositeDesigner =
ActivityDesigner
.GetDesigner(selectedObject as Activity) as CompositeActivityDesigner;
886
compositeDesigner =
ActivityDesigner
.GetParentDesigner(selectedObject);
922
CompositeActivityDesigner parentDesigner =
ActivityDesigner
.GetDesigner(parentActivity) as CompositeActivityDesigner;
955
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(this.serviceProvider) as
ActivityDesigner
;
AuthoringOM\Design\CompositeActivityDesigner.cs (55)
50
private List<
ActivityDesigner
> containedActivityDesigners;
129
public virtual ReadOnlyCollection<
ActivityDesigner
> ContainedDesigners
133
List<
ActivityDesigner
> designers = new List<
ActivityDesigner
>();
149
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
215
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
387
internal List<
ActivityDesigner
> Designers
391
List<
ActivityDesigner
> childDesigners = new List<
ActivityDesigner
>();
398
ActivityDesigner
designer = host.GetDesigner(childActivity) as
ActivityDesigner
;
519
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
676
public static
ActivityDesigner
[] GetIntersectingDesigners(
ActivityDesigner
topLevelDesigner, Rectangle rectangle)
681
List<
ActivityDesigner
> intersectingDesigners = new List<
ActivityDesigner
>();
700
foreach (
ActivityDesigner
activityDesigner in compositeDesigner.ContainedDesigners)
766
ActivityDesigner
designerToInsert = null;
772
designerToInsert = (designerHost != null) ? designerHost.GetDesigner((IComponent)activity) as
ActivityDesigner
: null;
779
if (activity.UserData.Contains(typeof(
ActivityDesigner
)))
781
designerToInsert = activity.UserData[typeof(
ActivityDesigner
)] as
ActivityDesigner
;
786
designerToInsert =
ActivityDesigner
.CreateDesigner(Activity.Site, activity);
787
activity.UserData[typeof(
ActivityDesigner
)] = designerToInsert;
873
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
910
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
997
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1045
public virtual bool IsContainedDesignerVisible(
ActivityDesigner
containedDesigner)
1057
public virtual void EnsureVisibleContainedDesigner(
ActivityDesigner
containedDesigner)
1087
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
1090
ActivityDesigner
activityDesigner = containedDesigners[i] as
ActivityDesigner
;
1143
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
1254
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
1274
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
1329
IWorkflowDesignerMessageSink containedDesigner =
ActivityDesigner
.GetDesigner(activity) as IWorkflowDesignerMessageSink;
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);
1465
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
1476
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(e.Component as Activity);
1487
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(changedActivity);
1512
public static void MoveDesigners(
ActivityDesigner
activityDesigner, bool moveBack)
1554
CompositeActivityDesigner compositeDesigner =
ActivityDesigner
.GetDesigner(compositeActivity) as CompositeActivityDesigner;
AuthoringOM\Design\Connector.cs (15)
67
private
ActivityDesigner
associatedDesigner;
71
public ConnectionPoint(
ActivityDesigner
associatedDesigner, DesignerEdges designerEdge, int connectionIndex)
84
public
ActivityDesigner
AssociatedDesigner
558
ActivityDesigner
designer = this.target.AssociatedDesigner;
1525
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(serviceProvider);
1554
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(serviceProvider);
1558
ActivityDesigner
sourceDesigner = (sourceConnectionPoint != null) ? sourceConnectionPoint.AssociatedDesigner : rootDesigner.HitTest(sourcePoint).AssociatedDesigner;
1562
ActivityDesigner
targetDesigner = (targetConnectionPoint != null) ? targetConnectionPoint.AssociatedDesigner : rootDesigner.HitTest(targetPoint).AssociatedDesigner;
1565
Dictionary<int,
ActivityDesigner
> parentDesignerDictionary = new Dictionary<int,
ActivityDesigner
>();
1599
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = parentDesigner.ContainedDesigners;
1602
ActivityDesigner
activityDesigner = containedDesigners[j];
1657
private static IList<Point> GetDesignerEscapeCover(
ActivityDesigner
designer, ICollection<object> escapeLocations)
AuthoringOM\Design\CustomActivityDesigner.cs (3)
73
if (rootDesignerAttrib.DesignerTypeName == typeof(
ActivityDesigner
).AssemblyQualifiedName)
248
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetDesigner(activity);
AuthoringOM\Design\DesignerHelpers.cs (22)
490
internal static void DrawDesignerBackground(Graphics graphics,
ActivityDesigner
designer)
527
internal static GraphicsPath GetDesignerPath(
ActivityDesigner
designer, bool enableRoundedCorners)
532
internal static GraphicsPath GetDesignerPath(
ActivityDesigner
designer, Point offset, Size inflate, DesignerEdges edgeToInflate)
537
internal static GraphicsPath GetDesignerPath(
ActivityDesigner
designer, Point offset, Size inflate, DesignerEdges edgeToInflate, bool enableRoundedCorners)
563
if (designer ==
ActivityDesigner
.GetSafeRootDesigner(designer.Activity.Site) && ((IWorkflowRootDesigner)designer).InvokingDesigner == null)
579
internal static void DrawInvalidDesignerIndicator(Graphics graphics,
ActivityDesigner
activityDesigner)
1215
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1225
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(currentActivity);
1269
ActivityDesigner
designer = designerHost.GetDesigner(component) as
ActivityDesigner
;
1298
ActivityDesigner
designer = designerHost.GetDesigner(designerHost.Container.Components[componentName]) as
ActivityDesigner
;
1518
internal static DesignerVerb[] GetDesignerActionVerbs(
ActivityDesigner
designer, ReadOnlyCollection<DesignerAction> designerActions)
1533
internal static void ShowDesignerVerbs(
ActivityDesigner
designer, Point location, ICollection<DesignerVerb> designerVerbs)
1566
ActivityDesigner
designer = designerVerb.Properties[DesignerUserDataKeys.Designer] as
ActivityDesigner
;
1774
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1800
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
AuthoringOM\Design\DesignerInterfaces.cs (12)
488
ActivityDesignerGlyphCollection GetGlyphs(
ActivityDesigner
activityDesigner);
508
ActivityDesignerVerbCollection GetVerbs(
ActivityDesigner
activityDesigner);
571
private
ActivityDesigner
activityDesigner = null;
597
public HitTestInfo(
ActivityDesigner
designer, HitTestLocations location)
610
public
ActivityDesigner
AssociatedDesigner
769
private
ActivityDesigner
activityDesigner;
776
public DesignerAction(
ActivityDesigner
activityDesigner, int actionId, string text)
789
public DesignerAction(
ActivityDesigner
activityDesigner, int actionId, string text, Image image)
873
private
ActivityDesigner
activityDesigner = null;
879
public ActivityDesignerVerb(
ActivityDesigner
activityDesigner, DesignerVerbGroup verbGroup, string text, EventHandler invokeHandler)
893
public ActivityDesignerVerb(
ActivityDesigner
activityDesigner, DesignerVerbGroup verbGroup, string text, EventHandler invokeHandler, EventHandler statusHandler)
947
internal
ActivityDesigner
ActivityDesigner
AuthoringOM\Design\DesignerView.cs (3)
42
private
ActivityDesigner
designer;
62
public DesignerView(int viewId, string text, Image image,
ActivityDesigner
associatedDesigner)
120
public virtual
ActivityDesigner
AssociatedDesigner
AuthoringOM\Design\DesignerWidgets.cs (14)
2732
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
2983
ActivityDesigner
activityDesigner = AssociatedDesigner;
3007
ActivityDesigner
activityDesigner = AssociatedDesigner;
3031
ActivityDesigner
activityDesigner = AssociatedDesigner;
3072
ActivityDesigner
activityDesigner = AssociatedDesigner;
3091
ActivityDesigner
activityDesigner = AssociatedDesigner;
3139
ActivityDesigner
activityDesigner = AssociatedDesigner;
3156
private
ActivityDesigner
AssociatedDesigner
3166
return
ActivityDesigner
.GetDesigner(itemInfo.UserData[DesignerUserDataKeys.Activity] as Activity);
3494
private
ActivityDesigner
PreviewDesigner
3498
return
ActivityDesigner
.GetDesigner(this.previewedActivity);
3543
ActivityDesigner
previewDesigner = PreviewDesigner;
3550
private void EnsureValidDesignerPreview(
ActivityDesigner
designer)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (7)
579
selectedObjects = (previewedDesigner != null) ? new object[] { this.bufferedTheme.GetDesignerTheme(previewedDesigner as
ActivityDesigner
) } : null;
725
Type designerType =
ActivityDesigner
.GetDesignerType(serviceProvider, type, designerBaseType);
837
Type designerType =
ActivityDesigner
.GetDesignerType(serviceProvider, activityType, designerBaseType);
884
Type designerType =
ActivityDesigner
.GetDesignerType(serviceProvider, activityType, designerBaseType);
1026
ActivityDesigner
activityDesigner = host.GetDesigner(activity) as
ActivityDesigner
;
1124
designer =
ActivityDesigner
.CreateDesigner(activity.Site, activity);
AuthoringOM\Design\DocumentOutline.cs (4)
141
IRootDesigner rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(this.serviceProvider) as IRootDesigner;
205
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
480
this.ForeColor = (!activity.Enabled ||
ActivityDesigner
.IsCommentedActivity(activity)) ? WorkflowTheme.CurrentTheme.AmbientTheme.CommentIndicatorColor : SystemColors.WindowText;
AuthoringOM\Design\FreeFormDesigner.cs (51)
222
IList<
ActivityDesigner
> childdesigners = ContainedDesigners;
231
IList<
ActivityDesigner
> childdesigners = ContainedDesigners;
285
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
289
foreach (
ActivityDesigner
activityDesigner in containedDesigners)
478
public void SendToBack(
ActivityDesigner
containedDesigner)
494
public void BringToFront(
ActivityDesigner
containedDesigner)
510
public void MoveContainedDesigner(
ActivityDesigner
containedDesigner, Point newLocation)
529
public void ResizeContainedDesigner(
ActivityDesigner
containedDesigner, Size newSize)
549
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
580
private List<
ActivityDesigner
> movedActivities = null;
581
private List<
ActivityDesigner
> MovingActivities
586
this.movedActivities = new List<
ActivityDesigner
>();
608
ActivityDesigner
designerToMove =
ActivityDesigner
.GetDesigner(movingActivity);
629
ActivityDesigner
activityDesigner = (current is Activity) ?
ActivityDesigner
.GetDesigner(current as Activity) :
ActivityDesigner
.GetParentDesigner(current);
632
nextObject = ((
ActivityDesigner
)activityDesigners[(index > 0) ? index - 1 : activityDesigners.Count - 1]).Activity;
634
nextObject = ((
ActivityDesigner
)activityDesigners[(index < activityDesigners.Count - 1) ? index + 1 : 0]).Activity;
674
ActivityDesigner
activityDesigner = this;
682
ActivityDesigner
designerToRemove =
ActivityDesigner
.GetDesigner(activityToRemove);
747
protected internal virtual bool CanResizeContainedDesigner(
ActivityDesigner
containedDesigner)
844
foreach (
ActivityDesigner
containedDesigner in ContainedDesigners)
891
ActivityDesigner
designerToMove =
ActivityDesigner
.GetDesigner(e.Activities[i]);
917
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
984
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(selectedActivity);
1039
internal static void SetDesignerBounds(
ActivityDesigner
designer, Rectangle bounds)
1112
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
1154
internal bool CanUpdateZOrder(
ActivityDesigner
activityDesigner, ZOrder zorder)
1158
ActivityDesigner
childDesigner = activityDesigner;
1163
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = parentDesigner.ContainedDesigners;
1178
private void UpdateZOrder(
ActivityDesigner
activityDesigner, ZOrder zorder)
1189
ActivityDesigner
childDesigner = activityDesigner;
1194
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = parentDesigner.ContainedDesigners;
1263
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
1270
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
1311
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1319
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1340
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1348
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1370
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
1392
ActivityDesignerVerbCollection IDesignerVerbProvider.GetVerbs(
ActivityDesigner
activityDesigner)
AuthoringOM\Design\Glyphs\CommentGlyph.cs (2)
30
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
48
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (3)
45
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
65
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
108
protected override void OnActivate(
ActivityDesigner
designer)
AuthoringOM\Design\Glyphs\ConnectionPointGlyph.cs (1)
20
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\Glyphs\ConnectorDragDropGlyph.cs (2)
24
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
29
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\Glyphs\LockedActivityGlyph.cs (2)
34
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
52
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\Glyphs\ReadOnlyActivityGlyph.cs (2)
18
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
36
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (4)
15
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
25
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
40
public virtual Rectangle[] GetGrabHandles(
ActivityDesigner
designer)
50
ActivityDesigner
parentDesigner = designer.ParentDesigner;
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (2)
26
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
36
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (11)
480
internal static FreeformActivityDesigner GetConnectorContainer(
ActivityDesigner
associatedDesigner)
487
ActivityDesigner
connectedDesigner = associatedDesigner;
501
private static ConnectionPoint[] GetSnappableConnectionPoints(Point currentPoint, ConnectionPoint sourceConnectionPoint, ConnectionPoint activeConnectionPoint,
ActivityDesigner
activityDesigner, out ConnectionPoint snappedConnectionPoint)
512
List<
ActivityDesigner
> designersToCheck = new List<
ActivityDesigner
>();
518
foreach (
ActivityDesigner
designer in designersToCheck)
564
private static ConnectionPoint[] GetHighlightableConnectionPoints(Point currentPoint,
ActivityDesigner
activityDesigner)
567
List<
ActivityDesigner
> designersToCheck = new List<
ActivityDesigner
>();
575
foreach (
ActivityDesigner
designer in designersToCheck)
600
ActivityDesignerGlyphCollection IDesignerGlyphProvider.GetGlyphs(
ActivityDesigner
activityDesigner)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (9)
29
private
ActivityDesigner
dropTargetDesigner = null;
32
private
ActivityDesigner
draggedDesigner = null;
120
ActivityDesigner
potentialDraggedDesigner = hitTestInfo.AssociatedDesigner;
284
ActivityDesigner
potentialDropTargetDesigner = hitTestInfo.AssociatedDesigner;
349
ActivityDesigner
potentialDropTargetDesigner = hitTestInfo.AssociatedDesigner;
616
public
ActivityDesigner
DropTargetDesigner
624
public
ActivityDesigner
DraggedDesigner
743
CompositeActivityDesigner compositeActivityDesigner =
ActivityDesigner
.GetDesigner(entry.Key as Activity) as CompositeActivityDesigner;
762
private bool IsRecursiveDropOperation(
ActivityDesigner
dropTargetDesigner)
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (2)
215
ActivityDesigner
[] intersectingDesigners = CompositeActivityDesigner.GetIntersectingDesigners(parentView.RootDesigner, DragRectangle);
217
foreach (
ActivityDesigner
activityDesigner in intersectingDesigners)
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (6)
104
showMoveCursor |= (MessageHitTestContext != null && MessageHitTestContext.AssociatedDesigner != null &&
ActivityDesigner
.GetParentDesigner(MessageHitTestContext.AssociatedDesigner.Activity) is FreeformActivityDesigner && (MessageHitTestContext.HitLocation & HitTestLocations.ActionArea) == 0);
193
ActivityDesigner
previewDesigner =
ActivityDesigner
.GetDesigner(activity);
195
previewDesigner =
ActivityDesigner
.CreateDesigner(ParentView, activity);
252
ActivityDesigner
designerToMove =
ActivityDesigner
.GetDesigner(activityToMove);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (20)
96
public virtual Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
104
protected abstract void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer);
106
protected virtual void OnActivate(
ActivityDesigner
designer)
110
internal void DrawActivated(Graphics graphics,
ActivityDesigner
designer)
115
internal void Draw(Graphics graphics,
ActivityDesigner
designer)
120
internal void Activate(
ActivityDesigner
designer)
141
private
ActivityDesigner
activeDesigner = null;
249
internal void DrawDesignerGlyphs(ActivityDesignerPaintEventArgs e,
ActivityDesigner
designer)
258
internal ActivityDesignerGlyphCollection GetDesignerGlyphs(
ActivityDesigner
designer)
286
ActivityDesigner
newActiveDesigner = null;
329
private DesignerGlyph GlyphFromPoint(Point point, out
ActivityDesigner
activityDesigner)
338
ActivityDesigner
[] containedDesigners = GetActivityDesigners(parentView.ClientRectangleToLogical(new Rectangle(Point.Empty, parentView.ViewPortSize)));
339
foreach (
ActivityDesigner
designer in containedDesigners)
368
private
ActivityDesigner
[] GetActivityDesigners(Rectangle logicalViewPort)
371
List<
ActivityDesigner
> designerList = new List<
ActivityDesigner
>();
374
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(ParentView);
390
foreach (
ActivityDesigner
activityDesigner in designers)
404
designerList.Add((
ActivityDesigner
)topOfStack);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (11)
16
private
ActivityDesigner
designerToResize = null;
36
ActivityDesigner
designer = GetDesignerToResize(logicalPoint, out sizingEdge);
63
ActivityDesigner
designer = GetDesignerToResize(logicalPoint, out sizingEdge);
151
private
ActivityDesigner
GetDesignerToResize(Point point, out DesignerEdges sizingEdge)
153
ActivityDesigner
designerToResize = null;
165
ActivityDesigner
potentialResizableDesigner =
ActivityDesigner
.GetDesigner(activity);
189
private DesignerEdges GetSizingEdge(
ActivityDesigner
designer, Point point)
207
private bool CanResizeDesigner(
ActivityDesigner
designer)
224
private void SetResizableDesigner(
ActivityDesigner
designer, DesignerEdges sizingEdge)
268
private void UpdateDesignerSize(Point point,
ActivityDesigner
designerToSize, DesignerEdges sizingEdge)
AuthoringOM\Design\MessageFilters\WindowManager.cs (16)
18
private
ActivityDesigner
currentActiveDesigner = null;
151
IDesigner designer =
ActivityDesigner
.GetDesigner(selectedComponent) as IDesigner;
232
IDesigner designer =
ActivityDesigner
.GetDesigner(selectionService.PrimarySelection as Activity) as IDesigner;
243
CompositeActivityDesigner parentDesigner =
ActivityDesigner
.GetParentDesigner(selectionService.PrimarySelection);
267
CompositeActivityDesigner compositeActivityDesigner =
ActivityDesigner
.GetDesigner(entry.Key as Activity) as CompositeActivityDesigner;
300
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(selectionService.PrimarySelection as Activity) as
ActivityDesigner
;
312
ActivityDesigner
designerWithFocus = GetDesignerWithFocus();
322
ActivityDesigner
designerWithFocus = GetDesignerWithFocus();
331
ActivityDesigner
designerWithFocus = GetDesignerWithFocus();
378
ActivityDesigner
designerWithFocus = GetDesignerWithFocus();
394
private
ActivityDesigner
GetDesignerWithFocus()
396
ActivityDesigner
designerWithFocus = null;
403
designerWithFocus =
ActivityDesigner
.GetDesigner(primarySelection as Activity);
405
designerWithFocus =
ActivityDesigner
.GetParentDesigner(primarySelection);
AuthoringOM\Design\ParallelActivityDesigner.cs (21)
82
CompositeActivityDesigner firstDesigner = (firstComponent is Activity) ?
ActivityDesigner
.GetDesigner(firstComponent as Activity) as CompositeActivityDesigner : null;
136
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
137
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(obj as Activity);
140
nextObject = ((
ActivityDesigner
)containedDesigners[(index > 0) ? index - 1 : containedDesigners.Count - 1]).Activity;
142
nextObject = ((
ActivityDesigner
)containedDesigners[(index < containedDesigners.Count - 1) ? index + 1 : 0]).Activity;
225
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
249
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
261
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
283
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
288
ActivityDesigner
firstDesigner = containedDesigners[0];
294
ActivityDesigner
designer1 = containedDesigners[i];
297
ActivityDesigner
designer2 = containedDesigners[i + 1];
305
ActivityDesigner
lastDesigner = containedDesigners[containedDesigners.Count - 1];
340
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
342
ActivityDesigner
firstDesigner = containedDesigners[0];
345
ActivityDesigner
lastDesigner = containedDesigners[containedDesigners.Count - 1];
378
foreach (
ActivityDesigner
activityDesigner in containedDesigners)
410
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
430
ActivityDesigner
firstDesigner = containedDesigners[0];
446
ActivityDesigner
lastDesigner = containedDesigners[containedDesigners.Count - 1];
AuthoringOM\Design\SecondaryViewProvider.cs (6)
147
public override
ActivityDesigner
AssociatedDesigner
151
ActivityDesigner
mappedDesigner = UserData[UserDataKey_Designer] as
ActivityDesigner
;
161
mappedDesigner =
ActivityDesigner
.GetDesigner(activity);
203
ActivityDesigner
designer =
ActivityDesigner
.GetDesigner(activity);
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (2)
218
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(nextSelectableObj as Activity);
AuthoringOM\Design\SequentialActivityDesigner.cs (17)
186
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
202
ActivityDesigner
startDesigner = containedDesigners[0] as
ActivityDesigner
;
219
ActivityDesigner
designerFrom = containedDesigners[i];
220
ActivityDesigner
designerTo = containedDesigners[i + 1];
232
ActivityDesigner
endDesigner = containedDesigners[containedDesigners.Count - 1];
343
ReadOnlyCollection<
ActivityDesigner
> containedDesigners = ContainedDesigners;
350
nextObject = ((
ActivityDesigner
)containedDesigners[currentIndex]).Activity;
354
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(obj as Activity);
366
nextObject = ((
ActivityDesigner
)containedDesigners[currentIndex - 1]).Activity;
370
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(obj as Activity);
460
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
482
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
551
public override Rectangle GetBounds(
ActivityDesigner
designer, bool activated)
563
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
223
ActivityDesigner
activeDesigner = ActiveDesigner;
228
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (29)
52
public override ReadOnlyCollection<
ActivityDesigner
> ContainedDesigners
56
List<
ActivityDesigner
> containedDesigners = new List<
ActivityDesigner
>();
57
ActivityDesigner
activeDesigner = ActiveDesigner;
65
List<
ActivityDesigner
> designersToRemove = new List<
ActivityDesigner
>();
66
IList<
ActivityDesigner
> mappedDesigners = DesignersFromSupportedViews;
68
foreach (
ActivityDesigner
containedDesigner in containedDesigners)
75
foreach (
ActivityDesigner
activityDesigner in designersToRemove)
92
ActivityDesigner
activeDesigner = ActiveDesigner;
104
ActivityDesigner
activeDesigner = ActiveDesigner;
136
ActivityDesigner
designer = value.AssociatedDesigner;
164
ActivityDesigner
activeDesigner = ActiveDesigner;
245
internal
ActivityDesigner
ActiveDesigner
284
private IList<
ActivityDesigner
> DesignersFromSupportedViews
288
List<
ActivityDesigner
> mappedDesigners = new List<
ActivityDesigner
>();
291
ActivityDesigner
mappedDesigner = view.AssociatedDesigner;
314
ActivityDesigner
hostedDesigner = (ActiveView != null) ? ActiveView.AssociatedDesigner : null;
361
public override void EnsureVisibleContainedDesigner(
ActivityDesigner
containedDesigner)
369
ActivityDesigner
activeDesigner = ActiveDesigner;
407
ActivityDesigner
activeDesigner = ActiveDesigner;
463
ActivityDesigner
activeDesigner = ActiveDesigner;
540
ActivityDesigner
activeDesigner = ActiveDesigner;
550
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
561
ActivityDesigner
activeDesigner = ActiveDesigner;
669
foreach (
ActivityDesigner
activityDesigner in ContainedDesigners)
731
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
AuthoringOM\Design\Themes.cs (1)
679
public ActivityDesignerTheme GetDesignerTheme(
ActivityDesigner
designer)
AuthoringOM\Design\WinOEToolBoxItem.cs (1)
44
base.Description =
ActivityDesigner
.GetActivityDescription(type);
AuthoringOM\Design\WorkflowInlining.cs (5)
46
public override ReadOnlyCollection<
ActivityDesigner
> ContainedDesigners
50
List<
ActivityDesigner
> containedDesigners = new List<
ActivityDesigner
>();
52
containedDesigners.Add((
ActivityDesigner
)this.containedRootDesigner);
203
return
ActivityDesigner
.GetSafeRootDesigner(this.containedDesignSurface.GetService(typeof(IDesignerHost)) as IServiceProvider) as IWorkflowRootDesigner;
AuthoringOM\Design\WorkflowView.cs (9)
93
private
ActivityDesigner
rootDesigner = null;
192
RootDesigner =
ActivityDesigner
.GetSafeRootDesigner(this);
385
public
ActivityDesigner
RootDesigner
822
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(activity);
841
CompositeActivityDesigner compositeDesigner =
ActivityDesigner
.GetDesigner(activity) as CompositeActivityDesigner;
1529
ActivityDesigner
rootDesigner = RootDesigner;
1716
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(selectedComponents[i] as Activity);
AuthoringOM\Design\XomlDesignerLoader.cs (17)
229
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetRootDesigner(LoaderHost);
241
else if (InDebugMode || (
ActivityDesigner
.GetRootDesigner(LoaderHost) != null &&
ActivityDesigner
.GetRootDesigner(LoaderHost).ParentDesigner != null))
298
ActivityDesigner
rootDesigner = null;
301
rootDesigner = designerHost.GetDesigner(designerHost.RootComponent) as
ActivityDesigner
;
339
protected void SaveDesignerLayout(XmlWriter layoutWriter,
ActivityDesigner
rootDesigner, out IList layoutSaveErrors)
453
IWorkflowRootDesigner rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(LoaderHost);
468
IWorkflowRootDesigner rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(LoaderHost);
485
ActivityDesigner
rootDesigner =
ActivityDesigner
.GetSafeRootDesigner(LoaderHost);
741
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(args.CurrentActivity);
856
ActivityDesigner
activityDesigner = null;
860
activityDesigner =
ActivityDesigner
.GetDesigner(obj as Activity);
888
ActivityDesigner
activityDesigner =
ActivityDesigner
.GetDesigner(component as Activity);
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (2)
67
WorkflowMarkupSerializerMapping.wellKnownTypes.Add(typeof(
ActivityDesigner
).Name, typeof(
ActivityDesigner
));
Shared\CompModHelpers.cs (4)
309
ActivityDesigner
activityDesigner = designerHost.GetDesigner(component) as
ActivityDesigner
;
358
ActivityDesigner
activityDesigner = designerHost.GetDesigner(component) as
ActivityDesigner
;
System.WorkflowServices (36)
System\Workflow\ComponentModel\Design\ActivityDesignerHighlighter.cs (11)
23
private
ActivityDesigner
owner;
25
public ActivityDesignerHighlighter(
ActivityDesigner
owner)
47
public void Highlight(List<
ActivityDesigner
> highlightedDesigners)
61
highlightProvider = new HighlightGlyphProvider(designerHost.GetDesigner(designerHost.RootComponent) as
ActivityDesigner
, highlightedDesigners);
167
private List<
ActivityDesigner
> highlightedDesigners;
170
private
ActivityDesigner
rootDesigner;
172
public HighlightGlyphProvider(
ActivityDesigner
rootDesigner, List<
ActivityDesigner
> highlightedDesigners)
179
public List<
ActivityDesigner
> HighlightedDesigners
191
public
ActivityDesigner
RootDesigner
197
public ActivityDesignerGlyphCollection GetGlyphs(
ActivityDesigner
activityDesigner)
System\Workflow\ComponentModel\Design\DesignerPainter.cs (10)
24
public static CompositeActivityDesigner GetRootDesigner(
ActivityDesigner
designer)
38
public static void PaintDesigner(
ActivityDesigner
activityDesigner, ActivityDesignerPaintEventArgs eventArgs)
48
ActivityDesigner
parentDesigner = activityDesigner.ParentDesigner;
73
private static bool IsBranchVisible(
ActivityDesigner
activityDesigner)
75
ActivityDesigner
currentDesigner = activityDesigner;
76
ActivityDesigner
parentDesigner = activityDesigner.ParentDesigner;
95
private static bool IsInsidePreviewDesignerBranch(
ActivityDesigner
activityDesigner, out bool visible)
98
ActivityDesigner
currentDesigner = activityDesigner;
99
ActivityDesigner
parentDesigner = activityDesigner.ParentDesigner;
123
private static void PaintDesignerInternal(
ActivityDesigner
activityDesigner, ActivityDesignerPaintEventArgs eventArgs)
System\Workflow\ComponentModel\Design\FindSimilarActivitiesVerb.cs (10)
22
List<
ActivityDesigner
> matchingActivityDesigner;
24
ActivityDesigner
owner;
26
public FindSimilarActivitiesVerb(
ActivityDesigner
designer, ActivityComparer<TActivity> matchMaker, string displayText)
40
ActivityDesigner
activityDesigner = designerVerb.owner;
41
List<
ActivityDesigner
> highlightedDesigners = designerVerb.GetMatchingActivityDesigners(activityDesigner);
46
private
ActivityDesigner
GetDesigner(Activity activity)
50
return designerHost.GetDesigner(activity as IComponent) as
ActivityDesigner
;
53
private List<
ActivityDesigner
> GetMatchingActivityDesigners(
ActivityDesigner
activityDesigner)
56
matchingActivityDesigner = new List<
ActivityDesigner
>();
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (5)
23
private List<
ActivityDesigner
> highlightedDesigners;
24
public HighlightOverlayGlyph(Rectangle bounds, List<
ActivityDesigner
> highlightedDesigners)
36
public List<
ActivityDesigner
> HighlightedDesigners
42
protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme,
ActivityDesigner
designer)
57
foreach (
ActivityDesigner
highlightedDesigner in HighlightedDesigners)