Пример #1
0
        protected override void Initialize()
        {
            base.Initialize();

            this.EditorTitle = "VSPluginDSL";

            // diagram surface vm
            this.DiagramSurfaceModel = new VSPluginDSLDesignerDiagramSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext);
            AddAdditionalViewModel(DiagramSurfaceModel);



            VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel diagramSpecificElementsDiagramTemplate = new VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext);

            AddAdditionalViewModel(diagramSpecificElementsDiagramTemplate);
        }
Пример #2
0
        protected override void Initialize()
        {
			base.Initialize();
			
            this.EditorTitle = "VSPluginDSL";			
			
			// diagram surface vm
			this.DiagramSurfaceModel = new VSPluginDSLDesignerDiagramSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext);
			AddAdditionalViewModel(DiagramSurfaceModel);
			
		
			
			VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel diagramSpecificElementsDiagramTemplate = new VSPluginDSLSpecificElementsDiagramTemplateSurfaceViewModel(ViewModelStore as VSPluginDSLViewModelStore, this.ModelContext);
			AddAdditionalViewModel(diagramSpecificElementsDiagramTemplate);
			
		}