コード例 #1
0
ファイル: SelectionSet`2.cs プロジェクト: radtek/Shopdrawing
 public SelectionSet(SceneViewModel model, ISelectionSetNamingHelper namingHelper, SelectionSet <T, ListOfT> .IStorageProvider storageProvider)
 {
     this.viewModel = model;
     this.editTransactionFactory = this.viewModel != null ? (ISceneEditTransactionFactory)this.viewModel.Document : (ISceneEditTransactionFactory)null;
     this.namingHelper           = namingHelper;
     this.storageProvider        = storageProvider;
     this.selection = storageProvider.NewList();
     this.indexOfPrimarySelection = -1;
     this.changeStamp             = 0U;
 }
コード例 #2
0
 public SubpartSelectionSet(SceneViewModel viewModel, ISelectionSetNamingHelper namingHelper, SceneElementSelectionSet sceneElementSelectionSet, SelectionSet <T, ListOfT> .IStorageProvider storageProvider)
     : base(viewModel, namingHelper, storageProvider)
 {
     this.sceneElementSelectionSet           = sceneElementSelectionSet;
     this.sceneElementSelectionSet.Changing += new EventHandler <SelectionSetChangingEventArgs <SceneElement> >(this.SceneElementSelectionSet_Changing);
 }
コード例 #3
0
 public SceneElementSubpartSelectionSet(SceneElementSelectionSet elementSelectionSet, SceneViewModel viewModel, ISelectionSetNamingHelper namingHelper)
     : base(viewModel, namingHelper, elementSelectionSet, (SelectionSet <T, MarkerBasedSceneNodeCollection <T> > .IStorageProvider) new SceneNodeSelectionSetStorageProvider <T>(viewModel))
 {
 }