2 writes to selectionService
System.Workflow.ComponentModel (2)
AuthoringOM\Design\CommandSet.cs (2)
59
this.
selectionService
= (ISelectionService)this.serviceProvider.GetService(typeof(ISelectionService));
174
this.
selectionService
= null;
23 references to selectionService
System.Workflow.ComponentModel (23)
AuthoringOM\Design\CommandSet.cs (23)
60
if (this.
selectionService
== null)
359
ArrayList selectedComponents = new ArrayList(this.
selectionService
.GetSelectedComponents());
369
if (designerHost != null && this.
selectionService
.GetComponentSelected(designerHost.RootComponent))
394
if (designerHost != null && designerHost.RootComponent != null && this.
selectionService
.GetComponentSelected(designerHost.RootComponent))
399
ICollection components = this.
selectionService
.GetSelectedComponents();
425
object selectedObject = this.
selectionService
.PrimarySelection;
480
cmd.Enabled = (designerHost != null && this.
selectionService
.GetSelectedComponents().Count > 0 &&
481
!this.
selectionService
.GetComponentSelected(designerHost.RootComponent));
495
foreach (object obj in this.
selectionService
.GetSelectedComponents())
510
menuCommand.Visible = menuCommand.Enabled = (expandCollapseItems == this.
selectionService
.SelectionCount);
519
ArrayList selectedObjects = new ArrayList(this.
selectionService
.GetSelectedComponents());
581
object selectedObject = this.
selectionService
.PrimarySelection;
610
foreach (object obj in this.
selectionService
.GetSelectedComponents())
636
IComponent selectedComponent = this.
selectionService
.PrimarySelection as IComponent;
646
foreach (object obj in this.
selectionService
.GetSelectedComponents())
828
if (designerHost != null && this.
selectionService
.GetComponentSelected(designerHost.RootComponent))
833
ICollection components = this.
selectionService
.GetSelectedComponents();
872
if (!Helpers.AreAllActivities(this.
selectionService
.GetSelectedComponents()))
876
Activity[] topLevelActivities = Helpers.GetTopLevelActivities(this.
selectionService
.GetSelectedComponents());
883
object selectedObject = this.
selectionService
.PrimarySelection;
949
this.
selectionService
.SetSelectedComponents(topLevelActivities.ToArray(), SelectionTypes.Replace);
950
this.workflowView.EnsureVisible(this.
selectionService
.PrimarySelection);
961
this.
selectionService
.SetSelectedComponents(activities.ToArray(), SelectionTypes.Replace);