예제 #1
0
        private void OnRelatedNodeSelectorRequested(RelatedNodeMiniButtonViewModel ownerButton, IReadOnlyList <IModelNode> modelNodes)
        {
            DiagramViewportViewModel.PinFocus();
            var viewModelItems = modelNodes.OrderBy(i => i, _modelNodeComparer).Select(_relatedNodeItemViewModelFactory.Create);

            RelatedNodeListBoxViewModel.Show(ownerButton, viewModelItems);
        }
 private void OnRelatedNodeSelectorRequested(RelatedNodeMiniButtonViewModel ownerButton, IReadOnlyList <IModelNode> modelNodes)
 {
     DiagramViewportViewModel.PinDecoration();
     RelatedNodeListBoxViewModel.Show(ownerButton, modelNodes);
 }